#13093 closed bug (fixed)
System does not recognize partitions formatted with mkfs.ext4 command.
Reported by: | khallebal | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta4 |
Component: | File Systems/ext2 | Version: | R1/Development |
Keywords: | ext4 mkfs.ext4 | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
It's easy to verify, create a partition and format it using the mkfs.ext4 command, the partition is then unmountable and DriveSetup reports it just as "native linux", now format it with the mkfs -t ext4 again and it works as expected.
Attachments (1)
Change History (13)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Now it shows up as an ext2 parttion in DriveSetup but can't be mounted, i get a "Bad data" error msg either from terminal or tracker, no other messages.
by , 5 years ago
Attachment: | previous_syslog added |
---|
comment:4 by , 5 years ago
ext2:[0m Inode::UpdateNodeFromDisk(1060): verification failed ext2:[0m get_vnode: InitCheck() failed. Error: Bad data ext2:[0m could not create root node: get_vnode() failed! ext2:[0m Failed mounting the volume. Error: Bad data
comment:5 by , 5 years ago
Sorry for the late response,i don't have much time for haiku these last few months
comment:8 by , 3 years ago
As of hrev55621 it does mount now, thanks for the fix guys, although unlike the ext3 partitions i have this one has no read/write support, it mounts in read-only mode even if you choose read/write and it shows up as an ext2 filesystem in DriveSetup.
follow-up: 12 comment:9 by , 3 years ago
Oh well, now it mounts in read/write again after cleaning some of the cache in /config/cache dir and removing the RosterSettings file in /config/settings/system/registrar, so i guess this ticket can be closed now.
comment:10 by , 3 years ago
Milestone: | Unscheduled → R1/beta4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
It probably auto-mounts read-only because that is what you previously selected, as with any drive. Unmounting and then re-mounting read/write is the more better solution, instead of deleting configuration files.
comment:11 by , 3 years ago
It probably auto-mounts read-only because that is what you previously selected,
I'm not sure what you mean by "auto-mounts", it never "auto-mounted", i mounted it manually every time choosing read/write mode, anyways, this has nothing to do with the ext4 fs though, i've seen this behavior with other apps/operations where new settings do not take effect until i remove one or both of those mentioned above, i'm not sure how file a ticket about this issue.
comment:12 by , 3 years ago
Replying to khallebal:
Oh well, now it mounts in read/write again after cleaning some of the cache in /config/cache dir and removing the RosterSettings file in /config/settings/system/registrar, so i guess this ticket can be closed now.
For the record: the only built-in applications that use cache dir are HaikuDepot, Mail, Package Kit, Repositories and notification_server. Cleaning that dir is very unlikely can cause anything related to mounting. RosterSettings in ~/config/settings/system/registrar
also can't be related to that.
Mount settings are stored in ~/config/settings/mount_server
and can be read with message
command.
Please retest after hrev53401.