Change XFS partition size
From: beeslack (fogli_beppe_at_libero.it)
Date: 11/26/03
- Previous message: Sybren Stüvel: "Re: Can You Recommend Webmail for Linux User?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Nov 2003 01:44:23 -0800
How can I change the size of a partition with XFS file system?
I'm using Slackware 9.1 + 2.4.22-xfs kernel (+ xfs modules).
My HD structure is
hda1 NTFS ~18GB
hda2 FAT32 ~0.7GB
hda3 extended
hda5 XFS ~0.7GB mounted as /home
hda6 XFS ~4.5GB mounted as / (1146631 blocks)
Free space ~4.5GB
hda7 Swap space ~0.4GB
I want to change hda6 partition ( / ) size from 4.5GB to 5GB using
free space that follow.
I tried xfs_growfs:
1. To add 500MB ==> 128000 blocks (hda6 block size = 4096)
$> xfs_growfs -D 128000 /
It complain about new size too small.
2. So I thought
original_size_in_blocks + space_to_add_in_blocks = 1146631 + 128000 =
1274631
$> xfs_growfs -D 1274631 /
It complain about new size too big!!!
How xfs_growfs work?
Is there another way to do this task?
Thanks to all.
- Previous message: Sybren Stüvel: "Re: Can You Recommend Webmail for Linux User?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]