From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Irene A. Shilikhina" Newsgroups: gmane.os.tru64.managers Subject: [SUMMARY]: Need more information on scu utility Date: Wed, 22 Oct 2003 11:07:35 +0700 (NSD) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1066795755 24176 80.91.224.253 (22 Oct 2003 04:09:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2003 04:09:15 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Oct 22 06:09:13 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1ACAJ7-00054B-00 for ; Wed, 22 Oct 2003 06:09:13 +0200 Original-Received: (qmail 10294 invoked by uid 5); 22 Oct 2003 04:08:54 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 10272 invoked by uid 49493); 22 Oct 2003 04:08:53 -0000 Original-Received: from irene@alpha.iae.nsk.su by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-6.0/5.0):. Processed in 4.536778 secs); 22 Oct 2003 04:08:53 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 22 Oct 2003 04:08:48 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HN500A5L4UN3T@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 22 Oct 2003 00:08:47 -0400 (EDT) Original-Received: from alpha.iae.nsk.su (alpha.iae.nsk.su [193.124.169.61]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HN5008GH4TE7A@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 22 Oct 2003 00:08:17 -0400 (EDT) Original-Received: from alpha.iae.nsk.su (localhost [127.0.0.1]) by alpha.iae.nsk.su (8.12.8/8.12.8) with ESMTP id h9M47h9E001435 for ; Wed, 22 Oct 2003 11:07:43 +0700 (NSD) Original-Received: (from irene@localhost) by alpha.iae.nsk.su (8.12.8/8.12.8/Submit) id h9M47Z1P001436; Wed, 22 Oct 2003 11:07:35 +0700 (NSD) In-reply-to: Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:5620 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5620 Yesterday I wrote I had a spare SCSI disk with one (known through scu verify media) bad block which I'd like to use anyway. I asked what I'd have to do to exclude the bad block from further using and to explain what exactly mbad and reassign scu commands do (I found available scu information not sufficient for me). My thanks go to (in the order of arrival): Uwe Lienig from Germany, Olle Eriksson from Sweden, Thomas Blinn, Roberto Romani, Alan Rollow, these three of HP. The reply by Thomas Blinn contains the essence of what I have to do in this case: If the block is consistently bad and there is no useful data on the disk that you need to save, then just use the scu low-level "format" command to have the disk's firmware reformat the disk. It will not use the block as available for data. It's that simple. You don't have to map out the block manually. Uwe Lienig suggests calling scu> format defects all Roberto Romani explains: reassign will move a bad block to the defect list on the disk [my comment: manually]. If scu fails trying to reassign the lba then perhaps the disk is going bad. Olle Eriksson says /sbin/mbad has nothing to do with scu and Roberto Romani adds that it is used as a diagnostic tool. Alan Rollow, in addition to explanation of reassign command, says: Look through the paper documentation to see if it still has a "Reader's Comments" page. That will have an email address where you can make documentation suggestions. My original mail is under the signature. Thank you all very much again, Irene ************************************************************************* * * * Irene A. Shilikhina e-mail: irene@alpha.iae.nsk.su * * System administrator, * * Institute of Automation & Electrometry, * * Siberian Branch of Russian Academy of Sciences, * * Novosibirsk, Russia * * http://www.iae.nsk.su/~irene * ************************************************************************* * * * The road to hell is paved with good intentions. * * * ************************************************************************* On Tue, 21 Oct 2003, Irene A. Shilikhina wrote: > > The information in man page and help is not sufficient for me to find > an adequate answer to my questions. > > There is a SCSI disk in my disposition of 4.29GB I'd like to use, which > has (the only) one bad block (I know the number due to scu verifying, > and this number is stable). My intension is to declare somehow this block > as bad to bypass it in assigning blocks in formatting (I thought it was > possible to do. Am I wrong?). I can see two commands in scu: mbad and > reassign, but now I don't think I understand them correctly since their > explanation is very short. > > Can you please explain to me WHAT EXACTLY these commands do [perhaps not > what I'm expecting of them :-( ] and what I should do, if at all possible, > to achieve my goal. And what should I have in the file /sbin/mbad.dat? > > Thanks in advance, even for pointing me to some source of comprehensible > information, > > Irene >