Resize the disk (Linux调整磁盘分区大小)
Resize the partition. Run parted: $ parted
Show the partition list: (parted) print
There should be two partitions; 1 should be a boot partition, about 64MB; the second should be the main partition, about 3.6G
Some Disk Commands of Linux, that you should know:
- sudo df -h Display the FileSystem that you mounted
- sudo fdisk -l Show your disk information that is unmounted or un-parted
Sonictl: Here I didn't see two partitions by print command. but fdisk -l showed me that.
Resize the second partition to use the whole disk: (parted) resizepart 2 32GB
Sonictl: Here you may meet error: "Unrecognized disk label