Doug Crompton on 17 Jan 2006 18:08:27 -0000 |
On Tue, 17 Jan 2006, Pat Regan wrote: > You don't put a filesystem on the block devices underneath LVM. You use > pvcreate to create an LVM physical volume (PV). Then, you use vgcreate > to stitch together PVs into a volume group (VG). You can then slice up > the VG into as many logical volumes as you like. > > I always create my boot partition outside LVM but preferably on a RAID > device. I don't want to fail to boot because of a drive failure. > > You can go either way with the swap. If uptime is your primary concern, > put the swap on top of a RAID device (I have never tried putting swap on > an LV but I would imagine it should work just fine). > > If you want faster swap and don't mind a reboot after a drive failure, > create a swap partition on each disk. > Ok Let me summarize my understanding of this..... Keep in mind I am doing this with suse10 yast and not manually. 1. Create extended Partitions on two equal size drives. 2. Create three logical partitions on each drive for boot, swap, lvm with type FD. 3. Create md0, md1, md2 raid 1 devices (/boot, swap, lvm) 4. Put filesystem on md0 (will be /boot, small partition ext2) 5. create LVM system and volumes on md2 6. Put filesystems on logical volumes (resiser) For step 2 where does md2 become swap type ID? md2 which becomes LVM system is not formated in step 3 ? I am trying to do this in the least complicated way. Unfortunately I have generally followed the SUSE suggestion of having /boot, /, /home, /usr, /var, /opt plus swap partitions which seems to make it complicated when going to sw raid. Doug ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|