CodePudding user response:
If you are using a logical volume can support partition expansion and shrink, if is a standard partitions to solve trouble, 1. The hard disk to reformat in partition 2. Put the remaining space partition and then mounted to/dev/sda5 partition is a directory, saving the equivalent of curveCodePudding user response:
Change sda5 partition size, refer to https://jingyan.baidu.com/article/2d5afd69234a8b85a2e28ef3.htmlSuggest to restart once,
Change the size of the file system, resize2fs/dev/sda5
If there is no resize2fs command, install sudo apt install e2fsprogs