Description
OST2 died. When I run lfs getstripe it lists some files as on OST2, but lfs find cannot find them.
[root@blah ~]# lfs getstripe /mnt/blah/Ac_270_res.txt
/mnt/blah/Ac_270_res.txt
lmm_stripe_count: 1
lmm_stripe_size: 1048576
lmm_stripe_offset: 2
obdidx objid objid group
2 137992 0x21b08 0
[root@blah ~]# lfs find --obd lustre-OST0002 /mnt/blah
[root@blah ~]# lfs find -r --obd lustre-OST0002 /mnt/blah # the -r works since it uses getstripe
lfs find: -q, -r, -v options deprecated. Use 'lfs getstripe' instead.
/mnt/blah/Ac_270_res.txt
I think the lfs find should be able to find the files if lfs getstripe can.
Attachments
Issue Links
Activity
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
It appears that the "lfs find -
mdt" handling added in http://review.whamcloud.com/1646 caused lfs to open() and fstat() every file, when it was only needed for "-mdt".I'm going to fix this under
LU-6134.