From: <linux_user98765@yahoo.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Concise LVM Summary
Date: Sat, 8 Apr 2006 14:11:58 -0700 (PDT) [thread overview]
Message-ID: <20060408211158.56899.qmail@web60411.mail.yahoo.com> (raw)
I'm trying to write a perl script to give concise output of
pvs, vgs, lvs, pvdisplay, vgdisplay, lvdisplay and df -- something
like:
VG home [PE (4MB): 0 (0 b) / 52205 (203.93 GB)]
LV /dev/home/lvol0 /home [LE: 52205 (203.93 GB); DF: 64G/201G (129G)
34%]
PV /dev/sdb [PE (4096KB): 0 (0 b) / 38156 (149.05 GB); DF: ??/149G (??)
??%]
PV /dev/hdb4 [PE (4096KB): 0 (0 b) / 14049 (54.88 GB); DF: ??/55G (??)
??%]
however, there are a few things I have yet to figure out:
- determine the actual disk usage of a particular PV in a given LV
- the lvs column option which produces the heading "Log"
- the nature of the pvs,vgs,lvs separator inconsistencies:
lvs - Headers and LV lines are separator terminated
vgs - Headers not separator terminated, VG lines are
pvs - Headers not separator terminated, PV lines are
- The unabreviated names of the column headings
(a website detailing each would be nice)
- whether pvdisplay,vgdisplay,lvdisplay offer anything more than
pvs, vgs, lvs with all columns displayed
- Why the majority of pvs,vgs,lvs columns lack data
I'm still working on the code, but the above are the major stumbling
blocks I've come across so far...
TIA!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
next reply other threads:[~2006-04-08 22:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-08 21:11 linux_user98765 [this message]
2006-04-10 8:08 ` [linux-lvm] Concise LVM Summary Thomas Meller
2006-04-11 15:00 ` Jonathan E Brassow
2006-04-12 4:17 ` linux_user98765
2006-04-12 15:59 ` Jonathan Brassow
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=20060408211158.56899.qmail@web60411.mail.yahoo.com \
--to=linux_user98765@yahoo.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 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.