md0

All posts tagged md0

Nowadays the hardisks are almost cheaper so creating a RAID1 is a good way to keep your data safe without waste too much money. If you have two disks with same size use them to create mirrored Storage Repository in XEN with the help of mdadm raid software, by default installed in a XEN distribution. SATA is always the best option to have a good I/O but as a test system IDE disks will be valid as well. Let's start. First, create the md devices in /dev # cd /dev # MAKEDEV md now create a RAID1 Read more...
Basic Commands Checking status of drive/arrays, displaying all raids and basic information # cat /proc/mdstat  Detailed status of array # mdadm --detail /dev/md2 Creating raid device # mdadm --create --verbose /dev/mdX --level=RAID5--raid-devices=2 /dev/sdj /dev/sdk  Stoping raid device # mdadm --stop /dev/md2  Adding a drive: # mdadm /dev/md2 -a /dev/sdm  Marking a drive as failed (This will break things if your not careful) # mdadm --manage --set-faulty Read more...