From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,97c1fa90713faec2 X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: Box DEC3000 and Hard disk Quantun Date: 1996/11/25 Message-ID: <57ctip$fv8@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 200898325 distribution: world references: <329578C1.38AA@dsea.unipi.it> organization: Digital Equipment Corporation reply-to: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) newsgroups: comp.unix.osf.osf1 In article <329578C1.38AA@dsea.unipi.it>, Alessandro Coppelli > Scenario > ======== > > Box Digital DEC3000 with OSF1 cdrom ( scsi 4 ) and hard disk 1.5 > GB ( scsi 3 ). > What I must to do "DEC3000" describes three general types of systems; the Model 300 family, the desktop 400/600/700 systems and the deskside 500/800/900 model systems. The answer will vary slightly for each. The 400 class family and 500 class family have two SCSI adapters, one for internal devices and one for external. The easiest way to add a device is on the external bus, because it will probably the last amount of new hardware, unless the disk is a bare disk with no enclosure. For mounting a disk inside the box, you'll want a mounting bracket appropriate to the system. In the diskside systems, the disks were mounted on their side and a bracket was essential to keep it from falling to the bottom of the box. The disks in the desktop 400 class box, sat flat, but could move around without a bracket. You may want to go back to the vendor to see what they can provide in the way of mounting hardware or enclosures. I don't think we ever sold empty brackets. More generally, remove any internal terminators on the drive, since the bus will typically be terminated at the controller end and at the end of the physical bus. If the drive isn't in an enclosure, the drive will typically have a set of pins that are jumpered to set the SCSI ID. The drive documentation should indicate how to do this. Once the drive is installed, use the system console to verify you can see the drive. If the console firmware can't see, you have a problem and should continue until it is solved. The console command "Show device" will be sufficient to show devices on the internal and external bus. All the 3000 family also support additional SCSI adapters and you have to use a different command to see what devices are on those: >>>t tc# cnfg where '#' is the TURBOchannel number of the additional adapter. Once you have the disk setup so that the console correctly identifies it, boot the system. All versions of Digital UNIX will be quite happy to probe the SCSI bus to find whatever devices are there, irrelevent of what is built into the kernel. Some versions needed hints for other reason; what devices are system disks, what device should have I/O stats collected, etc, but these are fixed by V3.2C. If the device is cleanly found by the kernel without errors, you can create the special device file for using MAKEDEV: # cd /dev # ./MAKEDEV rz# where this '#' is the drive number found from (bus * 8) + target-id. The internal bus, is always 0 and the built-in external bus is #1. Since your target-id will probably be zero, this give either rz0 or rz8. I think V4.0 will create the special device files for you when it discovers tape or disk devices. With the special device file you can label the drive and start to use it. If the drive is well behaved and follows SCSI conventions for putting the drive geometry in the right mode pages, the disklabel command can get the geometry from the drive. You shouldn't need a disktab entry: # disklabel -wr /dev/rrz0c quantum With the disk labeled, newfs or other file system creation will get the information they need from the label: # newfs /dev/rrz0c # mkfdmn domain /dev/rz0c > Alessandro > -- Alan Rollow alan@nabeth.cxo.dec.com