Your Question: How Reduce Home Lvm Size in Linux?
Contents How Can I Reduce the Size of My Lvm? How to Shrink an Lvm Volume Safely on Linux Step 1: First Take a Full Backup of Your Filesystem. Step 2: Start...
Contents
How can I reduce the size of my LVM?
How to Shrink an LVM Volume Safely on Linux
- Step 1: First take a full backup of your filesystem.
- Step 2:Start and force a filesystem check.
- Step 3:Resize your filesystem before resize your Logical Volume.
- Step 4: Reduce LVM size.
- Step 5: Re-run resize2fs.
How do I reduce the size of my home directory in Linux?
5 Answers
- umount /home $ umount /home.
- shrink the /home filesystem $ fsck -f /dev/mapper/VolGroup-lv_home $ resize2fs /dev/mapper/VolGroup-lv_home 80G.
- shrink the /home logical volume $ lvreduce -L -40G /dev/mapper/VolGroup-lv_home.
- resize the /home partition to the size of the LV $ resize2fs /dev/mapper/VolGroup-lv_home.