How can I create a 4TB partition on my software RAID5 device?

Posted by Kris Harper on Ask Ubuntu See other posts from Ask Ubuntu or by Kris Harper
Published on 2012-11-10T22:16:07Z Indexed on 2012/11/10 23:17 UTC
Read the original article Hit count: 603

I have set up a RAID5 device with three 2TB hard drives using mdadm. The device was successfully created, but I cannot seem to create a partition on the device.

When I try to make an ext3 or ext4 partition via Disk Utility, I get the following error

Error creating partition: helper exited with exit code 1: In part_add_partition: device_file=/dev/md0, start=0, size=4000526106624, type=
Entering MS-DOS parser (offset=0, size=4000526106624)
MSDOS_MAGIC found
found partition type 0xee => protective MBR for GPT
Exiting MS-DOS parser
Entering EFI GPT parser
GPT magic found
partition_entry_lba=2
num_entries=128
size_of_entry=128
Leaving EFI GPT parser
EFI GPT partition table detected
containing partition table scheme = 3
got it
got disk
new partition
guid '' is not valid
type '' for GPT appear to be malformed

I have seen this question, but that seems to suggest using gparted to do the partitioning. I'm fine with doing that, but my RAID device doesn't show up in the list of gparted devices. I suspect because this is a RAID and not a regular disk.

I have already created a GPT partition table on the device. How can I add a partition to my device?

© Ask Ubuntu or respective owner

Related posts about partitioning

Related posts about raid