]> sourceware.org Git - lvm2.git/commit
report: add pv_in_use field to display whether PV is in use or not
authorPeter Rajnoha <prajnoha@redhat.com>
Tue, 10 Mar 2015 15:10:16 +0000 (16:10 +0100)
committerPeter Rajnoha <prajnoha@redhat.com>
Mon, 15 Feb 2016 11:44:46 +0000 (12:44 +0100)
commit3436d5b79116d067e8f20d5365ae0dae6bd19dc8
tree08def9a5d98595f40eac89553abb1a5d47db734d
parentb6e3080fff7f101f2bbec21a7757e54e6026d61d
report: add pv_in_use field to display whether PV is in use or not

For example:

$ pvs -o pv_name,vg_name,pv_in_use
  PV         VG     InUse
  /dev/sda   vg      used
  /dev/sdb
  /dev/sdc           used

(sda is part of vg - it's used
 sdb is not part of vg - it's not used
 sdc is part of vg, but MDAs missing - it's used)
lib/report/columns.h
lib/report/properties.c
lib/report/report.c
lib/report/values.h
This page took 0.035917 seconds and 5 git commands to generate.