Hi,

I have a very strange problem: I have a SLES 11 SP3 VM (KVM), which is running on a SLES 11 SP3 host. When I use e.g. vgs, vgdisplay, pvscan I get strange results:

vm58820-6:~ # vgs
vgs VG #PV #LV #SN Attr VSize VFree
vgs vg1 1 2 1 wz--n- 295.00g 25.00g

vm58820-6:~ # vgdisplay
vgdisplay --- Volume group ---
vgdisplay VG Name vg1
vgdisplay System ID
vgdisplay Format lvm2
vgdisplay Metadata Areas 1
vgdisplay Metadata Sequence No 331
vgdisplay VG Access read/write
vgdisplay VG Status resizable
vgdisplay MAX LV 0
vgdisplay Cur LV 2
vgdisplay Open LV 1
vgdisplay Max PV 0
vgdisplay Cur PV 1
vgdisplay Act PV 1
vgdisplay VG Size 295.00 GiB
vgdisplay PE Size 32.00 MiB
vgdisplay Total PE 9440
vgdisplay Alloc PE / Size 8640 / 270.00 GiB
vgdisplay Free PE / Size 800 / 25.00 GiB
vgdisplay VG UUID J4yEY5-kIkV-Nfrm-bJts-Fgec-u30j-j0z3uE
vgdisplay

vm58820-6:~ # pvscan
pvscan PV /dev/vda1 VG vg1 lvm2 [295.00 GiB / 25.00 GiB free]
pvscan Total: 1 [295.00 GiB] / in use: 1 [295.00 GiB] / in no VG: 0 [0 ]

As you see, the name of the used program is always displayed in the beginning of the line.

My LVM version is:
vm58820-6:~ # rpm -qf $(which vgs)
lvm2-2.02.98-0.33.1

I have another vm which is also SLES 11 SP3, having the same lvm version. But there the program name at the beginning is missing (what I think is the right behavior).

This strange behaviour is causing trouble: E.g. the script /etc/init.d/boot.kdump is not running fine because the output of vgs is used to crate the name of a block device which is with this behavior not working properly.

Bernd