标签:mdadm
watct -n .5 mdadm -D /dev/md0查询
创建用3块盘(sda6,sda7,sda8)做RAID5
mdadm -C /dev/md0 -a yes -l 5 -n 3 -x 1 /dev/sda(6,7,8)
mkfs.ext4 /dev/md0
mount /dev/md0 /mnt
模拟sda6坏
mdadm -f /dev/md0 /dev/sda6
移除sda6
mdadm -r /dev/md0 /dev/sda6
添加sda6
mdadm -a /dev/md0 /dev/sda6
标签:mdadm
原文地址:http://istream.blog.51cto.com/5288089/1649821