Partitions And FileSystems
Partition a disk greater then 4TB with parted command¶
First of all read manual
# man parted
or from here http://www.gnu.org/software/parted/manual/parted.html
-
Start parted
# parted -a optimal /dev/sdc
-
Verify if you are using your correct disk in my case /dev/sdc ! Using /dev/sdc
-
Make a new partition table GPT type ** Create a new GPT partition table
(parted) mklabel New disk label type? gpt Warning: The existing disk label on /dev/sdc will be destroyed and all data on this disk will be lost. Do you want to continue? Yes/No? yes
-
Make a new partition to fill all space on disk
(parted) mkpart primary ext4 0% 100%
- Show what you done
(parted) print