From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076339121349.tru64-unix-managers.marc@archive.invalid> From: dboyle () liquidaccess ! net (Dave C ! Boyle) Date: Mon, 09 Sep 1996 07:14:12 +0000 To: tru64-unix-managers Subject: SUMMARY: Adding Quantum Atlas XP34300 + another question X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076339121349 First the question, how does one change the rpm's on a non-disktab listed drive? (Quantum XP34300 should be listed as 7200 but is listed as 3600, I don't know if this will directly effect things, the drive seems to be running fine I just don't want it to die because of an inproper setting) Now for the summary: Thanks out to: Dan Gulkis alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) (Interesting title ) olle@cb.uu.se (Olle Eriksson) Both Dan and Olle recommended MAKEDEV's, and Alan went that extra mile (thanks much) and explained in detail how to get it working (and other than the rpm issue it seems to be working fine) Here is his recommendation (original post is quoted): >Exactly how does one get Digital Unix (3.2C running on a 1000 4/266) to see >an externally connected SCSI drive? Once you have drive correctly connected, the SCSI disk driver should be able to see any SCSI-2 compliant disk without much additional work. If you connected the disk with the system shutdown, use the console to verify that you can see the disk. For most systems the console "Show device" command is sufficient, if the external bus is built-in. For add-on SCSI controllers you may need different commands, so check the system documentation. Once the system console can see the device, it virtually certain that the SCSI driver will see the device when the system boots. If you managed to add the device without shutting the system down (possible and safe with StorageWorks bricks), then you can force the SCSI driver to rescan the bus using the scu(8) command. The command is: # scu scan edt bus # # scu show edt bus # The tailing # should be filled in with the appropriate bus number. V4.0 will scan all busses, if the "bus #" part is left off. The 2nd command will print what was found on the bus, so that you can verify everything you expect is found. >I have been poking around and found references to mknod and the >like, but I always get confused about what the target for the >drive is. For disk and tape devices, it is best to use /dev/MAKEDEV. It knows the rules for constructing the major and minor device number that must be used with mknod. Since a typical disk will have 16 devices (8 partitions, buffered and raw devices), it is best to let MAKEDEV worry about the details. The argument is the base device name. For SCSI disks this is "rz#", where this "#" is found (bus-number * 8) + SCSI-id. The SCSI ID is also the target number, which is the SCSI specification term for it. Once you have the special device files created, you should use the disklabel command to label it. That will allow customizing the partition table: # disklabel -wr /dev/rrz#c disk-type If the device is well behaved, it will puts it geometry information in a set of mode pages that the host can query. The disklabel command has an interface to this feature and can get the geometry without the need for disktab entry. _____________________ Here is the disklabel generated for those who are interested: type: SCSI disk: RZxx label: flags: dynamic_geometry bytes/sector: 512 sectors/track: 109 tracks/cylinder: 20 sectors/cylinder: 2180 cylinders: 3907 sectors/unit: 8399520 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize cpg] a: 131072 0 unused 0 0 # (Cyl. 0 - 60*) b: 262144 131072 unused 0 0 # (Cyl. 60*- 180*) c: 8399520 0 unused 0 0 # (Cyl. 0 - 3852*) d: 0 0 unused 0 0 # (Cyl. 0 - -1) e: 0 0 unused 0 0 # (Cyl. 0 - -1) f: 0 0 unused 0 0 # (Cyl. 0 - -1) g: 8006304 393216 4.2BSD 1024 8192 16 # (Cyl. 180*- 3852*) h: 0 0 unused 0 0 # (Cyl. 0 - -1) Thanks as always, this list is a godsend... -Dave ___________________________________________________________________________ "Life feeds on life feeds on life... This is necessary!" -Tool "Dole and Kemp, In God We Trust, Go To Church and Not to Hell" -Dole Sign "For I am nothing, but my sin, Until I learn, to caste them in" -Peter Murphy ___________________________________________________________________________ Dave C. Boyle System Exorcist/Technical Director Media Access Systems, Inc. PO Box 14917 makers of Scottsdale, AZ 85267 Liquid Access, WICKEDFASTinternet 602.614.1884 917.381.0879 beeper 602.614.1872 fax If you need to send me a beep drop mail to: beeper@liquidaccess.net dboyle@liquidaccess.net http://www.soho.net/soho/dave/index.html ___________________________________________________________________________