For When You Can't Have The Real Thing
[ start | index | login ]
start > Sun > ODS > Restarting a failed slice

Restarting a failed slice

Created by dave. Last edited by dave, 13 years and 72 days ago. Viewed 1,984 times. #2
[diff] [history] [edit] [rdf]

ODS: Restarting a failed slice

Sometimes when a slice or disk fails you can restart it. The man page suggests this is useful if you accidentally pop a live disk out of a running set or whatever. The vast majority of the time attempting this is harmless whether or not it succeeds. If it succeeds you have bought yourself a little more time before you need to replace the device (but probably not much more -- I'd go out and replace the device as soon as possible.)

# metareplace -e $MIRROR $COMPONENT
The easiest way to figure out what the mirror and component names are is to look in the output of metastat for the sample metareplace command.

In our case we had a single slice on one of our disks fail. The rest of the slices were running properly. We restarted the failed device:

# metareplace -e d5 c0t0d0s5

...and this worked. However since the disk had now generated a history of possible failure, we replaced it within the week.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt