From: ben <benscott@nwlink.com>
To: lvm-devel@redhat.com
Subject: wishlist: Two lvm2app pv and lv properties still needed
Date: Mon, 22 Nov 2010 15:03:25 -0800 [thread overview]
Message-ID: <201011221503.26030.benscott@nwlink.com> (raw)
In-Reply-To: <20101122213948.11757.qmail@sourceware.org>
When using lvm2app function calls to retrieve physical volume segment
properties there seems to be no way the get the "lv_name" to tie each segment
of the pv to an lv. For instance like this:
pvs --segments -o+lv_name
PV VG Fmt Attr PSize PFree Start SSize LV
/dev/sdh1 local lvm2 a- 768.00m 512.00m 0 1
/dev/sdh1 local lvm2 a- 768.00m 512.00m 1 1 lvol1
/dev/sdh1 local lvm2 a- 768.00m 512.00m 2 1
/dev/sdi1 local lvm2 a- 768.00m 0 0 3 lvol2
The same seems to apply to getting lv segments properties and their
asscociated devices. Like this:
lvs -o+devices
LV VG Attr LSize Devices
lvol1 local -wi-a- 256.00m /dev/sdh1(1)
lvol2 local -wi-a- 768.00m /dev/sdi1(0)
It would be great if those two things, esp. the second one could be
implemented.
Thank you
ben <benscott@nwlink.com>
next prev parent reply other threads:[~2010-11-22 23:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-22 21:39 LVM2 Makefile.in WHATS_NEW agk
2010-11-22 23:03 ` ben [this message]
2010-11-23 4:14 ` wishlist: Two lvm2app pv and lv properties still needed Dave Wysochanski
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=201011221503.26030.benscott@nwlink.com \
--to=benscott@nwlink.com \
--cc=lvm-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.