[Lustre-discuss] ll_recover_lost_found_objs in Lustre 1.6.x?

Johann Lombardi johann at sun.com
Tue Mar 2 12:02:59 PST 2010


On Tue, Mar 02, 2010 at 11:24:18AM -0800, Adesanya, Adeyemi wrote:
> We are trying to recover from a corrupt Lustre 1.6.5 OST. The primary superblock became corrupt so we ran "e2fsck -b <backup superblock> -B <blocksize>" (using e2fsprogs-1.40.7). 
> 
> We are now able to mount the OST using 'mount -t ldiskfs'. However, it appears that all of the files have been moved into 'lost+found' with inode numbers as names. The manual describes the 'll_recover_lost_found_objs' command which sounds like it will restore the directory structure. Is this utility available for 1.6.5? Where can I find it?

ll_recover_lost_found_objs was added to the lustre tools (namely lustre-$version
rpm) in 1.6.6 (see bug 15284). So you can either install the lustre userspace
tool rpm provided with 1.6.6 or 1.6.7 or just extract the binary from the rpm
with rpm2cpio.
There is no problem to use ll_recover_lost_found_objs with 1.6.5.

HTH

Cheers,
Johann



More information about the lustre-discuss mailing list