From owner-freebsd-questions Tue Nov 19 3:41:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E308637B401 for ; Tue, 19 Nov 2002 03:41:30 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 795AB43E77 for ; Tue, 19 Nov 2002 03:41:29 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gAJBfMx2039825 for ; Tue, 19 Nov 2002 11:41:22 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gAJBfHBe039824 for FreeBSD-questions@FreeBSD.ORG; Tue, 19 Nov 2002 11:41:17 GMT Date: Tue, 19 Nov 2002 11:41:17 +0000 From: Matthew Seaman To: FreeBSD-questions Subject: Re: Lost + Found Message-ID: <20021119114117.GC38941@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , FreeBSD-questions References: <005201c28fb3$e5cbeca0$0801a8c0@dman> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <005201c28fb3$e5cbeca0$0801a8c0@dman> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-2.2 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_03_05, TO_LOCALPART_EQ_REAL,USER_AGENT,USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Nov 19, 2002 at 12:10:33PM +0200, Doron Shmaryahu wrote: > I had a server which due to power problems rebooted a couple of times. I did > a fsck, because it kept complaining about inconsistencies. > Now some directories seem to have moved. I located them in lost + found. Is > there any way to recover these files from there ?? lost+found is where fsck(8) puts files or directories it finds on the disk but that it can't place correctly into the filesystem because of damage to directories further up the tree. Just mv(1) the data back to where it came from. Unfortunately, there's no record kept on the system of where that was, so you'll just have to remember for yourself as well as you can. Note that if you're seeing stuff in lost and found, then it's quite possible that there were other files that have disappeared completely. You may have to recover the partition from backup to ensure that everything is consistent. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message