Opened 14 months ago

Closed 3 months ago

#14599 closed bug (fixed)

ext4 not recognized on removable media

Reported by: msiism Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: File Systems/ext2 Version: R1/beta1
Keywords: ext4 usb Cc:
Blocked By: Blocking:
Has a Patch: no 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 14 months ago.
Output of dumpe2fs for the ext4-formatted partiton
syslog-old (162.8 KB ) - added by msiism 14 months ago.
Syslog

Download all attachments as: .zip

Change History (7)

comment:1 by diver, 14 months ago

Component: File SystemsFile Systems/ext2

comment:2 by pulkomandy, 14 months 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, 14 months 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, 14 months ago

Attachment: dumpe2fs-ext4-old added

Output of dumpe2fs for the ext4-formatted partiton

by msiism, 14 months ago

Attachment: syslog-old added

Syslog

comment:4 by msiism, 14 months 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, 3 months ago

Resolution: fixed
Status: newclosed

64-bit ext4 support added in hrev53401.

Note: See TracTickets for help on using tickets.