XFS resizing & Win2k
Net Llama!
netllama
Mon May 17 11:47:55 PDT 2004
On Thu, 29 May 2003, Andrew Mathews wrote:
> Net Llama! wrote:
> | I've painted myself into a corner where i need/want to turn a Linux only
> | box into a dual boot box with Win2k. Right now, the box (which is a
> | laptop) has just RH9 (XFS) installed, and occupying the entire disk as
> | follows:
> | hda1 /boot
> | hda2 SWAP
> | hda3 /
> |
> | What I need to do is resize hda3 so that its about 5 GB smaller, so that i
> | can create a hda4 to install Win2k on. The problem here is that
> | xfs_growfs doesn't appear to support shrinking partitions, just growing
> | them. Is shrinking an XFS partition even possible? If so, how?
> |
>
> Nope. It's a one way street, as is LVM. AFAIK, no filesystem supports
> shrinking, at least I haven't found a way with AIX, Solaris, IRIX, or
> any others. The easiest way is to xfsdump the mountpoint, drop it and
> recreate it with the size required, and xfsrestore the data. You can do
> this with the installer iso by entering rescue mode, mounting /dev/hda3
> as a temporary mountpoint and chrooting to the mountpoint. A tape drive
> would be handy for this as you won't be able to mount anything via nfs
> since networking won't be available. You'll also need to do this after
Couldn't i use Knoppix for this so that i'd have networking?
> installing Windows to be able to rerun lilo, otherwise Win will be the
> only thing that's bootable. Also see:
> http://oss.sgi.com/projects/xfs/faq.html#resizexfspartition
ugh. oh well, i guess i'll give it a whirl. thanks.
Anyone know if Win2k has any ridiculous need to be on hda1, or will it be
ok sitting on hda4?
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo http://netllama.ipfox.com
More information about the Linux-users
mailing list