Question on using "drain" device state
jared at blip.tv
Tue Jul 31 17:49:07 UTC 2007
I was poking around in the database, perusing the "device" table and
came to the same conclusion, looking at the columns.
From: Brad Fitzpatrick [mailto:brad at danga.com]
Sent: Tuesday, July 31, 2007 1:50 PM
To: Jared Klett
Cc: mogilefs at lists.danga.com
Subject: Re: Question on using "drain" device state
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
> indeed work as advertised.
> Now that I've done that, I want to take that disk out and
> 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.
> - Jared
> Jared Klett
> Co-founder, blip.tv
> office: 917.546.6989 x2002
> mobile: 646.526.8948
> aol im: JaredAtWrok
More information about the mogilefs