vgs result code error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello List,

I have encountered an error with vgs command.

How to reproduce.

(1) Initialize the PV.
# pvcreate /dev/cciss/c0d3p3

(2) Create VG
#  vgcreate vg01 /dev/cciss/c0d3p3

(3)  Use vgs command and see result code.

# vgs /dev/cciss/c0d3p3
  Invalid volume group name: cciss/c0d3p3

# echo $?
0

The result code should be none zero value.
One of a script rely on this result code, and it failed to work
because of this bug.

I have found this bug on RHEL5 (which uses lvm2.02.40-6) and
I have checked out WHATS_NEW between 2.02-40 to 49,
so far no similar symptom.

/dev/cciss is pointed HP Smart Array, FYI.

Regards,

Masanari

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux