Using xfs_growfs on a single disc
From: Rhubear (rupert_at_heesom.org.uk)
Date: 10/06/04
- Next message: Tony 'Nicoya' Mantler: "Re: Using xfs_growfs on a single disc"
- Previous message: Dr. Morbius: "Re: Newbie (Mac Addict) interesed in SGI.?.?"
- Next in thread: Tony 'Nicoya' Mantler: "Re: Using xfs_growfs on a single disc"
- Reply: Tony 'Nicoya' Mantler: "Re: Using xfs_growfs on a single disc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 5 Oct 2004 15:00:41 -0700
I have migrated an existing partition to a larger disk and now want to
enlarge the existing partition to take up all the disk space.
The FDISK output of my disk looks like:
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 6 48163+ 83 Linux
/dev/hda2 7 1116 8916075 5 Extended
/dev/hda5 7 1038 8289508+ 83 Linux
/dev/hda6 1039 1116 626503+ 82 Linux swap
Entries from my /etc/fstab are:
/dev/hda5 / xfs defaults 1 1
/dev/hda1 /boot ext2 defaults 1 2
/dev/hda6 swap swap defaults 0 0
I understand from the docs I've read that before I can use xfs_growfs
that I need to enlarge the partition. In the past I've enlarged
partitions with FAT32, NTFS, ext2 using Partition Magic.
How do I enlarge a parition for XFS? Do I need to use LVM even if I
am not dealing with a parition spanning multiple disks?
Also, I've been reading that the Root partition (my /dev/hda5) should
not be XFS and cannot be enlarged. This suggests that I need to
redesign my partitioning system.
I want to use Software RAID using md to mirror 2 discs with whatever
partition structure is needed, also would like the flexability of
adding disc space later using more pairs of mirrored disks. Thus I
would probably need to use LVM for the disc management. Do I need to
use LVM straight away for the immediate task?
- Next message: Tony 'Nicoya' Mantler: "Re: Using xfs_growfs on a single disc"
- Previous message: Dr. Morbius: "Re: Newbie (Mac Addict) interesed in SGI.?.?"
- Next in thread: Tony 'Nicoya' Mantler: "Re: Using xfs_growfs on a single disc"
- Reply: Tony 'Nicoya' Mantler: "Re: Using xfs_growfs on a single disc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|