Pvs

From wikieduonline
Revision as of 13:54, 11 December 2019 by Welcome (talk | contribs) (<code>pvs</code> can hang if some device has been removed under some circumstances.)
Jump to navigation Jump to search

pvs[1] Display information about physical volumes

pvs can hang if some device has been removed under some circumstances.



Examples

pvs
No output if not devices

Example output, with one PV create but not assigned to any VG:

pvs
  PV                                              VG       Fmt  Attr PSize    PFree
  /dev/mapper/3600508b1001c553702fe495119c850f1p1 VG1 lvm2 a--  <446.60g  32.00m
  /dev/mapper/3600a09803831416c592b4f566453764t            lvm2 ---   250.00g 250.00g
  /dev/sdc4                                       VG2     lvm2 a--    <8.28t 100.00g

Output with missing device:

pvs
  WARNING: Device for PV R3Hfm8-5J2Z-Tl59-5Q5O-ZpDq-foNa-SGpQst not found or rejected by a filter.
  PV                                              VG       Fmt  Attr PSize    PFree
  /dev/mapper/3600508b1001c553702fe495119c850f1p1 VG1 lvm2 a--  <446.60g  32.00m
  /dev/mapper/3600a09803831416c592b4f566453764t            lvm2 ---   250.00g 250.00g
  /dev/sdc4                                       VG2     lvm2 a--    <8.28t 100.00g


Activities

See also

Advertising: