Editing Lvs

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{lc}}
 
<code>lvs</code><ref>http://man7.org/linux/man-pages/man8/lvs.8.html</ref>- Display information about [[logical volumes]]
 
<pre>
 
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
 
</pre>
 
 
 
  
 
<pre>
 
<pre>
Line 19: Line 8:
 
</pre>
 
</pre>
 
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Cluster_Logical_Volume_Manager/mdatarecover.html
 
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Cluster_Logical_Volume_Manager/mdatarecover.html
 
<pre>
 
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
 
</pre>
 
 
<pre>
 
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
 
</pre>
 
 
 
== Related commands ==
 
* <code>[[lvdisplay]]</code>
 
* <code>[[pvs]]</code>
 
 
== See also ==
 
* {{LVM}}
 
*{{Linux block devices}}
 
 
[[Category:Linux]]
 

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: