This same problem was reported against the upstream LVM package a few
years back, but has been fixed.  What version of lvm/lvm2 are you
running?

On Wed, 2007-03-28 at 12:25 -0500, Little, Chris wrote:
> I'm wanting to script checking volume groups and logical volumes.
> Vgdisplay does just fine: it returns 0 on success and 4 on failure.
> Lvdisplay on the other hand, returns 0 for both.  Or am I just missing
> something?
>
> +--------------------------------------------------+
>  | Chris Little         OKDHS Platform Services   |
>  | IS Operating Systems Specialist IV             |
> +--------------------------------------------------+
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
--
Brad Hinson <[EMAIL PROTECTED]>
Technical Account Manager
Red Hat, Inc.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to