Увеличение диска¶
echo 1 > /sys/block/sda/device/rescan
parted
# print free
# resizepart 1
# Warning: Partition /dev/sda1 is being used. Are you sure you want to continue?
# Yes/No? y
# End? [3221MB]? 4295MB
resize2fs /dev/sda1
echo 1 > /sys/block/sda/device/rescan
parted
# print free
# resizepart 1
# Warning: Partition /dev/sda1 is being used. Are you sure you want to continue?
# Yes/No? y
# End? [3221MB]? 4295MB
resize2fs /dev/sda1