On Sep 08, 2008  21:28 -0400, Mag Gam wrote:
> When running "lfs getstripe file", I am trying to convert the object
> id to a hostname. Is there a reliable way of doing that?

You shouldn't look at the object ID.  You should look at the "obdidx"
value, which is mapped to an OST name at the beginning.

$ lfs getstripe /myth/tmp
OBDS:
0: ost-myth-0_UUID ACTIVE
1: ost-myth-1_UUID ACTIVE
2: ost-myth-2_UUID ACTIVE
3: ost-myth-3_UUID ACTIVE
4: myth-OST0004_UUID ACTIVE
/myth/tmp/config.log
        obdidx           objid          objid            group
             1          539651        0x83c03                0

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.

_______________________________________________
Lustre-discuss mailing list
[email protected]
http://lists.lustre.org/mailman/listinfo/lustre-discuss

Reply via email to