Home > OS >  Under the Linux partition size adjustment.
Under the Linux partition size adjustment.

Time:10-19

Consult, as shown in figure will increase roots and home partitions each 180 g to opt partitions, many thanks! I only had 20 points, don't know a lot less,

CodePudding user response:

Don't need to worry about data problems, would have to do system

CodePudding user response:

Is the premise of the LVM partition, with lvreduce reduce space

CodePudding user response:

Need to do the LVM shrinkage capacity
Umount put under/and/home plate unloading
Detection e2fsck -f/dev/home file system, the path should be the logical volume path
Resize2fs -f/dev/home 180 g 180 g space arrangement in the roll out
Lvreduce -l 128 g/dev/home lv contraction 180 g
Vgreduce vgname/dev/this means contract volume group, again, of course, if you are in a logical volume, you can do this it is ok to
Then put off in lv expansion of space, can be mounted under/opt

In the middle of the brain is not awake, hope to help you ~
  • Related