Site Tools


server:create_large_partitions_in_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

server:create_large_partitions_in_linux [2016/01/20 22:40] – created ashleyserver:create_large_partitions_in_linux [2016/01/20 22:41] (current) – ashley
Line 1: Line 1:
 ====== Create large partitions in linux ====== ====== Create large partitions in linux ======
 To create a partition start GNU parted as follows: To create a partition start GNU parted as follows:
-# parted /dev/sdb +  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: Creates a new GPT disklabel i.e. partition table:
  
-(parted) mklabel gpt +  (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: Next, set the default unit to TB, enter:
  
-(parted) unit TB+  (parted) unit TB
  
 To create a 3TB partition size, enter: To create a 3TB partition size, enter:
  
-(parted) mkpart primary 0 0+  (parted) mkpart primary 0 0
  
 OR OR
  
-(parted) mkpart primary 0.00TB 3.00TB+  (parted) mkpart primary 0.00TB 3.00TB
  
 To print the current partitions, enter: To print the current partitions, enter:
  
-(parted) print+  (parted) print
server/create_large_partitions_in_linux.1453329632.txt.gz · Last modified: (external edit)