This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:lvm [2019/04/02 10:14]
tmade [LUN]
linux:lvm [2019/12/30 14:41]
tmade [Usefull Commands]
Line 68: Line 68:
   lvextend -r -l +100%FREE /dev/vgname/lvname   lvextend -r -l +100%FREE /dev/vgname/lvname
 +  lvextend -r -L 10G /dev/vgname/lvname
 ==== Backup & Recovery Partition Table ==== ==== Backup & Recovery Partition Table ====
Line 145: Line 146:
   pvcreate /dev/sdb1   pvcreate /dev/sdb1
   pvresize -v -d /dev/sdb1   pvresize -v -d /dev/sdb1
-  vgextend system /dev/sdc1 +  vgextend system /dev/sdc1                         #add "/dev/sdc1" to vg "system" 
-  vgreduce /dev/system /dev/sdb1+  vgreduce system /dev/sdb1                         #remove "/dev/sdb1" from vg "system"
   lvcreate --name backups --size 30G server1   lvcreate --name backups --size 30G server1
   mkfs.ext3 /dev/mapper/server1-backups   mkfs.ext3 /dev/mapper/server1-backups
linux/lvm.txt · Last modified: 2019/12/30 14:41 by tmade
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki