[mythtv-users] [ot] Resizing XFS partitions

Ben Lancaster mail at benlancaster.co.uk
Wed Jan 14 15:41:39 UTC 2009

On 14 Jan 2009, at 15:05, jarpublic at gmail.com wrote:

> On Wed, Jan 14, 2009 at 9:55 AM, Ben Lancaster <mail at benlancaster.co.uk 
> > wrote:
> Hey,
>> So I have an XFS partition on a RAID0 array on my slave mythbackend.
>> Until recently, the RAID device had another partition on it, which
>> I've since removed. The now-removed partition was at the beginning of
>> the device, and the XFS partition was at the end of the device. I'd
>> like to grow the XFS partition to fill the whole device, but I'm
>> struggling to work out how? Parted doesn't support resizing XFS
>> volumes, so I tried "xfs_growfs /dev/mapper/nvidia_bhcebfacp2" (the
>> xfs partitioned device), it dumps some stuff out but doesn't seem to
>> do anything:
> gparted will do it. It doesn't support shrinking xfs partitions. I  
> don't think anything does. But it will grow an xfs partition.

This is true, however gparted will only see the physical disks (sdb  
and sdc), not the raid device. I saw a thread about only the Live CD  
supporting hardware raid. LiveCD isn't an option for me - the machines  
in the loft, is headless, and has no optical drive!

More information about the mythtv-users mailing list