Translation(s): English - Italiano

FileSystem > Ext4

Ext4 is an improved filesystem for Linux, introduced in kernel 2.6.28. Previous kernels had development implementation (i.e. experimental). For more information about Ext4, follow the links in the See Also section.


Things you need to know

file system check fsck.ext4

As of systemd the old 'touch /forcefsck ' no longer works instead you have to edit /etc/default/grub and add a "fsck.mode=force" to your kernel command line (you may have other bits - just add it between the quote marks)


Then do an update-grub and reboot.

Afterward remove the fsck bit and update-grub again.

( This really needs to be made easier -- worth a bug report).


$ e4defrag /dev/sd?


Ext4 in stretch, jessie, Squeeze, testing and Unstable

Ext4 in Lenny


How to mount an Ext4 filesystem under Lenny

Lenny doesn't really/officially support Ext4 (because it's experimental in its kernel version). Still, you can try to mount an Ext4 filesystem in read-only mode... and see what you see !

tune2fs -E test_fs /dev/XXX
mount -t ext4dev -o ro /dev/XXX /mnt/ZZZ
How to convert Ext3 to Ext4


See also