linux扩容 resize2fs /dev/vda1
resize2fs命令提示:
resize2fs 1.44.1 (24-Mar-2018)
The filesystem is already XX (4k) blocks long. Nothing to do!
解决:
XX:~# parted /dev/vda GNU Parted 3.2 Using /dev/vda Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) resizepart 1 100% Warning: Partition /dev/vda1 is being used. Are you sure you want to continue? parted: invalid token: 100% Yes/No? yes End? [75.2GB]? 100% (parted) print
resize2fs /dev/vda1