![]() Remove the failing disk from the RAID array The above command is important since you need to know what disk to remove from the server, according to the disk's physical label. Since we identified that the failed disk is /dev/sdb4 (which was the case on this server), we’d need to get the disk's serial number using smartctl: loc]# smartctl -–all /dev/sdb | grep -i 'Serial' Md2 : active raid6 sdb4(F) sdd4 sdc4 sde4ĥ819252736 blocks super 1.2 level 6, 512k chunk, algorithm 2 To examine the RAID array's state and identify the state of a disk within the RAID: loc]# cat /proc/mdstat For example: loc]# mdadm -–query -–detail /dev/md2 The failing disk will appear as failing or removed. Or: loc]# mdadm -–query -–detail /dev/md2 To identify which disk is failing within the RAID array, run: loc]# cat /proc/mdadm Let us look at this process in more detail by walking through an example. Shut down the machine and replace the disk.Remove the failing disk from the RAID array.Linux system administration skills assessment.A guide to installing applications on Linux.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |