Solution: A centos disk cannot be attached larger than 2 TB
The disk partition format MBR limits the size of a single disk to 2 TB. If you want to mount a disk larger than 2 TB, You need to replace it with another format, such as GPT.
Because it helps customers build a cloud platform using OnApp and store 6 TB for testing, they need to mount these 6 TB disks in other formats. On Linux (My CentOS5.9 x86_64), I will share the following methods to mount a 6 TB Dell MD3600f hardware storage:
[Root @ demo ~] # Parted/dev/sdb # Use parted to operate on the GPT disk and enter Interactive Mode
GNU Parted 1.8.1
Using/dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(Parted) mklabel gpt # format the MBR disk as GPT
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?
Parted: invalid token: gpt
Yes/No? Yes
New disk label type? [Gpt]? Press Enter
(Parted) print
Model: DELL MD36xxf (scsi)
Disk/dev/sdb: 6000 GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
(Parted) mkpart primary 0-1 # divide the entire disk space into one partition
(Parted) print
Model: DELL MD36xxf (scsi)
Disk/dev/sdb: 6000 GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 6000 GB 6000 GB primary
(Parted) quit
Information: Don't forget to update/etc/fstab, if necessary
The hardware storage has been mapped to the Hypervisor server, so you do not need to edit/etc/fstab any more. Now we have mounted 6 TB disks on CentOS.