[linux-lvm] Restricted partitions?

Bradley M Alexander storm at tux.org
Thu Nov 15 01:00:02 UTC 2001


Hello all,

Are there any partitions/filesystems that should not be used without an
initrd besides /? Here is my partition list:

/dev/hda3              1542188   1056676    485512  69% /
/dev/hda1                 7746      3499      3847  48% /boot
/dev/hda5              1517920    724696    762384  49% /var
/dev/hda6               155545        41    147474   1% /tmp
/dev/hda7              1028092    876116    151976  86% /home
/dev/hda8              1542156    967744    574412  63% /usr/local
/dev/hda9               514028    286816    227212  56% /opt
/dev/hda10             8192832   7117692   1075140  87% /mirror
/dev/hda11            15213032  13261916   1951116  88% /archive

As you can see, /home, /mirror and /archive are starting to get close to
having a problem, which I why I wanted to implement lvm. I have two 30GB
drives, the secomd of which is empty, so I was going to put /var, /tmp,
/home, /usr/local, /opt, /mirror and /archive on a volgroup on the second
drive, then once it stabilized, create a second volgroup on /dev/hda from
the partitions that are now on the volgroup on hdb.

I went in, using 1.0.1rc4 and kernel 2.4.13 and created the partitions on
the volume group on hdb. Ran lilo and changed fstab. Rebooted and it could
not mount the volumes, and gave me a "Can't locate module /dev/vg01" and
for each partition, it tries to load them as modules. The LVM code is
compiled into the kernel.

At this point, I have two prime suspects. Either one of the partitions I am
trying to mount on the volume group should not be without an initrd (/tmp
or /var?) or its a problematic interaction with devfs. Can anyone point me
to a solution?

Regards,
-- 
--Brad
============================================================================
Bradley M. Alexander, CISSP              |   Co-Chairman,
Beowulf System Admin/Security Specialist |    NoVALUG/DCLUG Security SIG
Debian/GNU Linux Developer		 |   storm at debian.org
                                         |   storm at tux.org
============================================================================
No, just _a_ Zaphod Beeblebrox. Didn't you hear? I come in six-packs."




More information about the linux-lvm mailing list