linux:misc:lvm

no way to compare when less than two revisions

Differences

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


linux:misc:lvm [2019/10/31 09:05] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== LVM ======
 +  - How to increase the size of LVM partition ?
 +      - Use the lvextend command (lvextend -L +100M /dev/<Name of the LVM Partition> , in this example we are extending the size by 100MB.
 +      - resize2fs /dev/<Name of the LVM Partition>
 +      - check the size of partition using ‘df -h’ command
 +
 +  - How to reduce or shrink the size of LVM partition ?
 +      - Umount the filesystem using umount command,
 +      - use resize2fs command , e.g resiz2fs /dev/mapper/myvg-mylv 10G
 +      - Now use the lvreduce command , e.g lvreduce -L 10G /dev/mapper/myvg-mylv
  
  • linux/misc/lvm.txt
  • Last modified: 2019/10/31 09:05
  • by 127.0.0.1