From owner-freebsd-questions Thu Jul 12 19: 6:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtpf.casema.net (smtpf.casema.net [195.96.96.173]) by hub.freebsd.org (Postfix) with SMTP id B680737B405 for ; Thu, 12 Jul 2001 19:06:34 -0700 (PDT) (envelope-from walter@binity.com) Received: (qmail 31467 invoked by uid 0); 13 Jul 2001 02:06:32 -0000 Received: from unknown (HELO slash.b118.binity.net) (195.96.105.133) by smtpf.casema.net with SMTP; 13 Jul 2001 02:06:32 -0000 Received: from silver.b118.binity.net (silver.b118.binity.net [172.18.3.10]) by slash.b118.binity.net (Postfix) with ESMTP id 8450A151 for ; Fri, 13 Jul 2001 04:05:28 +0200 (CEST) Date: Fri, 13 Jul 2001 04:07:33 +0200 From: Walter Hop X-Mailer: The Bat! (v1.52f) Educational Organization: Binity X-Priority: 3 (Normal) Message-ID: <13889337831.20010713040733@binity.com> To: FreeBSD Questions Subject: Harddrive problems -- urgent, help appreciated MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Hi all, to my shock I saw the nightly dump(8) output of my machine, which freaked me out: [...normal dump output...] DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: read error from /dev/ad0s1a: Invalid argument: [block -522960426]: count=8192 DUMP: read error from /dev/ad0s1a: Invalid argument: [sector -522960426]: count=512 DUMP: read error from /dev/ad0s1a: Invalid argument: [sector -522960425]: count=512 [...500+ lines of errors from dump...] The kernel reported: Jul 13 03:56:15 angel /kernel: dscheck(#ad/0x20000): negative b_blkno -1025185724 Jul 13 03:56:15 angel /kernel: dscheck(#ad/0x20000): negative b_blkno -1025185723 Jul 13 03:56:15 angel /kernel: dscheck(#ad/0x20000): negative b_blkno -1025185722 Jul 13 03:56:15 angel /kernel: dscheck(#ad/0x20000): negative b_blkno -1025185721 I would assume this means that the harddrive has bad blocks, if it weren't for the negative block/sector numbers. Could this mean that something is wrong with the partition information, or is this normal when a drive fails? I still have a (known good) dump from yesterday available. I guess the current dump will be of questionable value, given there might be errors in the data. I guess the best thing is to: *] buy a new drive *] boot from floppy, fdisk and disklabel it *] mount the drive containing the recent backup *] restore the backups to the new drive Am I correct? This might be all obvious, but I've never had this happen and I've never actually HAD to restore from a dump; so I'd hate to mess things up, since the failing drive contains the root partition as well as a filesystem with important data. Even a short acknowledgement or mental support would be helpful. :) Thanks for your input... walter -- Walter Hop | +31 6 24290808 | Finger for public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message