xfs
[Top] [All Lists]

Re: Help ... missing directory

To: Brice Ruth <brice@xxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
Subject: Re: Help ... missing directory
From: "Nathan Scott" <nathans@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Dec 2000 12:39:34 -0400
Cc: netatalk-admins@xxxxxxxxx
In-reply-to: Brice Ruth <brice@webprojkt.com> "Help ... missing directory" (Dec 14, 7:08pm)
References: <3A396F0A.20508@webprojkt.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
hi Brice,

On Dec 14,  7:08pm, Brice Ruth wrote:
> Subject: Help ... missing directory
> Let me preface this message: I'm DESPERATE
> 
> OK, that being said, here goes:
> 
> My setup:
> SMP i686 (PIII) running linux-2.4-xfs from CVS updated 12/11/2000 around 
> 9pm (CST).
> 
> I have a 20GB ide disk dedicated to XFS.  The main use of the disk is as 
> a shared drive (via Appletalk) to our small group of designers.  Late 
> this evening (about an hour ago) a designer noticed a directory missing 
> from the share.  I logged into the server, did an ls of the share and 
> sure enough, the directory was gone.
> ...
> Obviously these aren't entries from XFS, they're from netatalk.  What I 
> need to know is if there is ANY (I truly mean *ANY*) way to turn back 
> the clock.  I'm not familiar enough with the XFS tools to play around 
> with them without fear of trashing something else.  I tried to use 
> xfs_logprint, but wasn't able to actually understand anything.
> 

I think the best thing you can do is unmount the filesystem
and run xfs_repair(8) on the block device.  Use the -n option
(no writes) at first to see whether it is going to do anything.

If xfs_repair shows no fs corruption, I don't think there's much
else you can do.  If the directory was somehow corrupted, then
xfs_repair will move its disconnected children into the
/lost+found directory, and you could still have everything else
intact.

hope this helps.

cheers.

-- 
Nathan

<Prev in Thread] Current Thread [Next in Thread>