xfs
[Top] [All Lists]

Re: Using xfs_growfs

To: Seung-yeong Oh <so1713@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Using xfs_growfs
From: Nathan Straz <nstraz@xxxxxxx>
Date: Fri, 2 May 2003 08:57:00 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <1051882460.2029.6.camel@deepstrike.nameip.net>
Mail-followup-to: Seung-yeong Oh <so1713@xxxxxxxxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
References: <1051882460.2029.6.camel@deepstrike.nameip.net>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.3i
On Fri, May 02, 2003 at 10:34:20PM +0900, Seung-yeong Oh wrote:
> I came up with some free disk space available right after my XFS
> partition. The free disk space is not formatted nor partitioned.
> And I don't use LVM. What would be the simplist way to use xfs_growfs
> command for this? I've read the man page but I'm sort of technically
> challenged..

- Run fdisk on the drive
- write down the starting address of the partition you want to expand
- delete the partition you want to expand
- recreate the partition with the same starting address, but make it
  larger.
- write the partition table and exit fdisk
- check /proc/partitions to see if the partition size reflects your
  change.  If the partition is on the same disk as the root partition
  you may have to reboot.
- now you can run xfs_growfs and it should recognize the larger
  partition.

-- 
Nate Straz                                              nstraz@xxxxxxx
sgi, inc                                           http://www.sgi.com/
Linux Test Project                                  http://ltp.sf.net/


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