From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1619952935ceb05a X-Google-Attributes: gidfee84,public From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Subject: Re: how to add disk on Digital Unix 3.2? Date: 1996/08/30 Message-ID: <507igl$cm1@dogbert.cc.ndsu.NoDak.edu>#1/1 X-Deja-AN: 177497038 references: <4vsteo$l28@nuke.csu.net> <3227327F.550C@fhk.smtp.usz.ch> content-type: text/plain; charset=US-ASCII organization: North Dakota Higher Education Computing Network (NDHECN) mime-version: 1.0 newsgroups: comp.unix.osf.osf1 In article <3227327F.550C@fhk.smtp.usz.ch>, Christoph Nievergelt wrote: > Assuming you have set the SCSI ID of the second disk to 1, do the > following: > > cd /dev > ./MAKEDEV rz1 > > This should do the trick. Assuming there's an entry in the kernel for the device, of course. The cookbook approach is: 1) cp /vmunix /vmunix.bak 2) cp /genvmunix /vmunix 3) shutdown -h +5 "Adding a disk... back in a few" 4) (once it has halted, at the console >>> prompt): boot -fl s 5) (once you've booted to single user mode): a) if you have LSM: /sbin/lsmbstartup b) /sbin/bcheckrc 6) (at this point you're in single user mode with filesystems mounted, now build a new kernel): doconfig 7) build the kernel as you normally would (see the admin guide if you're unfamiliar with this procedure). 8) once the kernel is built, cp /sys//vmunix /vmunix 9) shutdown -r now 10) When the new kernel boots, you should see it mention the disk you've added to the system. 11) at this point, the kernel knows about the drive. Now just make some device files, as Chrisoph suggested above: cd /dev ./MAKEDEV rz The quicker way of doing this would have been to edit /sys/conf/, and add an entry for the new disk (copy one of the existing disk device entries, and modify appropriately) and then rebuild the kernel like: doconfig -c then just cp the kernel into place and reboot. Steps 1-6 above essentially do this procedure for you. Tim -- Tim Mooney mooney@toons.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J1, IACC Bldg. (701) 231-8541 (FAX) North Dakota State University, Fargo, ND 58105