[ale] Resizing GPT Partitions Online

Brian Pitts brian at polibyte.com
Mon Nov 1 20:05:47 EDT 2010


Does anyone know a way to resize a GPT partition without unmounting the
filesystem on it?

With MBR partitions, I've always used fdisk to delete the partition and
then created a new, larger one with the same starting sector. Then I
would use resize2fs to grow the filesystem online. fdisk doesn't
understand GPT-labeled disks, so I'm trying GNU parted. However, its
'resize' and 'delete' commands fail with a message that I can't use them
on an active device.

-- 
All the best,
Brian Pitts


More information about the Ale mailing list