From owner-freebsd-stable Sat Feb 26 15:50:11 2000 Delivered-To: freebsd-stable@freebsd.org Received: from bolero-x.rahul.net (bolero.rahul.net [192.160.13.1]) by hub.freebsd.org (Postfix) with SMTP id 0629637BE28 for ; Sat, 26 Feb 2000 15:50:08 -0800 (PST) (envelope-from dhesi@rahul.net) Received: from bolero.rahul.net by bolero-x.rahul.net with SMTP id AA25745 (5.67b8/IDA-1.5 for ); Sat, 26 Feb 2000 15:50:06 -0800 Received: from q.bolero.rahul.net (bolero.rahul.net [192.160.13.1]) by bolero.rahul.net (Postfix) with SMTP id 6973B3FF09 for ; Sat, 26 Feb 2000 15:50:05 -0800 (PST) Received: (qmail 25721 invoked from network); 26 Feb 2000 23:50:05 -0000 Received: from waltz.rahul.net (192.160.13.9) by bolero.rahul.net with SMTP; 26 Feb 2000 23:50:05 -0000 To: freebsd-stable@freebsd.org Subject: disk repair on SunOS Date: Sat, 26 Feb 2000 15:50:03 -0800 From: Rahul Dhesi Message-Id: <20000226235005.6973B3FF09@bolero.rahul.net> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG A disk on one of my machines that run SunOS was showing a frequent error: Feb 24 15:04:26 samba vmunix: sd16f: Error for command 'read(10)' Feb 24 15:04:26 samba vmunix: sd16f: Error Level: Retryable Feb 24 15:04:26 samba vmunix: sd16f: Block 2032880, Absolute Block: 6717879 Feb 24 15:04:26 samba vmunix: sd16f: Sense Key: Media Error Feb 24 15:04:26 samba vmunix: sd16f: Vendor 'SEAGATE' error code: 0x11 I put the machine into single-user mode, unmounted the filesystem on that disk, invoked the format command, selected that disk, gave the 'repair' command, and when asked for the block number, I typed 6717879. It said the block had been repaired. I exited the format utility and went back into multiuser mode. My questions for the FreeBSD experts: - How does SunOS do it? - Could FreeBSD do it too? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message