The classic “fdisk” utility can’t create partitions larger then 2TB. The “parted” utility can be used instead as follows:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
[root@acme1 centos]# parted /dev/xvdj GNU Parted 3.1 Using /dev/xvdj Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) mklabel gpt (parted) unit TB (parted) mkpart primary 0 16.0TB (parted) print Model: Xen Virtual Block Device (xvd) Disk /dev/xvdj: 17.6TB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 0.00TB 16.0TB 16.0TB primary (parted) quit Information: You may need to update /etc/fstab. [root@acme1 ~]$ |