[2395] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Program to manipulate SCSI mode pages?

daemon@ATHENA.MIT.EDU (Michael Weller)
Sat Aug 30 21:41:24 1997

Date: 	Sun, 31 Aug 1997 03:26:46 +0200 (MESZ)
From: Michael Weller <eowmob@exp-math.uni-essen.de>
To: Michael Neuffer <neuffer@goofy.zdv.Uni-Mainz.de>
Cc: "Theodore Y. Ts'o" <tytso@MIT.EDU>, linux-scsi@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.96.970830124840.633H-100000@kyle.i-connect.net>

On Sat, 30 Aug 1997, Michael Neuffer wrote:

> On Fri, 29 Aug 1997, Theodore Y. Ts'o wrote:
> > Under Ultrix, there was a really convenient program called rzdisk that
> > allowed you to manipulate the various SCSI mode pages on the disk.  This
> > is where you can configure things like whether or not to spin up the
> > motor on power up (or whether the disk should wait for a SCSI command to

This is not controlled by one of the standardized SCSI-II mode pages.
Either by jumpers or some vendor specific mode page.

> > spin up the motor), etc.  
> > 
> > rzdisk could handled reading the defect list from the drive, reassign
> > bad blocks on the disk, do a low-level format of the disk, etc.
> > 
> > Is there an equivalent program under Linux?  If so, where is it? 
> 
> No, unfortunately so far nobody has written a tool to do this.
> The only tool that comes somewhat near it, is scsiinfo.

Yes and no:

a) scsiinfo does allow access to all mode pages worth noting.
b) reassigning bad blocks should be done by the disk itself. No tool is
   required (except scsiinfo to enable it).
c) I just wrote scsiinfo 1.7 which includes a low level formatter and
   allows you to add own defects. I didn't check, I dunno if it was moved
   to a publically accessible dir ion tsx-11.mit.edu or
   sunsite.unc.edu already though.

Michael.

(eowmob@exp-math.uni-essen.de or  eowmob@pollux.exp-math.uni-essen.de
Please do not use my vm or de0hrz1a accounts anymore. In case of real
problems reaching me try mat42b@spi.power.uni-essen.de instead.)


home help back first fref pref prev next nref lref last post