home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!olivea!sgigate!odin!twilight!zuni!anchor!olson
- From: olson@anchor.esd.sgi.com (Dave Olson)
- Newsgroups: comp.unix.aix
- Subject: Re: Adding SCSI OSDISK
- Message-ID: <uk19il4@zuni.esd.sgi.com>
- Date: 8 Jan 93 09:05:40 GMT
- References: <1993Jan6.105119.1266@yvax.byu.edu> <19930107.062511.795@almaden.ibm.com> <C0I05H.1A5I@austin.ibm.com>
- Sender: news@zuni.esd.sgi.com (Net News)
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Lines: 30
-
- In <C0I05H.1A5I@austin.ibm.com> swan@austin.ibm.com (Randal C. Swanberg) writes:
-
-
- | In article <19930107.062511.795@almaden.ibm.com>, russotto@vnet.ibm.com (Matthew T. Russotto) writes:
- | >
- | > Many disks have a jumper which set whether they spin-up on power-on
- | > or only when they receive a SCSI start. Would an request to spin up
- | > when the disk was already spun up give that result code?
- | >
- | > Some disks always spin up on power up, and probably wouldn't like SCSI
- | > start at all... will such disks work with AIX?
- |
- | All of the SCSI disks that we have experience with (i.e. IBM Japan 160MB, IBM
- | Havant 857MB, IBM Rochester 320MB, 400MB, 1 GB, MAXTOR 355MB, 670MB, Seagate 1GB,
- | ...and I'm sure there are others) basically no-op a SCSI Start-Unit if the disk
- | is already spun-up.
- |
- | If a disk will not allow a Start-Unit when already spun-up, then the answer
- | is NO, it won't work with AIX. The SCSI disk driver issues a Start-Unit command
- | on the first open() to the disk. Basically I guess the assumption that the AIX
- | SCSI Driver makes is that a)the disk may be spun down and b)if it isn't the
- | Start-Unit command will be a no-op, not an error.
-
- But why fail at that point? The obvious thing to do is to follow
- a startunit (failed or successful!) with a testunitready, and only
- cause a failure if the testunitready says the drive isn't ready...
- --
- Let no one tell me that silence gives consent, | Dave Olson
- because whoever is silent dissents. | Silicon Graphics, Inc.
- Maria Isabel Barreno | olson@sgi.com
-