We need to prepare the disks as GPT labeled as they are > 2TB.
For each disk:
- parted -a optimal /dev/sdx
- mklabel gpt
- mkpart primary 0% 100%
- set 1 raid on
- align-check optimal 1
- quit
Create the array:
- mdadm --create /dev/md0 --level=raid5 --raid-devices=5 /dev/sdx1 /dev/sdx1 /dev/sdx1 /dev/sdx1 /dev/sdx1
In all of the above replace /dev/sdx1 with appropriates devices, e.g /dev/sda1 /dev/sda2 etc.
No comments:
Post a Comment