Hello, Herbert,the machine where the bug shows is somewhat of a production machine, and now is not a good time for software upgrades. It may be a few weeks before I can help you as you requested.
In order to help you nevertheless, I have included the output of vgdisplay -v as a file. It is this output that the buggy awk-parsing in lvmdetect2() inside mkinitrd has to swallow, but doesn't. So you can now test that parsing yourself, without needing help from my end, and see whether it produces the desired result. The actual root device is /dev/vg/root.
I have not tried other options of the lvm conf file and their effect on the parsing. They may well lead to other problems.
Regards, and thank you for providing fine software Andreas
vgdisplay Finding all volume groups vgdisplay Finding volume group "vg" vgdisplay --- Volume group --- vgdisplay VG Name vg vgdisplay System ID PV_IMPKnoppix1077635774 vgdisplay Format lvm1 vgdisplay VG Access read/write vgdisplay VG Status resizable vgdisplay MAX LV 256 vgdisplay Cur LV 3 vgdisplay Open LV 3 vgdisplay Max PV 256 vgdisplay Cur PV 2 vgdisplay Act PV 2 vgdisplay VG Size 8.66 GB vgdisplay PE Size 32.00 MB vgdisplay Total PE 277 vgdisplay Alloc PE / Size 247 / 7.72 GB vgdisplay Free PE / Size 30 / 960.00 MB vgdisplay VG UUID FI2q17-CfHK-PK7r-5gyL-MN1j-0jn8-lJ4yp7 vgdisplay vgdisplay --- Logical volume --- vgdisplay LV Name /dev/vg/root vgdisplay VG Name vg vgdisplay LV UUID 000000-0000-0000-0000-0000-0000-000000 vgdisplay LV Write Access read/write vgdisplay LV Status available vgdisplay # open 1 vgdisplay LV Size 1.00 GB vgdisplay Current LE 32 vgdisplay Segments 1 vgdisplay Allocation next free vgdisplay Read ahead sectors 1024 vgdisplay Block device 254:0 vgdisplay vgdisplay --- Logical volume --- vgdisplay LV Name /dev/vg/var vgdisplay VG Name vg vgdisplay LV UUID 000000-0000-0000-0000-0000-0000-000001 vgdisplay LV Write Access read/write vgdisplay LV Status available vgdisplay # open 1 vgdisplay LV Size 2.00 GB vgdisplay Current LE 64 vgdisplay Segments 1 vgdisplay Allocation next free vgdisplay Read ahead sectors 1024 vgdisplay Block device 254:1 vgdisplay vgdisplay --- Logical volume --- vgdisplay LV Name /dev/vg/backup vgdisplay VG Name vg vgdisplay LV UUID 000000-0000-0000-0000-0000-0000-000004 vgdisplay LV Write Access read/write vgdisplay LV Status available vgdisplay # open 1 vgdisplay LV Size 4.72 GB vgdisplay Current LE 151 vgdisplay Segments 3 vgdisplay Allocation next free vgdisplay Read ahead sectors 1024 vgdisplay Block device 254:2 vgdisplay vgdisplay --- Physical volumes --- vgdisplay PV Name /dev/hda2 vgdisplay PV UUID IjDu46-ekez-FT3Y-FgZp-2l3z-c64L-1cNJfP vgdisplay PV Status allocatable vgdisplay Total PE / Free PE 225 / 30 vgdisplay vgdisplay PV Name /dev/hda4 vgdisplay PV UUID DZMCjt-76Tu-oeym-0nCK-iaPP-czVu-o280zR vgdisplay PV Status allocatable vgdisplay Total PE / Free PE 52 / 0 vgdisplay
Attachment:
signature.asc
Description: OpenPGP digital signature