How To Increase Logical Volume Size In Linux?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Check the available space on the volume group: Run the command ‘vgdisplay‘. This will show all your volume groups, including free space available in each.
2. Expand the Logical Volume: Run the command ‘lvextend –L +SIZE /dev/vg_name/lv_name‘, replacing SIZE with the size you want to add and vg_name and lv_name with the volume group and logical volume name, respectively.
3. Resize the file system: Once the logical volume has been expanded, run the command ‘resize2fs /dev/vg_name/lv_name‘ to resize the filesystem and make the new space available to use