LVM on FAI-installed computers
Mathias Friman
mathias.friman at knorca.se
Sat Feb 25 10:03:03 CET 2006
Hello everyone!
I need some help regarding LVM, I know this is probably not the
apropriate forum for this, but I have installed some computers with FAI
and I am testing Logical Volumes.
After the installation I end up not being able to mount lv's during
startup. I install the stock 2.6.8-2-686 kernel and run the default
debian lvm-scripts at startup.
I have a volume group named "vg_data" and three lv's named "lv_home",
"lv_usr" and "lv_var" respectively, each with a ext3 filesystem.
I try to mount the lv's in fstab:
/dev/vg_data/lv_home /home ext3 defaults 0 0
I get as far as
Setting up LVM Volume Groups...
Reading all physical volumes. This may take a while...
Found volume group "vg_data" using metadata type lvm2
/dev/vg_data: opendir failed: no such file or directory
/dev/vg_data: opendir failed: no such file or directory
/dev/vg_data: opendir failed: no such file or directory
and at the end of the boot, none of the volumes are being mounted.
I can manually run the lvm-script and mount the volumes from the command
line.
"# vgchange -a y" says
3 logical volume(s) in volume group "vg_data" now active
"lsmod" shows that dm_mod is loaded.
and the devices mapped in /dev/vg_data is soft links
lv_home -> /dev/mapper/vg_data-lv_home .. etc.
Ideas anyone? Noone? :)
Regards,
Mathias
More information about the linux-fai
mailing list