Question on using "drain" device state

Brad Fitzpatrick brad at
Tue Jul 31 17:49:59 UTC 2007

Yeah, don't re-use device id.  Weird stuff can happen. mogilefsd tries
pretty hard (though it could try harder) to make sure you don't do that.

On Tue, 31 Jul 2007, Jared Klett wrote:

> hello Mogilers,
> 	I've marked a device in my MogileFS cluster as "drain" and it
> did indeed work as advertised.
> 	Now that I've done that, I want to take that disk out and
> replace it with a larger one. My question is: should I now mark that
> device ID as "dead" and create a new device ID for the larger disk, or
> can I mark the device that is in "drain" state to "alive" once the new
> disk is installed and mounted?
> 	I'm guessing that it's best to play it safe and mark it "dead"
> and just create a new device, but I wanted to check with the experts. :)
> cheers,
> - Jared
> --
> Jared Klett
> Co-founder,
> office: 917.546.6989 x2002
> mobile: 646.526.8948
> aol im: JaredAtWrok

More information about the mogilefs mailing list