Resizing Filesystems (Shallow Thoughts)

Akkana's Musings on Open Source, Science, and Nature.

Wed, 08 Dec 2004

Resizing Filesystems

I ran out of space on the backup drive today (must replace that 40G with a newer, bigger disk!) and decided I wanted to consolidate the last two partitions into one. The filesystem (ext2) was on sda3, and sda4 was blank.

Supposedly parted and qtparted can resize a filesystem, but when I select the relevant partition in qtparted (delete sda4, then select sda3) and tell it to resize, it gives an error message:

No Implementation: This ext2 filesystem has a rather strange layout!  Parted can't resize this (yet).

I ended up using cfdisk to resize the partition, then resize2fs to grow the filesystem. Since there doesn't seem to be a howto on resizing filesystems, here are the steps:

Tags: ,
[ 16:58 Dec 08, 2004    More linux | permalink to this entry ]