[Lustre-discuss] Failed OST Cleanup

Scott Barber scott at imemories.com
Wed Jun 2 13:44:46 PDT 2010


Great - exactly what I needed.

Thanks,
Scott

On Wed, Jun 2, 2010 at 12:58 PM, Andreas Dilger
<andreas.dilger at oracle.com> wrote:
> On 2010-06-02, at 11:54, Scott Barber wrote:
>> I'm now trying to get a list of files that are now corrupt. On one of
>> the lustre clients I'm running:
>> lfs find --obd sanvol06-OST0013_UUID  <my lustre mount point>
>>
>> It starts to list files and then a few minutes later it runs into an
>> error and stops:
>> cb_find_init: IOC_LOV_GETINFO on <filename> failed: Input/output error.
>>
>> In dmesg I see:
>> LustreError: 13926:0:(file.c:1053:ll_glimpse_size()) obd_enqueue
>> returned rc -5, returning -EIO
>>
>> The file that gets that "Input/output error" cannot be delete or
>> removed from the file system. How can I get around this?
>
> There is a bug in "lfs find" that it tries to get the file size unnecessarily.  You can use "lfs getstripe -obd ..." instead, and it should work even if the OST is down.
>
> Cheers, Andreas
> --
> Andreas Dilger
> Lustre Technical Lead
> Oracle Corporation Canada Inc.
>
>



More information about the lustre-discuss mailing list