[KLUG Members] re: how do I do this?
Mike Williams
members@kalamazoolinux.org
Thu, 04 Sep 2003 16:54:57 -0400
>
>
>Subject: Re: [KLUG Members] how do I do this?
>From: Peter Buxton <somercet@core.com>
>Reply-To: members@kalamazoolinux.org
>
>On Wed, Sep 03, 2003 at 04:33:17PM -0400, Mike Williams was only escaped
> alone to tell thee:
>
>
>
>>> I have a Redhat 8.0 machine, from which I want to remove a small hard
>>> drive. Here's the partitioning setup as it is now:
>>>
>>> hda: 2.5 gig
>>> 200 meg /boot
>>> 256 meg swap
>>> 2 gig scratch (easily moved to hdc)
>>>
>>> hdb: 60 gig
>>> 60 gig md RAID 1
>>>
>>> hdc: 80 gig
>>> 60 gig md RAID 1
>>> 512 meg /tmp
>>> 256 meg swap
>>>
>>> md0: 60 gig LVM
>>> /usr, /var, /home, /. space available at the end
>>>
>>> Now, I would like to remove hda, but I'll need to put /boot on hdb and
>>> there's no space left. I can't put /boot on the 80 gig because this
>>> machine's BIOS hangs if it tries to detect a drive that large. So, I
>>> need to shrink the physical partion (the 60 gig LVM mirror) by about 100
>>> megs from the front so I can put /boot on hdb. How the heck do I do
>>> something like this?
>>
>>
>
>mkdir /mnt/scratch
>umount /boot
>mount /mnt/scratch hda$NUMBER_OF_BOOT_PART
>tar cp /mnt/scratch | ( cd /boot ; tar x )
>
>As for GRUB on a md/RAID1 setup:
>
>http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=55484
>
>You may have to switch to LILO but it will work.
>
>
I didn't completely follow that. can you explain what the tar cp
statement is doing? Also, I think I need to be more specific when I
said there was space left at the end of the LVM drive (hdb). The drive
is one big LVM partition, covering the entire drive. The space
remaining that I mentioned is space inside the LVM physical volume that
is not allocated to any logical volumes. Can LILO handle this, when
/boot is LVM'd and RAIDed?