[K12OSN] LVM - is anyone using this?
Les Bell
lesbell at lesbell.com.au
Fri Jun 25 07:01:17 UTC 2004
ert Rolston <bert.rolston at clear.net.nz> wrote:
>>
Is anyone using LVM?
<<
Yes - I use LVM on most of the servers I administer and even on my
notebook; it's turned out to be useful for those cases when I add new
drives. The easiest way to do it is to use Webmin, which has a really neat
LVM module. Alternatively, set it up when installing - Anaconda's Disk
Druid lets you set up LVM/RAID during the install.
If you look at our office server you can see how things have obviously been
swapped around over the years, including the addition of a RAID 1 array:
Disk /dev/sda: 255 heads, 63 sectors, 4863 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 4863 39062016 8e Linux LVM
Disk /dev/hda: 255 heads, 63 sectors, 2434 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 3 24066 83 Linux
/dev/hda2 4 2434 19527007+ 5 Extended
/dev/hda5 4 1278 10241406 83 Linux
/dev/hda6 1279 1533 2048256 83 Linux
/dev/hda7 1534 1725 1542208+ 83 Linux
/dev/hda8 1726 1917 1542208+ 83 Linux
/dev/hda9 1918 1950 265041 82 Linux swap
/dev/hda10 1951 1976 208813+ 83 Linux
/dev/hda11 1977 2434 3678853+ 8e Linux LVM
/dev/hda7 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext2 (rw)
/dev/hda8 on /opt type ext3 (rw)
/dev/hda10 on /var type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/vg00/lv00 on /var/local/notesdata type ext3 (rw)
/dev/vg00/lv01 on /home type ext3 (rw)
/dev/vg00/lv02 on /home/les/download type ext3 (rw)
/dev/hda5 on /var/isos type ext3 (rw)
/dev/hda6 on /usr/src type ext3 (rw)
The only down side is that upgrading to the 2.6 kernel is not possible, as
it no longer supports LVM1. Red Hat's approach will be to support Sistina,
and I'm not sure I'm ready for that. . .
Best,
--- Les Bell, RHCE, CISSP
[http://www.lesbell.com.au]
More information about the K12OSN
mailing list