Difference between revisions of "Lvs"

From wikieduonline
Jump to navigation Jump to search
(added some more examples)
Line 21: Line 21:
 
         swap          rhvh      -wi-ao----    1 linear      4.00g
 
         swap          rhvh      -wi-ao----    1 linear      4.00g
 
</pre>
 
</pre>
 +
 +
<pre>
 +
lvs --segments
 +
  home                            rhvh      Vwi---tz--    0 thin        1.00g
 +
  pool00                          rhvh      twi---tz--    1 thin-pool  <7.17t
 +
  rhvh-4.3.4.1-0.20190620.0      rhvh      Vwi---tz-k    0 thin        7.14t
 +
  rhvh-4.3.4.1-0.20190620.0+1    rhvh      Vwi---tz--    0 thin        7.14t
 +
  root                            rhvh      Vri---tz-k    0 thin        7.14t
 +
  swap                            rhvh      -wi-ao----    1 linear      4.00g
 +
  tmp                            rhvh      Vwi---tz--    0 thin        1.00g
 +
  var                            rhvh      Vwi---tz--    0 thin        15.00g
 +
  var_crash                      rhvh      Vwi---tz--    0 thin        10.00g
 +
  var_log                        rhvh      Vwi---tz--    0 thin        8.00g
 +
  var_log_audit                  rhvh      Vwi---tz--    0 thin        2.00g
 +
</pre>
 +
  
 
== See also ==
 
== See also ==

Revision as of 11:10, 16 December 2019

lvs -a -o +devices
  Couldn't find device with uuid 'FmGRh3-zhok-iVI8-7qTD-S5BI-MAEN-NYM5Sk'.
  Couldn't find all physical volumes for volume group VG.
  Couldn't find device with uuid 'FmGRh3-zhok-iVI8-7qTD-S5BI-MAEN-NYM5Sk'.
  Couldn't find all physical volumes for volume group VG.

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Cluster_Logical_Volume_Manager/mdatarecover.html

lvs --segments
         LV            VG        Attr       #Str Type     SSize
         lvol0         vg01      -wi-a-----    1 linear     4.00m
         lvol1         vg01      -wi-ao----    1 linear  <250.00g
         lvol2         vg01      rwi-a-r---    2 raid1      4.00m
         lvol_stripped vg02      -wi-ao----    2 striped  199.99g
         lvol3         rhvh      Vwi---tz--    0 thin       1.00g
         pool00        rhvh      twi---tz--    1 thin-pool <7.17t
         pool00        rhvh      Vri---tz-k    0 thin       7.14t
         swap          rhvh      -wi-ao----    1 linear       4.00g
lvs --segments
  home                            rhvh      Vwi---tz--    0 thin         1.00g
  pool00                          rhvh      twi---tz--    1 thin-pool   <7.17t
  rhvh-4.3.4.1-0.20190620.0       rhvh      Vwi---tz-k    0 thin         7.14t
  rhvh-4.3.4.1-0.20190620.0+1     rhvh      Vwi---tz--    0 thin         7.14t
  root                            rhvh      Vri---tz-k    0 thin         7.14t
  swap                            rhvh      -wi-ao----    1 linear       4.00g
  tmp                             rhvh      Vwi---tz--    0 thin         1.00g
  var                             rhvh      Vwi---tz--    0 thin        15.00g
  var_crash                       rhvh      Vwi---tz--    0 thin        10.00g
  var_log                         rhvh      Vwi---tz--    0 thin         8.00g
  var_log_audit                   rhvh      Vwi---tz--    0 thin         2.00g


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

Advertising: