Pvs

From wikieduonline
Revision as of 13:53, 11 December 2019 by Welcome (talk | contribs) (<code>pvs</code><ref>http://man7.org/linux/man-pages/man8/pvs.8.html</ref> Display information about physical volumes)
Jump to navigation Jump to search

pvs[1] Display information about physical volumes



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

scan: pvscan vgscan
LVM: lvs lvmscan lvm fullreport lvmreport lvmconfig lvmdump lvmcheck lvm dumpconfig
Scan: pvs vgs lvs pvscan vgscan
PV: pvcreate pvremove pvscan pvremove pvscan pvs pvchange pvck pvdisplay pvresize
LV: lvdisplay lvcreate lvremove, lvresize, lvextend, lvreduce, lvrename
VG: vgdisplay,vgcreate,vgremove, vgextend, vgreduce, vgscan, vgchange, vgrename, vgcfgbackup, vgcfgrestore, vgimportclone, vgck
Check commands: pvck vgck
  1. http://man7.org/linux/man-pages/man8/pvs.8.html
  2. http://manpages.org/multipathconf/5
  3. Advertising: