[CentOS] Convert Filesystem to Ext4

Wed Apr 20 19:08:49 UTC 2011
John Beranek <john at redux.org.uk>

On 19/04/2011 23:51, Kenni Lund wrote:
> Den 19/04/2011 19.42 skrev "Matt" <lm7812 at gmail.com
> <mailto:lm7812 at gmail.com>>:
>> On a running 64 bit CentOS 5.6 box is it possible to convert from Ext3
>> to Ext4 to improve performance?
> This is entirely from memory, so it might be incorrect and not relevant
> anymore: When ext4 got released, it was possible to upgrade ext3 to
> ext4, but while you would gain some ext4 features and minor performance
> improvements, the only way to get native ext4 performance, was to delete
> and recreate the partition.

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



John Beranek                         To generalise is to be an idiot.
http://redux.org.uk/                                 -- William Blake

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6010 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20110420/2a517128/attachment-0003.p7s>