[Lustre-discuss] Delete file entries from Metadata server

Mag Gam magawake at gmail.com
Wed Mar 25 04:56:25 PDT 2009


Thankyou.

I will try to recover them. I would have to wait for the weekend to do
that because I can't afford to down a OST during work hours....

TIA


On Wed, Mar 25, 2009 at 5:25 AM, Daire Byrne <Daire.Byrne at framestore.com> wrote:
> Mag,
>
> ----- "Mag Gam" <magawake at gmail.com> wrote:
>
>> To do the ll_recover_lost_found_objs, can we have everything mounted
>> up? Or is it recommended we unmount everything?
>
> You only need to unmount the "damaged" OST and remount it with "-t ldiskfs".
>
>> Also what to do when we see ????? for the file attributes. Most
>> likely
>> these files are gone, how can we remove them from the system all
>> together?
>
> You should still be able to delete them. This will delete the entry on the
> MDS but the deletion of the missing object on the OST will just fail. You
> should try recovering the lost+found objects first though.
>
> Daire
>
>
>> On Wed, Mar 11, 2009 at 11:59 PM, Andreas Dilger <adilger at sun.com>
>> wrote:
>> > On Mar 11, 2009  19:33 +0100, Reto Gantenbein wrote:
>> >> We recently had a hardware defect on one of our storage arrays
>> which
>> >> broke the file system on this device. After running e2fsck on the
>> file
>> >> system, I was able to mount the device again as lustre file
>> system.
>> >> However, a lot of data was written into the lost+found. Now we have
>> a
>> >> problem, that the MDS however didn't recognize that these files
>> are
>> >> not available anymore and so still lists them. But then they are
>> not
>> >> accessible which results in a I/O-Error.
>> >
>> > If the objects are in lost+found on the OST then I'd suggest first
>> > to use the "ll_recover_lost_found_objs" on the filesystem
>> (unmounted
>> > from Lustre, mounted locally as "-t ldiskfs").  This will recover a
>> > majority of your objects (=file data).
>> >
>> > Cheers, Andreas
>> > --
>> > Andreas Dilger
>> > Sr. Staff Engineer, Lustre Group
>> > Sun Microsystems of Canada, Inc.
>> >
>> > _______________________________________________
>> > Lustre-discuss mailing list
>> > Lustre-discuss at lists.lustre.org
>> > http://lists.lustre.org/mailman/listinfo/lustre-discuss
>> >
>> _______________________________________________
>> Lustre-discuss mailing list
>> Lustre-discuss at lists.lustre.org
>> http://lists.lustre.org/mailman/listinfo/lustre-discuss
>



More information about the lustre-discuss mailing list