lvs

From wikieduonline
Revision as of 09:54, 8 February 2023 by Brave (talk | contribs) (→‎Related commands)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

lvs[1]- Display information about logical volumes

lvs
  LV                          VG         Attr       LSize   Pool   Origin                    Data%  Meta%  Move Log Cpy%Sync Convert
  root                        vg01       -wi-ao---- 445.61g
  swap_1                      vg01       -wi-ao---- 976.00m
  home                        rhvh       Vwi---tz--   1.00g pool00


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
  LV                              VG        Attr       #Str Type        SSize
  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


Related commands[edit]

See also[edit]

Advertising: