Author: Najmuddin Chirammal
Original Publication Date: April 28, 2015
- All versions of mapr software.
One of the disks failed on a node and was subsequently removed from MapR-FS and replaced on the node. MCS/CLI though still shows it as failed/dead even though it's not listed in the disktab file.
maprcli disk list -host mapr02 -system 0 -output terse
mn pst fw mt n dsu dst hn vn fs err dsa st
MB2000EBUCF running HPG0 0 sdb 417 1907729 mapr01 ATA MapR-FS 1907312 0
MB2000EBUCF running HPG0 0 sdc 417 1907729 mapr01 ATA MapR-FS 1907312 0
MB2000EBUCF dead HPG0 0 sdd 1907729 mapr01 ATA MapR-FS Failed_disk 1
When a disk fails, mfs creates a log file under '/opt/mapr/logs' directory, These log files are typically named in the pattern <diskname>.failed.info. After removing/replacing the disk, remove the corresponding <diskname>.failed.info file. Then the disk will no longer be marked as failed.