Date: Mon, 30 Mar 1998 16:22:15 -0700 (MST) From: Tony Jones <tony@rtd.com> To: hackers@FreeBSD.ORG Subject: help! scsi disk recovery question Message-ID: <199803302322.QAA04585@seagull.rtd.com>
next in thread | raw e-mail | index | archive | help
Hi I managed to (ahem) drop my system (just an inch - don't ask) while booting and it hung. Rebooted and I started to get MEDIUM scsi errors reported by the NCR controller on scsi id 3 (a 1GB Seagate Hawk ST31051N) Couldn't do anything to the disk, no dd of the device, no fsck with backup superblock, no newfs -N etc without getting the MEDIUM errors, a message about being unable to read the primary partition table and finally an I/O error. I also (ahem) don't have a recent backup of the data. I took the disk into work, hooked it upto a Sparc and tried to see what backup said about the drive. It complained it wasn't formatted and wouldn't do much else. Grown flaw table was empty. So, I hooked it to another PC with a 2940 and ran the scsi bios surface scan. It spared out the first block and passed the rest. Hooked it back upto the Sparc and it now saw a formatted but bogusly labelled disk. Took a look at the grown flaw table and there is now one flaw at cyl 0 head 0 bfi 0 The Sparc read-only surface scan passed OK too. At this point I was amazed. The disk is I believe "dangerously dedicated"? When I added it I just zeroed the first few blocks of the disk with 'dd' and did a 'disklabel -rw sd3 auto' (did it this way because I couldn't get FDISK to behave sensibly). The disklabel has partitions=8 with just c and h partitions defined (h=c=whole disk). So, I have two questions: 1) Can I recover the FS ? If so, what are the steps. 2) Could I have used FreeBSD tools to do what the Sparc and 2940 utilties did for me ? If so, which ones ? Yes I did RTFM, but nothing jumped out at me. Please CC me on a reply, as I only get the DIGEST. Thanks Tony To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803302322.QAA04585>
