Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: robm@test-kiosk.eecs.berkeley.edu (Rob McNicholas)
Subject: Re: Bad Disk blocks - What to do?
Date: 1997/07/01	[thread overview]
Message-ID: <ww4oh8mfi3i.fsf@test-kiosk.eecs.berkeley.edu> (raw)
In-Reply-To: 33B95BCB.DD30C08E@starnet.com


In article <33B95BCB.DD30C08E@starnet.com> Steven Schoch <sschoch@starnet.com> writes:
   Steven Berry wrote:
   > You use the disklabel command to partition the disk (up to 8
   > partitions
   > allowed) and the newfs command to create a filesystem on a device.

   Been there, done that.

   The disklabel and newfs commands only partition the drive and create
   filesystems on it.  They do NOT do bad block forwarding.

   What I'm looking for is something like the Solaris "format ... analyze"
   or the old "bad144" commands.  Any help?


I'm afraid I missed the beginning of this thread, but if you are
talking about Digital Unix, I think you can do this with the "scu"
program ("SCSI CAM Utility").  There is an extensive man page, in
which is mentioned the "reassign" command:

     reassign lba n
       Reassigns a defective block on a disk device.

Hopefully this is what you are looking for.

-rob
-- 
Rob McNicholas		  Computer Services Group, EE/CS, U.C. Berkeley
robm@eecs.berkeley.edu	  Voice: 510/642-8633  FAX: 510/643-7846



  reply	other threads:[~1997-07-01  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-30  4:00 Bad Disk blocks - What to do? Steven Schoch
1997-07-01  4:00 ` Steven Berry
1997-07-01  4:00   ` Steven Schoch
1997-07-01  4:00     ` Rob McNicholas [this message]
1997-07-03  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox