Resizing xfs Drives

From KoshWiki

Revision as of 00:38, 19 May 2009 by Koshatul (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Before Picture

## Forgot to do a DF before, there was about 2G remaining.

Resizing the Partition

Main articles: Resizing Linux Partitions, and [[]], and [[]], and [[]], and [[]]

Running xfs_growfs

Just run it and point it at the mount point.

# xfs_growfs /mnt/sda3
meta-data=/dev/sda3              isize=256    agcount=32, agsize=7613178 blks
         =                       sectsz=512   attr=0
data     =                       bsize=4096   blocks=243621696, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096
log      =internal               bsize=4096   blocks=32768, version=1
         =                       sectsz=512   sunit=0 blks, lazy-count=0
realtime =none                   extsz=4096   blocks=0, rtextents=0
data blocks changed from 243621696 to 365689603

Completed

# df -h | grep sda3
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             1.4T  925G  471G  67% /mnt/sda3

Other Articles

Check out Resizing ext3 Drives for ext3 filesystems.

References