[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xfs_growfs



Quoting Ric Tibbetts <ric@pipcws.ca.boeing.com>:

> Daniel Moore wrote:
> 
> > ctooley@amoa.org writes:
> >  => 
> >  => 
> >  => I'm looking for a good howto on the situations in which growfs
> works.  I ha
> >  => ve a
> >  => partition that is too small, there is free space after it, and I
> want XFS t
> >  => o
> >  => consume the rest of that space.  Any help would be appreciated.
> > 
> > This is exactly what xfs_growfs does. Read the man page for extra
> details
> > and don't forget to backup first.
> 
> 
> True, but only IF you're running LVM. You need to "grow" the partition, 
> and that is not possible. You need LVM to manage this kind of thing
> AFAIK.
> 
> Ric
> 

If there is unpartitioned space after the XFS partition you should be able to 
delete the XFS partition and recreate it bigger since fdisk only changes the 
partiton table entry. The important part is making sure the partition starts on 
exactly the same cylinder and the new partition is larger, since there is no 
way to shrink an XFS partition.

Jim