[Lustre-discuss] recovering formatted OST
Bernd Schubert
bs_lists at aakef.fastmail.fm
Tue Oct 26 12:11:47 PDT 2010
On Tuesday, October 26, 2010, Wojciech Turek wrote:
> On 26 October 2010 19:55, Wojciech Turek <wjt27 at cam.ac.uk> wrote:
> > In that case LAST_ID seem to be fine as OST show 2490599 and MDT shows
> > 2490688 so the difference is 89, I don't understand why you said that
> > difference is over 100000
Oh sorry, somehow I remembered another number for your OST, but don't know
where I got that number from.
> >
> > [root at oss09 ~]# od -Ax -td8 /tmp/LAST_ID
> >
> > 000000 2490599
> > 000008
> >
> > [root at mds03 ~]# od -Ax -td8 /tmp/lov_objid
> >
> > 000000 2073842 2100049
> > 000010 2115247 2038471
> > 000020 2119821 2190996
> > 000030 2029234 2354424
> > 000040 2160856 2167105
> > 000050 1970351 2059045
> > 000060 2706486 2571655
> > 000070 2662262 2628346
> > 000080 2490688 2668926
> > 000090 2631587 2643791
> > 0000a0
> >
> > What I don't understand is why lctl reports last_id=1 for that OST
> >
> > lctl get_param osc.*.prealloc_last_id | grep OST0010
> > osc.scratch2-OST0010-osc.prealloc_last_id=1
>
> Unless this is because that OST is deactivated on the MDT ?
Yeah, simply ignore that. Should get the correct value when you activate the
OST.
Cheers,
Bernd
--
Bernd Schubert
DataDirect Networks
More information about the lustre-discuss
mailing list