xfs
[Top] [All Lists]

Re: xfs_growfs

To: Ric Tibbetts <ric@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: xfs_growfs
From: Jim Crilly <noth@xxxxxxxxxxxxxxxx>
Date: Fri, 01 Jun 2001 13:40:35 -0400 (EDT)
Cc: Daniel Moore <dxm@xxxxxxxxxxxxxxxxxxxxxxxx>, ctooley@xxxxxxxx, linux-xfs@xxxxxxxxxxx
In-reply-to: <3B17C812.6010507@xxxxxxxxxxxxxxxxxxxx>
References: <200106010308.NAA88906@xxxxxxxxxxxxxxxxxxxxxxxx> <3B17C812.6010507@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: IMP/PHP IMAP webmail program 2.2.3
Quoting Ric Tibbetts <ric@xxxxxxxxxxxxxxxxxxxx>:

> Daniel Moore wrote:
> 
> > ctooley@xxxxxxxx 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

<Prev in Thread] Current Thread [Next in Thread>