Tux

...making Linux just a little more fun!

2-Cent Tip: resizing partition together with its filesystem using parted

Mulyadi Santosa [mulyadi.santosa at gmail.com]


Wed, 17 Nov 2010 22:45:19 +0700

Possibly, there are many tools out there that might do the same thing. However, I find parted relatively easy to use when dealing with partition resizing. The command is "resize".

AFAIK, it only resize VFAT, ext2 and ext3. Other filesystem might need external tools, but I haven't checked it thoroughly.

-- regards,

Mulyadi Santosa Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com


Top    Back


René Pfeiffer [lynx at luchs.at]


Wed, 17 Nov 2010 18:37:36 +0100

On Nov 17, 2010 at 2245 +0700, Mulyadi Santosa appeared and said:

> Possibly, there are many tools out there that might do the same thing.
> However, I find parted relatively easy to use when dealing with
> partition resizing. The command is "resize".
> 
> AFAIK, it only resize VFAT, ext2 and ext3. Other filesystem might need
> external tools, but I haven't checked it thoroughly.

Resizing Ext4 works similar to Ext3: https://ext4.wiki.kernel.org/index.php/F[...]_to_online_resize_the_Ext4_filesystem.3F

XFS can only be grown by using the tool xfs_growfs.

JFS can resize by using the resize mount option (mount -o remount,resize /home). The resizing can be done while the filesystem is in use. As with XFS, JFS can only grow filesystems

A good summary can be found here: http://www.linux.com/archive/feed/32002

Best, René.


Top    Back