[Lustre-discuss] lfs --obd discrepancy to lctl dl (1.8.3)

Heiko Schröter schroete at iup.physik.uni-bremen.de
Wed Aug 11 00:53:01 PDT 2010


Hello,

lfs prints different obd(idx) compared to lctl dl. We use single striping.


cluster1 tmp # lfs find --obd scia-OST0017_UUID /data/scia/L0/V0.00/20100327/SCI_NL__0PNPDE20100327_193441_000040582088_00071_42209_1158.N1
/data/scia/L0/V0.00/20100327/SCI_NL__0PNPDE20100327_193441_000040582088_00071_42209_1158.N1

cluster1 tmp # lfs getstripe /data/scia/L0/V0.00/20100327/SCI_NL__0PNPDE20100327_193441_000040582088_00071_42209_1158.N1
/data/scia/L0/V0.00/20100327/SCI_NL__0PNPDE20100327_193441_000040582088_00071_42209_1158.N1
lmm_stripe_count:   1
lmm_stripe_size:    1048576
lmm_stripe_offset:  23
        obdidx           objid          objid            group
            23           41020         0xa03c                0

cluster1 tmp # lctl dl
<snip>
 19 UP osc scia-OST0010-osc-ffff8800bb076000 c50eddc4-14c3-66a0-0f8d-7bc8e2b9a1e8 4
 20 UP osc scia-OST0011-osc-ffff8800bb076000 c50eddc4-14c3-66a0-0f8d-7bc8e2b9a1e8 4
 21 UP osc scia-OST0012-osc-ffff8800bb076000 c50eddc4-14c3-66a0-0f8d-7bc8e2b9a1e8 4
 22 UP osc scia-OST0013-osc-ffff8800bb076000 c50eddc4-14c3-66a0-0f8d-7bc8e2b9a1e8 4
 23 UP osc scia-OST0014-osc-ffff8800bb076000 c50eddc4-14c3-66a0-0f8d-7bc8e2b9a1e8 5
 24 UP osc scia-OST0015-osc-ffff8800bb076000 c50eddc4-14c3-66a0-0f8d-7bc8e2b9a1e8 5
 25 UP osc scia-OST0016-osc-ffff8800bb076000 c50eddc4-14c3-66a0-0f8d-7bc8e2b9a1e8 5
 26 UP osc scia-OST0017-osc-ffff8800bb076000 c50eddc4-14c3-66a0-0f8d-7bc8e2b9a1e8 5
 27 UP osc scia-OST0018-osc-ffff8800bb076000 c50eddc4-14c3-66a0-0f8d-7bc8e2b9a1e8 5
 28 UP osc scia-OST0019-osc-ffff8800bb076000 c50eddc4-14c3-66a0-0f8d-7bc8e2b9a1e8 5
<snap>

According to "lfs find" the stripe should be on scia-OST0017_UUID. "lfs gestripe" reports to have it on obdidx 23 , which is scia-OST0014 according to lctl dl.
Which one is true ? As fas as i remember it worked correctly in 1.6.6.


We updated currently from 1.6.6 to 1.8.3. Could have been something broken during upgrade ?

Thanks and Regards
Heiko



More information about the lustre-discuss mailing list