RAID Part-2

Continue...... 



# mdadm –detail     /dev/md0        - to see the raid device details







# mdadm /dev/md0 --fail /dev/sdb3          - to do manual failure of disk
 



To see the detail of raid device and any failed disks
 




# mdadm /dev/md0 --remove /dev/sdb3               - Removing failed drive from RAID
 



# mdadm /dev/md0 --add /dev/sdb4         - Adding New disk to RAID Device
 



To Destroy RAID Device and its related disk completely wipe
# umount /raid         - to un mount the file system
# mdadm –stop /dev/md0   - Stopping RAID Device
# mdadm –remove /dev/md0         - to remove RAID Device
# fdisk /dev/sdb        use d to delete all the disks from OS
 

No comments:

Post a Comment