On 02/21/2014 01:08 PM, Carlos E. R. wrote:
Wait. Parted can not initialize a disk bigger than 2 TiB (not 2 TB) using traditional partitions, on MBR. You have to use GPT for those.
BTW: fdisk from util-linux has changed very much in the last 2 years. Here's an example to partition a 8T disk (file) as GPT: $ truncate -s 8T /tmp/x $ printf "%s\n" g n 1 '' '+6T' n 2 '' '' t 2 15 p w | ./fdisk /tmp/x Welcome to fdisk (util-linux 2.24.181-081dc). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Device does not contain a recognized partition table. The size of this disk is 8 TiB (8796093022208 bytes). DOS partition table format can not be used on drives for volumes larger than 2199023255040 bytes for 512-byte sectors. Use GUID partition table format (GPT). Created a new DOS disklabel with disk identifier 0xe085f3ac. Command (m for help): Created a new GPT disklabel (GUID: 6829853A-E2FE-44C9-83A0-C028980A47D1). Command (m for help): Partition number (1-128, default 1): First sector (2048-17179869150, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-17179869150, default 17179869150): Created a new partition 1 of type 'Linux filesystem' and of size 6 TiB. Command (m for help): Partition number (2-128, default 2): First sector (12884903936-17179869150, default 12884903936): Last sector, +sectors or +size{K,M,G,T,P} (12884903936-17179869150, default 17179869150): Created a new partition 2 of type 'Linux filesystem' and of size 2 TiB. Command (m for help): Partition number (1,2, default 2): Partition type (type L to list all types): Changed type of partition 'Linux filesystem' to 'Linux swap'. Command (m for help): Disk /tmp/x: 8 TiB, 8796093022208 bytes, 17179869184 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 6829853A-E2FE-44C9-83A0-C028980A47D1 Device Start End Size Type /tmp/x1 2048 12884903935 6T Linux filesystem /tmp/x2 12884903936 17179869150 2T Linux swap Command (m for help): The partition table has been altered. Syncing disks. Just use a newer fdisk ;-) Have fun, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org