[linux-lvm] Listing physical volumes in a volume group

Alasdair G Kergon agk at redhat.com
Tue Aug 7 20:24:09 UTC 2007


On Fri, Aug 03, 2007 at 12:01:13PM -0400, Steeve McCauley wrote:
> Ah, I didn't realise one could use the pv_ column names
> with the vgs utility.
 
pvs, vgs, and lvs simply set up different defaults before entering the
same reporting engine.  One such default is what prefix to add to column
names that are supplied without any prefix.  If you request -o name,
vgs would turn that into 'vg_name' whereas pvs would turn it into
'pv_name', for example.

Use '-o help' (in sufficiently recent versions) to see the list of
fields.

Alasdair
-- 
agk at redhat.com




More information about the linux-lvm mailing list