Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2001 04:07:33 +0200
From:      Walter Hop <walter@binity.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Harddrive problems -- urgent, help appreciated
Message-ID:  <13889337831.20010713040733@binity.com>

next in thread | raw e-mail | index | archive | help
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 <walter@binity.com> | +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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13889337831.20010713040733>