Dead device listed as "writeable"

Brad Fitzpatrick brad at danga.com
Wed Aug 1 22:34:20 UTC 2007


mogadm check is showing the "observed state", which is different from the
"defined state".

Internally, the mogilefsd 'monitor' child process is always checking all
hosts/devices reachablity and readability/writability, respectively.

So what you saw is all expected.


On Wed, 1 Aug 2007, Jared Klett wrote:

> dear Mogiletrons,
>
> 	I've been marking devices as "drain" then waiting for them to
> finish draining, then marking them "dead". This has worked well, except
> for two instances where the dead device is still listed as "writeable"
> in 'mogadm check' hours later:
>
> [ 2] dev42           18.637      1.431     17.206   7.68%  writeable
> 0.0
> [ 2] dev67           18.637      1.431     17.206   7.68%  writeable
> 0.0
>
> 	And from 'mogadm device list':
>
> dev67: dead       0.366   372.139 372.505
> dev42: dead       0.635   371.870 372.505
>
> 	Is this cause for concern? Or should I just ignore it?
>
> 	MogileFS doesn't appear to be putting files in those
> directories, so I'm leaning towards "ignore it".
>
> 	I poked around in the database and the "usage" file in those
> directories but cannot fathom why they're listed as writeable.
>
> 	Thanks as always for the help and advice!
>
> cheers,
>
> - Jared
>
> --
> Jared Klett
> Co-founder, blip.tv
> office: 917.546.6989 x2002
> mobile: 646.526.8948
> aol im: JaredAtWrok
> http://blog.blip.tv
>
>


More information about the mogilefs mailing list