[Lustre-discuss] File Content change without Error log

Brian J. Murrell Brian.Murrell at Sun.COM
Tue Mar 31 10:30:06 PDT 2009


On Wed, 2009-04-01 at 01:24 +0800, Lu Wang wrote:
> I think data in the "good" OST may also be demaged, so I decide to delete all files on these two OSTs. 

Probably the safest thing to do.

> By the way, when I unlink a file, there is a "Input/Output error" , however the file disappears. 
>  #unlink run_0005818_Any_file007_SFO-1.rec
> unlink: cannot unlink `run_0005818_Any_file007_SFO-1.rec': Input/output error
> # ll run_0005818_Any_file007_SFO-1.rec
> ls: run_0005818_Any_file007_SFO-1.rec: No such file or directory
> 
> I am not sure the file is saftely delete or not. Any suggustion?  

This is just speculation without having any evidence one way or another,
but just likely due to the damaged OSTs.

You can use lfs find to find all files that had objects on those two
OSTs and try to clean them up, or you can simply replace the OSTs with
fresh ones and let lfsck sort it all out.  It will correct the
situations where files exist on the MDT but the objects on the OSTs are
missing.

b.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20090331/09e04220/attachment.pgp>


More information about the lustre-discuss mailing list