fdisk
https://www.cnblogs.com/diantong/p/8820779.html
[root@VM_0_11_centos ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/vda1 50G 6.9G 41G 15% / devtmpfs 487M 0 487M 0% /dev tmpfs 497M 24K 497M 1% /dev/shm tmpfs 497M 388K 496M 1% /run tmpfs 497M 0 497M 0% /sys/fs/cgroup tmpfs 100M 0 100M 0% /run/user/0 [root@VM_0_11_centos ~]# fdisk /dev/vda Welcome to fdisk (util-linux 2.23.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help):