From owner-freebsd-questions Fri Apr 2 4:32:53 1999 Delivered-To: freebsd-questions@freebsd.org Received: from alpha.comkey.com.au (alpha.comkey.com.au [203.9.152.215]) by hub.freebsd.org (Postfix) with SMTP id 0A4CE14E6F for ; Fri, 2 Apr 1999 04:32:44 -0800 (PST) (envelope-from gjb@comkey.com.au) Received: (qmail 13776 invoked by uid 1001); 1 Apr 1999 21:36:05 -0000 Message-ID: <19990401213605.13775.qmail@alpha.comkey.com.au> X-Posted-By: GBA-Post 1.04 06-Feb-1999 X-PGP-Fingerprint: 5A91 6942 8CEA 9DAB B95B C249 1CE1 493B 2B5A CE30 Date: Fri, 02 Apr 1999 07:36:05 +1000 From: Greg Black To: Tomas Reilly Cc: freebsd-questions@FreeBSD.ORG Subject: Re: data recovery? References: <37038786.72D1C6FA@nuigalway.ie> In-reply-to: <37038786.72D1C6FA@nuigalway.ie> of Thu, 01 Apr 1999 15:49:42 +0100 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I have lost /usr which contains all my important files etc If the files are important, they are backed up somewhere and you restore them from the backups after (at least) running newfs on the affected file systems. > Now all i am left with is /usr and a lost+found directory which > contains thousands of files prefixed with a # eg #691843 (last file) > I haven't even got the basic tools to look at the files, like the > command more for example! Assuming you have an undamaged root file system (which may not be the case), you can use ls to tell you something about the files and ed to look at them if they're text files and mv to rename them to something that helps a bit. However, if there are thousands of files, this will take forever and the general task is probably too hard for somebody who is not an expert, given the probable overall state of corruption on the disk. This is why the first answer I gave is the right answer. If you have data that is important, you must make backups. No ifs, no buts. If you can't do this, then don't create stuff that you couldn't bear to lose. -- Greg Black To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message