How to reduce or shrink the size of LVM partition?
Submitted by: MurtazaThe logical Steps to reduce 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
Above Command will shrink the size & will make the filesystem size 10GB.
Submitted by: Murtaza
☛ 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
Above Command will shrink the size & will make the filesystem size 10GB.
Submitted by: Murtaza
Read Online Linux Administrator Job Interview Questions And Answers
Top Linux Administrator Questions
☺ | What is umask? |
☺ | What is POSIX? |
☺ | How to change the default run level in linux? |
☺ | Explain Puppet Server? |
☺ | How to set umask permanently for a user? |
Top Linux OS Categories
☺ | Device Drivers Interview Questions. |
☺ | Linux OS Management Interview Questions. |
☺ | Linux Makefile Interview Questions. |
☺ | Linux Environment Interview Questions. |
☺ | Linux OS Shell Interview Questions. |