Re: Convert Filesystem to Ext4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 19/04/2011 23:51, Kenni Lund wrote:
> 
> Den 19/04/2011 19.42 skrev "Matt" <lm7812@xxxxxxxxx
> <mailto:lm7812@xxxxxxxxx>>:
>>
>> 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

Cheers,

John.

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

<<attachment: smime.p7s>>

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux