This article mainly introduces how to resize partitions in Linux without loss. The editor thinks it is quite good. Now I will share it with you and give it as a reference. Let’s follow the editor and take a look at the situation: home: 500Groot: 50Groot partition is not enough. Idea: divide part of the space of the home partition into the root partition # Set the size of the home partition to 200G and release 300G space. $ lvreduce -L 200G /dev/centos/home # Expand free space to root partition $ lvextend -l +100%FREE /dev/centos/root # Use the command set that comes with the XFS file system to increase partition space $ xfs_growfs /dev/mapper/centos-root instance situation is mounted in the root directory of the partition /dev/mapp
1. Detailed introduction on how to resize the partition losslessly in Linux
Introduction: This article mainly introduces how to resize the partition losslessly in Linux. The editor thinks it is quite good, so I will share it now. For everyone, and as a reference for everyone. Let’s follow the editor and take a look
2. Teach you how to adjust the partition size in Linux
Introduction: This article mainly introduces how to resize the partition losslessly in Linux. The editor thinks it is quite good. Now I will share it with you and give it as a reference. Let’s follow the editor and take a look
The above is the detailed content of Detailed introduction to lossless adjustment. For more information, please follow other related articles on the PHP Chinese website!