Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!orion.oac.uci.edu!hardy From: hardy@golem.ps.uci.edu (Meinhard E. Mayer (Hardy)) Newsgroups: comp.sys.hp Subject: Third-party SCSI disks under HP-UX Message-ID: Date: 6 Feb 91 06:38:24 GMT Distribution: comp.sys.hp Organization: U.C.Irvine, Dept. of Physics Lines: 114 Nntp-Posting-Host: golem.ps.uci.edu Some time ago there were several queries regarding third-party SCSI disks for HP-systems. Today I succeeded in formatting and mounting a disk I have on trial from a local supplier *Andataco*. It is an Andataco 509 A (in fact a Maxtor XT-8760S in an Andataco enclosure), 667 MB disk which is used on many Suns and DECs on our campus. Andataco (andataco!ucsd.edu!inquire; our local rep is Dan Nickel, (714) 248-7125) sells it with a 5-year warranty with a 24-hour exchange service (I won't quote the asking price, since it may depend on their contract with the University, but it did not sound unreasonable). There is also an 800 number for Andataco. Here is what needs to be done to install it (as previously remarked by someone, SAM refuses to recognize the appropriate entries in /etc/disktab, so things have to be done by hand; note that I did not get the maximum capacity out of the disk, since I did not have time to fine tune the disktab entries; I will do it when I decide to buy the disk). ---------------- INSTRUCTIONS FOR INSTALLING THE ANDATACO DISKS ON HP-UX STEP 1. Make the following (or equivalent) entries in /etc/disktab #ANDATACO = MAXTOR XT-8760S XT8730S ## s0 = ns * nt * nc ## nc 1632 and 660959 did not work ## MAXTOR XT-8760S and_ns|andataco_noswap|maxtor8760_noswap:\ :No swap:ns#27:nt#15:nc#1629:\ :s0#659745:b0#8192:f0#1024:\ :se#512:rm#3600: and_40|andataco|maxtor8760:\ :40 Mbytes swap:ns#27:nt#15:nc#1533:\ :s0#621270:b0#8192:f0#1024:\ :se#512:rm#3600: ## XT8730S --- this is their smaller 353 MB drive and507_ns|andataco8730_noswap|maxtor8730_noswap:\ :No swap:ns#27:nt#8:nc#1629:\ :s0#351864:b0#8192:f0#1024:\ :se#512:rm#3600: and507_40|andataco8730|maxtor8730:\ :40 Mbytes swap:ns#27:nt#8:nc#1444:\ :s0#311904:b0#8192:f0#1024:\ :se#512:rm#3600: ****(experiment with the values -- for me the entry and_40 worked and yielded the results given below).*** STEP 2. Using mknod make the two device entries /dev/dsk brw-r--r-- 1 root sys 7 0x0e0200 Feb 5 13:44 2s0 /dev/rdsk crw-rw-rw- 1 root other 47 0x0e0200 Feb 5 13:05 2s0 (see man-page for mknod) This assumes that the Andataco drive is at address 2 (use whatever is free). STEP 3. Halt the computer, switch everything off. Connect the Andataco drive with terminator to the scsi connector on the root drive, and set its address to 2 (or whatever is free in your scsi loop). Switch on the drive, and restart the computer. STEP 4. Mediainit: Log in as root, you don't have to be in single-user mode since the drive is not yet active. Run mediainit: (excerpts from script file of actual initialization) root@golem:/dev/rdsk[55] medianinit -v /dev/rdsk/2s0 root@golem:/dev/rdsk[56] mediainit: initialization process starting mediainit: locking SCSI device mediainit: initializing media mediainit: initialization process completed STEP 5. Make a new file system on the disk. Use newfs with the appropriate entry in /etc/disktab: (excerpt from script file with and_40 entry -- more MB could have been obtained but I did not try): root@golem:/etc[61] /etc/newfs /dev/rdsk/2s0 and_40 /dev/rdsk/2s0: 621270 sectors in 1534 cylinders of 15 tracks, 27 sectors 636.2Mb in 96 cyl groups (16 c/g, 6.64Mb/g, 2048 i/g) super-block backups (for fsck -b#) at: 16, 6528, 13040, 19552, 26064, 32576, 39088, 45600, 52112, 58624, ............. (lots more) 583536, 590048, 596560, 603072, 609584, 616096, STEP 6. Mounting the file system root@golem:/etc[62] cd / root@golem:/[63] mkdir disk2 root@golem:/[67] /etc/mount /dev/dsk/2s0 /disk2 root@golem:/[68] bdf Filesystem kbytes used avail capacity Mounted on /dev/dsk/0s0 247662 208497 14398 94% / /dev/dsk/2s0 595140 9 535617 0% /disk2 script done on Tue Feb 5 13:12:18 1991 Now you can move directories to disk2 as described in the System Administrator Task manual. I found that using rcp -r (via a diskless node), was much quicker -- the only disadvantage was that the modification dates were changed. I might post a follow-up when I have more data. Hardy Mayer ----****---- Professor Meinhard E. Mayer Department of Physics University of California Irvine, CA, 92717 USA