Resizing Ext3 Partition

  • Before changing a file system it should be unmounted, so you'll need to create working standalone boot disks. The CentOS LiveCD would be a good choice. An ext3 filesystem can supposedly be expanded with resize2fs while mounted, but standalone would be safer.
  • A few ways you can do it:
    1. resize2fs
    2. parted
    3. Partition Magic 7.x
  • In all cases, first convert ext3 --> ext2: [Note: resize2fs works with ext3.]
tune2fs -O ^has_journal /dev/hdax
e2fsck -v -f /dev/hdax
         Resize the partitions with tool of choice.
convert back to ext3
tune2fs -j /dev/hdax
e2fsck -v -f /dev/hdax

0 comments:

Post a Comment