Source:
http://kbase.redhat.com/faq/FAQ_79_9558.shtm

Issue:
Why is the fdisk utility not allowing me to create a partition that is greater than 2TB in size?

Symptom:
fdisk unable to create partition greater than 2 TB

Solution:
The fdisk utility can only create partitions that does not exceed 95,000 cylinders or 2TB size. To get around the limitation, the partition needs to be created using parted with GPT as its disklabel.

GUID Partition Table (GPT) was originally introduced for iA64 systems. Currently parted is the only partitioning tool under Linux that can handle > 2TB partition and GPT disklabel.

The example below demonstates how to create a 3TB partition:

1. Run parted:

parted /dev/sdj

2. Once at the "parted" prompt, change the disklabel to gpt:

mklabel gpt

3. Create the 3 TB partition:

mkpart primary 0 3001G
(一直漂注:可以使用mkpart primary 0 -1将整个硬盘分给第一个分区)
(使用rm删除已有分区)

4. Save the changes and quit:

quit

5. Afterwards, create the filesystem:

mkfs.ext3 /dev/sdj1


OS | 评论(0) | 引用(0) | 阅读(4228)