AnsweredAssumed Answered

How to recover from missing volume data

Question asked by parag_sarda on Nov 28, 2012
Latest reply on Nov 28, 2012 by nabeel
In one of the volume, alert was raised for missing data.  We found one container which had no active server.  How to recover from this error?

<pre>
$ maprcli dump containerinfo -ids nnnnn -json
{
"timestamp":nnnnnnnnnn,
"status":"OK",
"total":1,
"data":[
  {
   "ContainerId":nnnnnn,
   "Epoch":nn,
   "Master":"unknown ip (0)-0-VALID",
   "ActiveServers":{
   
   },
   "InactiveServers":{
    "IP:Port":[
     "xxxxxxxxxxxxx-INVALID",
     "xxxxxxxxxxxxx-INVALID",
     "xxxxxxxxxxxxx-VALID"
    ]
   },
   "UnusedServers":{
    "IP:Port":"xxxxxxxxxxxxx-VALID"
   },
   "OwnedSizeMB":"nn.nn GB",
   "SharedSizeMB":"0 MB",
   "LogicalSizeMB":"nn.nn GB",
   "Mtime":"Fri Nov 02 21:55:49 PDT 2012",
   "VolumeName":"xxxxxxxxxx",
   "VolumeId":nnnnnnnnnn,
   "VolumeReplication":3,
   "VolumeMounted":true
  }
]
}
</pre>

Outcomes