linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] vgs result code error
@ 2009-07-21  7:16 Masanari Iida
  2009-07-21  8:27 ` Ron Johnson
  0 siblings, 1 reply; 9+ messages in thread
From: Masanari Iida @ 2009-07-21  7:16 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-07-23  9:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-21  7:16 [linux-lvm] vgs result code error Masanari Iida
2009-07-21  8:27 ` Ron Johnson
2009-07-21  9:08   ` Masanari Iida
2009-07-21  9:41     ` Ron Johnson
2009-07-21 10:35       ` Alasdair G Kergon
2009-07-21 10:48         ` Ron Johnson
2009-07-21 11:49           ` Masanari Iida
2009-07-23  7:44             ` Masanari Iida
2009-07-23  9:28               ` Masanari Iida

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).