Hot answers tagged mdadm
fdisk will not create a partition bigger than 2TB (2^41 bytes). That seems to be pretty well documented; one example of many can be read here. 5*2TB=10TB, which is what you're getting. You will need to use GNUparted to put a GPT partition table on each drive; then you'll be able to make a /dev/sdX1 partition that stretches all the way to the top of the ...
Do not attempt to mount directly the device ! You need to mount a partition of it. For example, this is wrong when you do: mount /dev/sda /mnt What you should do is: mount /dev/sda3 /mnt The system need the meta-data enclosed in the partition to know what to do with it. If you mount directly the device, these meta-data are missing and the mount will ...
Arguments against the partitioning: Partitions are strict, obsolete things in the today. A repartitioning mostly a problematic thing. You won't be able to change things in the future. Raid devices are directly partitionable only in newer kernels. Thus I suggest you to simply use the whole disk directly, if you won't use some advanced solution. On Linux, ...
Drop the 1 from the end of your command: mdadm --create --verbose /dev/md0 --level=stripe --raid-devices=5 /dev/sd[bcdef] Should work fine. I'm assuming you want to use all the space available on all 5 of the RAID disks.
There is no added value of creating a partition table there, unless you want to subdivide the amount of space further. If you need to subdivide the space further you would possibly benefit most from using the logical volume manager instead of creating partitions and then you can still skip the creation of a partition table and address the whole RAID 6 ...
I had the same problem and I solved it by means of a little Linux FUSE program I wrote. It's named xraid and I put it on Sourceforge. For assembling your RAID: Download and compile xraid Run it: mkdir mnt ./xraid mnt 512 /dev/sdb /dev/sdc You now should be able to access your RAID under mnt/xraid.
Only top voted, non community-wiki answers of a minimum length are eligible