setup storage lvm troubles

Henning Sprang henning_sprang at gmx.de
Mon Jun 30 03:57:57 CEST 2008


Hi,
I'm getting this when trying to set up lvm woith setup storage (fai 
3.2.8 on Etch):

...
Executing: parted -s /dev/hda set 3 lvm on
Executing: udevsettle --timeout=10
Executing: pvremove -ff -y /dev/hda3
Command pvremove -ff -y /dev/hda3 had exit code 99
Executing: pvcreate /dev/hda3
Command pvcreate /dev/hda3 had exit code 99
Executing: vgcreate xenvg /dev/hda3
Command vgcreate xenvg /dev/hda3 had exit code 99
Executing: vgchange -a y xenvg
Command vgchange -a y xenvg had exit code 99
Executing: /lib/udev/vol_id -u /dev/hda1
Executing: /lib/udev/vol_id -l /dev/hda1
Command /lib/udev/vol_id -l /dev/hda1 had exit code 3
Executing: /lib/udev/vol_id -u /dev/hda2
Executing: /lib/udev/vol_id -l /dev/hda2
Command /lib/udev/vol_id -l /dev/hda2 had exit code 3
...

All partitioning but the lvm stuff is correct!


My config looks like this:

...
disk_config disk1
primary  /             2000       ext3  rw,errors=remount-ro
primary  swap          512  ext3  rw
primary -       1000-   -       -

disk_config lvm
vg xenvg        hda3
...

I want and need to create an empty volume group - volumes are created by 
a program later)


And, an important hint might be:
When after install I do:

# lvs
No program "lvs" found for your current version of LVM


I boot with an debian default kernel, in case that is interesting here!

Henning



More information about the linux-fai-devel mailing list