Home >Operation and Maintenance >Linux Operation and Maintenance >Detailed introduction to lossless adjustment

Detailed introduction to lossless adjustment

巴扎黑
巴扎黑Original
2017-06-10 10:59:261797browse

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

Detailed introduction to lossless adjustment

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

Detailed introduction to lossless adjustment

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn