All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] lvm report tool
@ 2005-04-05 15:02 Dieter Stüken
  0 siblings, 0 replies; only message in thread
From: Dieter Stüken @ 2005-04-05 15:02 UTC (permalink / raw)
  To: LVM general discussion and development

I want to write a tool to give a quick overview
on how my LVs scatter over the different PVs.
"vgdisplay -m" lists the mapping, I need to now.
Unfortunately it is not easy to parse, and with
"-c", no mapping is listed. The -m option for
pvdisplay seems not to work. The /proc interface
also disappeared. Any clue, on how to extract the
mapping?

Anyway: using the lvm tools, I have to be root, as
they have to open/read the PVs. Any idea on how to
extract the informations as an unprivileged user?

Could sysfs (/sys) help here? Would it make sense,
to output any hierarchical information via XML?
It could be processed much saver/easier than any
colon separated lists...

Dieter.
-- 
Dieter St�ken, con terra GmbH, M�nster
     stueken@conterra.de
     http://www.conterra.de/
     (0)251-7474-501

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-05 15:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-05 15:02 [linux-lvm] lvm report tool Dieter Stüken

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.