There is a requirement that the dead nodes of mogilefs need to be reused, so offline testing is required. If you directly use the command line:
Mogadm -- trackers = localhost: 6001 device mark mogilestorage2 2 alive
If you mark a dead node as alive, an error is returned:
Error updating device: state_too_high Status cannot go from dead to alive; must use down
So I thought of a mind to directly modify the device table in the database and change it to the alive status;
After modification, run the following command:
Mogadm -- trackers = localhost: 6001 check the status of the test is also normal,
So I saved a few images and marked the node as dead again. The problem came out, and I found that what was stored in it would not automatically
Clear.
Look back: introduction of http://code.google.com/p/mogilefs/wiki/Maintenance
I feel that I really think too much.