![]() This value musn't be less than usage! And also if your logical volume will be set 200GB it's recommended to set filesystem size 180GB. For example, if your filesystem size is 250 GB and usage is 170GB. You should give new size bigger than file system usage. But be careful when you set new filesystem size. You should resize your filesystem then shrink the logical volume. #e2fsck -f /dev/vgroot/lvroot Step 3:Resize your filesystem before resize your Logical Volume You should check if your filesystem is clear. Step 2:Start and force a filesystem check This command set will activate the volume group. Almost all versions of the Linux bring-up volume group on boot automatically but if not you should use "vgchange" command. On the other hand, if you will shrink root filesystem you should open your system on Boot CD. Step 1: First take a full backup of your filesystemĪs is always the firsts case before start operation take a full backup of your filesystem whenever you perform a shrink or extend on filesystem logical volume etc.If you will perform this operation on a mounted filesystem like "/app" which is separated from root vg or another mount point you should just umount filesystem and continue operation. I 'll try to explain how to decrease logical volume size and also Filesystem size on this KB. ![]() Logical volume management which named lvm allows you to decrease or increase the size of the logical volume and also filesystem. ![]() Step 3:Resize your filesystem before resize your Logical Volume.Step 2:Start and force a filesystem check.Step 1: First take a full backup of your filesystem. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |