יום שני, 16 בדצמבר 2013

Creating a Partition Size Larger Than 2TB [CentOS / RedHat]

You cannot create a Linux partition larger than 2 TB using the fdisk command. The fdisk won't create partitions larger than 2 TB. 

Here is an example how to create partition with 3.21 TB size:

1. fdisk -l /dev/sdb
2. parted /dev/sdb
3. (parted) mklabel gpt
4. (parted) unit TB
5. (parted) mkpart primary 0.00TB 3.21TB
6. (parted) print
7. mkfs.ext4 /dev/sdb1
8. # mkdir /data
   # mount /dev/sdb1 /data
   # df -H

אין תגובות:

הוסף רשומת תגובה