[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [linux-lvm] vgs result code error
- From: Masanari Iida <standby24x7 gmail com>
- To: LVM general discussion and development <linux-lvm redhat com>
- Subject: Re: [linux-lvm] vgs result code error
- Date: Tue, 21 Jul 2009 18:08:04 +0900
Thanks for reply.
> You specified a PV, not a VG. Try:
> # vgs vg01
Yes I know it should work.
# vgs vg01
VG #PV #LV #SN Attr VSize VFree
vg01 1 0 0 wz--n- 3.82G 3.82G
The point I want to say is, vgs command _should_ return non-zero
exit status value, if vgs command returned an error.
Reference: man lvm(8)
DIAGNOSTICS
All tools return a status code of zero on success or non-zero on fail-
ure.
Masanari
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]