Site Tools


server:create_large_partitions_in_linux

This is an old revision of the document!


Create large partitions in linux

To create a partition start GNU parted as follows: # parted /dev/sdb

Output:

GNU Parted 2.3 Using /dev/sdb Welcome to GNU Parted! Type 'help' to view a list of commands. (parted)

Creates a new GPT disklabel i.e. partition table:

(parted) mklabel gpt

Sample outputs:

Warning: The existing disk label on /dev/sdb will be destroyed and all data on this disk will be lost. Do you want to continue? Yes/No? yes (parted)

Next, set the default unit to TB, enter:

(parted) unit TB

To create a 3TB partition size, enter:

(parted) mkpart primary 0 0

OR

(parted) mkpart primary 0.00TB 3.00TB

To print the current partitions, enter:

(parted) print

server/create_large_partitions_in_linux.1453329632.txt.gz · Last modified: (external edit)