AnsweredAssumed Answered

Lost Disk - Want to Try to Readd without Reformat

Question asked by mandoskippy on Feb 12, 2013
Latest reply on Feb 13, 2013 by mandoskippy
We have a failed disk (Unknown Error, log below) We'd like to re-add this disk without losing the storage pool and starting from scratch. Is that possible without restarting the node?  We'd like to monitor.  Is this possible?

############################ Disk Failure Report ###########################

Disk                :    sdd
Vendor              :    ATA
Model Number        :    Hitachi HDS72404
Serial Number       :    unknown_serial
Firmware Revision   :    A3B0
Size                :    7814037168
Failure Reason      :    Unknown error
Time of Failure     :    Wed Feb 13 07:57:35 MST 2013
Lost Volumes        :    mapr.job.mydomain.com.local.mapred
Resolution          :
   Please refer to MapR's online documentation at http://www.mapr.com/doc on how to handle disk failures.
   In summary, run the following steps:

   a. If this appears to be a software failure, go to step b.
      Otherwise, physically remove the disk /dev/sdd.
      Optionally, replace it with a new disk.

   b. Run the command "maprcli disk remove -host 127.0.0.1 -disks /dev/sdd" to remove /dev/sdd from MapR-FS.

   c. In addition to /dev/sdd, the above command removes all the disks that belong to the same storage pool, from MapR-FS.
      Note down the names of all removed disks.

   d. Add all the above removed disks (exclude /dev/sdd) and the new disk to MapR-FS by running the command:
      "maprcli disk add -host 127.0.0.1 -disks <comma separated list of disks>"
      For example, If /dev/sdx is the new replaced disk, and /dev/sdy, /dev/sdz were removed in step c), the command would be:
                   "maprcli disk add -host 127.0.0.1 -disks /dev/sdx,/dev/sdy,/dev/sdz"
                   If there is no new disk, the command would just be:
                   "maprcli disk add -host 127.0.0.1 -disks /dev/sdy,/dev/sdz"

Outcomes