I am using SI 3.6.3 to image a redhat linux machine using raid & lvm. I added the following to the golden client master script to create the volume group and logical volumes:
### BEGIN LVM initialization commands -AR- ###
pvcreate -ff -y /dev/sda3
### END LVM initialization commands ###

### BEGIN LVM groups creation commands -AR- ###
vgscan
vgcreate -s 8MB -v Volume00 /dev/sda3
### END LVM groups creation commands ###

### BEGIN LVM volumes creation commands -AR- ###
lvcreate --verbose --size 2.5G --name LogVol00 Volume00
lvcreate --verbose --size 3.0G --name LogVol03 Volume00
lvcreate --verbose --size 1008M --name LogVol05 Volume00
lvcreate --verbose --size 8.0G --name LogVol04 Volume00
lvcreate --verbose --size 5.0G --name LogVol01 Volume00
lvcreate --verbose --size 6.0G --name LogVol02 Volume00
### END LVM volumes creation commands ###

The install process completes (and I see the volume group and logical volumes being created), but when I reboot, the kernel does not find the volume group Volume00. Since my root filesystem is on a logical volume, the server will not boot and I get the following messages:
...
Partition check:
  sda: sda1 sda2 sda3
Loading lvm-mod.o module
LVM version 1.0.8-2 (26/05/2004) module loaded
Loading jbd.o module
Creating block devices
Scanning logical volumes
vgchange -- no volume groups found
Mounting root filesystem
mount: error 2 mounting ext3
pivotroot: pivot_root (/sysroot, /sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Freeing unused kernel memory: 232k freed
kernel panic: No init found. Try passing init= option to kernel.
-------------
I tried reimaging with "vgchange -y a" added into the install script after the vgcreate command, but the volume group was still not found by the kernel when rebooting.

I would appreciate any suggestions!

Thanks!


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to