On 9/28/2011 5:05 AM, Marcin M. Jessa wrote:
# parted /dev/sde
GNU Parted 2.3
Using /dev/sde
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel gpt
Warning: The existing disk label on /dev/sde will be destroyed and all
data on this disk will be lost. Do you want
to continue?
Yes/No? yes
(parted) mkpart primary 0 -0
Warning: The resulting partition is not properly aligned for best
performance.
Ignore/Cancel? ignore
(parted) print
Model: ATA Hitachi HDS72303 (scsi)
Disk /dev/sde: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 3001GB 3001GB primary
(parted) quit
I run into something similar working with 2Terabytes disks.
I had to use % instead o sizes.
Eg:
(parted) mkpart
Partition name? []? 1
File system type? [ext2]?
Start? 0
End? 100%
(parted) set 1
Flag to Invert? raid
New state? [on]/off? on
I think the "primary" concept is for DOS 3.3 partition tables and might
not apply here.
Please, correct if I am wrong.
THanks
Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html