[CentOS] Convert Filesystem to Ext4

Ryan Wagoner rswagoner at gmail.com
Thu Apr 21 00:13:28 UTC 2011


On Wed, Apr 20, 2011 at 3:08 PM, John Beranek <john at redux.org.uk> wrote:
> That's not quite true, you can force files on a partition to be
> re-created using extents with something like the below:
>
> find /home -xdev -type f -print0 | xargs -0 chattr +e
> find /home -xdev -type d -print0 | xargs -0 chattr +e
>
> Cheers,
>
> John.
>

chattr and lsattr shipped with CentOS 5.6 do not seem ext4 aware.
Those utilities come from e2fsprogs and e4fsprogs doesn't include
alternate versions. +e is an invalid parameter for chattr and lsattr
doesn't show the extent attribute for any files.

Ryan



More information about the CentOS mailing list