*BSD News Article 66527


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!in-news.erinet.com!imci5!imci4!newsfeed.internetmci.com!swrinde!howland.reston.ans.net!surfnet.nl!wwwserv1.shell.nl!news
From: Kolbjørn Halvorsen <k.halvorsen@norskeris.simis.com>
Newsgroups: comp.unix.misc,comp.unix.bsd.misc,comp.unix.solaris,comp.unix.admin,comp.unix.questions
Subject: Re: SunOS 4.1.1 and Large Drives
Date: Mon, 22 Apr 1996 16:48:17 +0200
Organization: SCIS
Lines: 51
Distribution: inet
Message-ID: <317B9C30.41C67EA6@norskeris.simis.com>
References: <3173F2F2.41C67EA6@oric.com> <4l8k0n$9u3@natasha.rmii.com>
NNTP-Posting-Host: gate.shell.nl
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mozilla 2.01 (X11; I; SunOS 4.1.3_U1 sun4m)
Xref: euryale.cc.adfa.oz.au comp.unix.misc:22137 comp.unix.bsd.misc:789 comp.unix.solaris:66608 comp.unix.admin:40933 comp.unix.questions:80534

krw wrote:
> 
> Ankush Narula (narula@oric.com) wrote:
> : Hello,
> :   I'm attempting to attach a 9GB Seagate Elite to a Sun
> : SPARCstation II.  I've managed to set the proper SCSI-ID
> : and terminated the drive at the end of my SCSI chain.  When
> : I boot the system, it tells me that it has found Target 4
> : on esp0:   However, it does not assign it to a driver
> : in /dev/  I've already got three drives installed - (sd0-2)
[cut]
 
> 
> Well, I just installed an 8.5 gig drive on SunOS 4.1.3.  I had
> exactly the same problem.. but I noticed that one of my partitions
> worked fine.  Finally, after a lot of waiting for the darned
> newfs command, I discovered tht I could hot have more than 1209
> cylinders per partition... this comes to about 2.1 gig. (How about
> that?!)
[cut]


Of course you can use 9Gb disks under SunOS 4.1.1!

However, SunOS 4.x does not automatically reconfigure the kernel the way
SunOS 5.x does. The GENERIC kernel only has support for targets 0,1,2,3
(sd3, sd1, sd2, sd0 respectively, IIRC)
Change the target ID of the new drive to 0 (=> sd3) and you should be in
business. Alternatively, keep the disk as target 4 and add the following
line to your kernel configuration file:
disk sd4 at scsibus0 target 4 lun 0
in the 'scsibus0 at esp' section. Then rebuild the kernel and install.


In addition, you'll need to keep your disk partitions below approx. 2.1
Gb.

One other potential problem with such large disks under 4.x is that
format might time out during formatting. The following workaround can be
used in that case:

Change SD_FMT_TIME in /sys/scsi/targets/sddef.h from 120*60 to 240*60,
then rebuild the kernel and install it.


Hope this helps,


Kolbjørn Halvorsen             k.halvorsen@norskeris.simis.com
UNIX Systems Administrator     kolbjorn@hsr.no
A/S Norske Shell               (+47) 516 93 069 / (+47) 920 51 691