RHEL5 and ext4
Using RHEL5.5 in order to upgrade an ext3 volume to ext4:
- yum install e4fsprogs
- umount <mountpoint>
- tune4fs -O extents,uninit_bg,dir_index <device>
- e4fsck <device>
- mount -t ext4 <device> <mountpoint>
Using RHEL5.5 in order to upgrade an ext3 volume to ext4:
You realise this will only add extents to the free blocks on the file system you’re converting from? It’s not possible to convert the whole file system from ext[2|3] to ext4 so as a compromise extents are added to free space and to space freed when deleting/moving existing files. It would depend on how full the file system was at the time of conversion as to how much benefit this conversion might bring.
Was just going to say what Graham said – The advantage of EXT4 (extents) is not acquired when converting from ext3
There are many advantages of ext4. The one I needed was to have more than 32000 subdirectories in a directory….