Sunday, October 7, 2012

Linux Creating a Partition Size Larger Than 2TB

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 2
 
 
 
 (parted) mkpart primary 2 3
 
 
 
 
*** In case you need a single partition of 3TB 
(parted) mkpart primary 0 0
 
 
To print the current partitions, enter:
(parted) printSample outputs:
Model: ATA ST33000651AS (scsi) Disk /dev/sdb: 3.00TB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 0.00TB 3.00TB 3.00TB ext4 primaryQuit and save the changes, enter:
(parted) quit
  

No comments:

Post a Comment