From owner-freebsd-questions Fri Sep 24 16:57: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id E70CE15076 for ; Fri, 24 Sep 1999 16:57:03 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id JAA66003; Sat, 25 Sep 1999 09:26:38 +0930 (CST) Date: Sat, 25 Sep 1999 09:26:38 +0930 From: Greg Lehey To: "Scott B. Corey" Cc: "Oleg L. Tortseff" , freebsd-questions@FreeBSD.ORG Subject: Re: Problem with repearing damaged filesystem! Message-ID: <19990925092638.Z54407@freebie.lemis.com> References: <199909240823.MAA71704@dmitrov.ru> <99092409182802.02376@dialup17ip116> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <99092409182802.02376@dialup17ip116>; from Scott B. Corey on Fri, Sep 24, 1999 at 09:02:50AM -0700 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, 24 September 1999 at 9:02:50 -0700, Scott B. Corey wrote: > On Fri, 24 Sep 1999, Oleg L. Tortseff wrote: >> Hello, people! >> >> I have an HDD and %subj%. :( >> >> When i'm tryin' do something like 'disklabel -r wd3' system is sayin' to me: >> 'disklabel: /dev/rwd3c: Undefined error: 0' >> Same message I see when i'm launching disklabel with other options. :( >> >> What do I need to do to repear filesystems on HDD in this case? All data on it >> is present and readable with DiskEditor (from Norton Utilities packet), but >> filesystems are fragmented and many files on it are in pieces... > > Read man fsck > Download fixit.flp from the floppies directory at ftp.ru.freebsd.org or if you > have the CD, it is in /cdrom/floppies > Make a fixit floppy: > run fsck on /dev/wd3c This is not correct. You run fsck against the individual file systems, not the c partition, which represents the entire disk. Oleg's error message indicates that the file label is so messed up that he can't even read it. This is bad stuff. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message