Thread: Please help! Stuck with RAID5 setup
hi
have hp microserver os drive , 4 2tb drives. 4 2tbs i've been trying make raid5 array, plan on sharing on network. i've read loads raid5 on linux, , have been trying ages, can't figure out! array took 780 minutes build, not sure if that's normal? identified md127, thought should have been md0. once set filesystem, mounted, no permissions, logged in root, , couldn't use it. also, had long name made of seemingly random letters , numbers. deleted , tried again , have ben playing can't make work! here steps followed, compiled various guides, in order:
create raid array
sudo mdadm --create --verbose /dev/md0 --level=5 --chunk=64 --raid-devices=4 /dev/sd[bcde]1
view progress
sudo watch cat /proc/mdstat
create mdadm.conf file
sudo echo "device partitions" > /etc/mdadm/mdadm.conf
sudo mdadm --detail --scan >> /etc/mdadm/mdadm.conf
create filesystem
mkfs.ext4 -b 4096 -e stride=16,stripe-width=48 /dev/md0
index:
tune2fs -o dir_index /dev/md0
e2fsck -d /dev/md0
help!
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Please help! Stuck with RAID5 setup
Ubuntu
Comments
Post a Comment