sudo mdadm --create /dev/md/raid /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdg /dev/sdh --level=5 --raid-devices=7 --layout=left-symmetric --chunk=8192
mdadm: Defaulting to version 1.2 metadata
mdadm: array /dev/md/raid started.
mdadm: timeout waiting for /dev/md/raid
watch it sync
make file system
sudo mke2fs -t ext4 -b 4096 -E stride=2048,stripe-width=12288 -c -c /dev/md/raid
resources
https://raid.wiki.kernel.org/index.php/RAID_setup#Chunk_sizes
https://busybox.net/~aldot/mkfs_stride.html
suggests `mkfs.ext3 -b 4096 -E stride=2048,stripe-width=12288`
https://linux.die.net/man/8/mkfs.ext4
http://tablebase.sesse.net/syzygy/7-WDL/?C=S;O=A
https://raid.wiki.kernel.org/index.php/Monitoring_your_system#.2Fproc.2Fmdstat
No comments:
Post a Comment