From owner-freebsd-questions@FreeBSD.ORG Mon Oct 4 23:35:05 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB09D16A4CE; Mon, 4 Oct 2004 23:35:05 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id C556143D46; Mon, 4 Oct 2004 23:35:05 +0000 (GMT) (envelope-from rob3@pythonemproject.com) Received: from pythonemproject.com (c-67-169-203-186.client.comcast.net[67.169.203.186]) by comcast.net (rwcrmhc12) with ESMTP id <2004100423350501400s4ajme> (Authid: europax); Mon, 4 Oct 2004 23:35:05 +0000 Message-ID: <4161DEAB.8070803@pythonemproject.com> Date: Mon, 04 Oct 2004 16:37:15 -0700 From: Rob User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rene Ladan References: <20041004112027.GA1692@dyn202-hg.nbw.tue.nl> In-Reply-To: <20041004112027.GA1692@dyn202-hg.nbw.tue.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org cc: freebsd-hardware@freebsd.org Subject: Re: harddisk dying? / How do I fix superblock on SCSI drive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2004 23:35:06 -0000 Hi, Your post may be timely for me. How do you copy an alternate superblock on a SCSI hard drive to replace the main superblock? Mine got corrupted. I did this routine once before on an IDE drive and it worked great. But on SCSI, I understand less of how the drive works, so I don't know whether to use fsck or camcontrol or what. Any pointers to info on the web or FreeBSD site would be helpful too. I have read the manual material on SCSI drive related commands, but I am very confused. My drives are later model SCSI-160 types, with an Adaptec 29160 controller board. The drive is using UFS2 and UFS, as this is an AMD64 box, and I have a FreeBSD 5.3beta 32bit partition in there too. Cable is properly terminated and I'm using new low profile round SCSI cables. I don't know what I did to cause this. Thanks for anyone who can help. Sincerely, Rob