From: Keegan Quinn <kquinn@storix.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Detecting active/inactive volume groups
Date: Fri, 23 Jul 2010 14:44:19 -0700 [thread overview]
Message-ID: <4C4A0D33.20100@storix.com> (raw)
Hello world,
I am searching for a way to determine which volume groups on a system
are active; ideally I'd like to be able to list all active volume groups
and all inactive volume groups separately, from the command line.
With older versions of LVM, I believe this was possible by using the -D
flag to vgdisplay. Unfortunately, with current versions of LVM - I'm
running 2.02.66 presently - the -D flag no longer exists, and I cannot
find equivalent functionality in vgdisplay or in any other command. In
fact, vgdisplay now appears to always list all VGs, regardless of their
state, and makes no mention whatsoever of active or inactive state.
Is it possible to determine which VGs are active or inactive, with
recent versions of LVM? How should I go about doing this?
Thanks,
- Keegan
--
Keegan Quinn <kquinn@storix.com>
Software Support Engineer
Storix, Inc.
(619) 543-0200
next reply other threads:[~2010-07-23 21:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-23 21:44 Keegan Quinn [this message]
2010-07-23 23:13 ` [linux-lvm] Detecting active/inactive volume groups Alasdair G Kergon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C4A0D33.20100@storix.com \
--to=kquinn@storix.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).