Re: to lvm or not to lvm?
On 11/05/07, Douglas Allan Tutty <firstname.lastname@example.org> wrote:
On Fri, May 11, 2007 at 09:54:41AM +0300, Yuriy Padlyak wrote:
> Douglas Allan Tutty wrote:
> >On Sun, May 06, 2007 at 12:33:44PM +0300, Yuriy Padlyak wrote:
> >>Thank you for your reply. Looks like you're suggesting installation, but
> >>I have Etch 4.0 installed already. Wondering if it's possible to put
> >>existent /boot on ext3 partition and LVM volume group on RAID1. Or
> >>possibly it will be easier to reinstall and restore configuration.
> >It all depends on how much extra space you have. Its a little like a
> >shell game with clear shells.
> >If you give us your current drive(s) layout including free space, and
> >your goal layout, perhaps we can help you with an implementation map.
> >I've totally forgotton how your drives are currently set up so I won't
> >make any if,then,else suggestions.
>> Have additional hard drive, which can store any data temporary, while
> I'm preparing main disks. I have 160GB and 60GB drives. I have plan to
> make 60GB raid1 and 100GB for not very valuable data on rest of the
> 160GB drive. Now my VG(consisting all data) is on temporary 320GB drive
> and my /boot on ext3 partition is om 160GB.
> What I want is to put that /boot on raid1 along with very valuable data
> from temporary drive (VG) and not very valuable data on that 100GB not
> raid part. Everything except /boot should be on LVM.
> Hope my goal is clear now :)
I don't have any experience setting up raid/LVM from anything other than
the installer: I set it up there and haven't had to touch it. So if it
were me and I had the netinst.iso or CD-1, I would do a minimal
reinstall on your two target disks and have ignore your 320 GB drive,
BUT I also don't have any experience of verifying how to get a new
install to find an existing LVM. So read lots of man pages, and
consider backing up your data to a tarball on either a raw device or a
file on a filesystem, either way to that 320GB drive. Either way, read
the raid HOWTOs and the LVM HOWTO.
I have found setting up LVM from http://tldp.org/HOWTO/LVM-HOWTO/
quite simple. I am using reiserfs, which isn't ideal from the point of
view of error resilience (apparently it won't remap bad sectors), but
it is easy and quick to resize.