Opened 6 years ago

Closed 5 years ago

Last modified 4 years ago

#14599 closed bug (fixed)

ext4 not recognized on removable media

Reported by: msiism Owned by: nobody
Priority: normal Milestone: R1/beta2
Component: File Systems/ext2 Version: R1/beta1
Keywords: ext4 usb Cc:
Blocked By: Blocking:
Platform: x86-64

Description

I'm running R1/beta1 (hrev52295+96) x86_64 on my laptop.

When I plug in an ext4-formatted USB key, the filesystem will not be recognized. The same goes for ext4 partitions on devices containing multiple filesystems. ext2/3, on the other hand, can be accessed rw. I've tested this with two diffrent USB keys.

This really seems to be about the file system, since DriveSetup does recognize the device or partition, but lists the filesystem as "Linux native".

I have talked to someone who is also running Haiku and has an ext4 partition on his internal drive. That reportedly works fine.

Attachments (2)

dumpe2fs-ext4-old (5.0 KB ) - added by msiism 6 years ago.
Output of dumpe2fs for the ext4-formatted partiton
syslog-old (162.8 KB ) - added by msiism 6 years ago.
Syslog

Download all attachments as: .zip

Change History (8)

comment:1 by diver, 6 years ago

Component: File SystemsFile Systems/ext2

comment:2 by pulkomandy, 6 years ago

The default on Linux formatting tools is now 64 bit ext4. It changes several of the disk structures but somehow not the filesystem name. It's possibne to use e2fstools to convert your ext4 fs back to 32 bits and then it should work. Please attach a syslog with the filesystem scanning output, toconfirm this is indeed the problem.

comment:3 by korli, 6 years ago

You could provide the information returned by dumpe2fs. This would clearly state which features are enabled for the ext4 partition. A syslog would be nice also.

by msiism, 6 years ago

Attachment: dumpe2fs-ext4-old added

Output of dumpe2fs for the ext4-formatted partiton

by msiism, 6 years ago

Attachment: syslog-old added

Syslog

comment:4 by msiism, 6 years ago

The attached output of dumpe2fs indicates 64-bit formatting. The attached syslog should shed some light on what happened when the USB key containing that filesystem (as well as an ext3-formatted partition) was plugged into my Haiku machine.

I've now re-formatted the partition by running

mkfs.ext4 -O ^64bit -L Baum4 /dev/sdb2

on my Linux system. The ext4 partition can still only be mounted read-only. DriveSetup recognizes both filesystems as "Ext2 File System".

comment:5 by waddlesplash, 5 years ago

Resolution: fixed
Status: newclosed

64-bit ext4 support added in hrev53401.

comment:6 by nielx, 4 years ago

Milestone: UnscheduledR1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.