*BSD News Article 62005


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!news.nsw.CSIRO.AU!mel.dit.csiro.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!zib-berlin.de!narses.hrz.tu-chemnitz.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: SCSI problems performing writes to FAST SCSI-2 drives
Date: 21 Feb 1996 00:39:45 GMT
Organization: Private BSD site, Dresden
Lines: 47
Message-ID: <4gdpkh$hb3@uriah.heep.sax.de>
References: <4fqnbb$f7v@viking.ucsalf.ac.uk> <4fr9rr$t4i@atlas.uniserve.com> <DMu12y.ApB@flatlin.ka.sub.org> <4gd0qq$586@plato.ucsalf.ac.uk>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

mark@plato.ucsalf.ac.uk (Mark Powell) writes:

> >I the ahc driver thinks it needs more then 256 segments for a single
> >request is beyond me, though.  That would mean you are handling it a >
> >1MB (256 * 4KB per page) request, which is a bit to large for a partition
> >table.
> 
> Is this a bug then?

There used to be bugs in the ahc driver that have been fixed recently.
Maybe you are suffering from one of them.

> I've been playing with this drive again today. I want to
> partition it as: (using /stand/sysinstall)
> 128M / ; 2048M /usr ; 64M swap ; ~1800M /home
> 
> Disk name:      sd1                               FDISK Partition Editor
> DISK Geometry:  4096 cyls/64 heads/32 sectors
> 
>  Offset       Size        End     Name    PType     Desc  Subtype    Flags
> 
>        0         32         31        -        6   unused        0        
>       32     262112     262143    sd1s1        3  freebsd      165  C     
>   262144    4194304    4456447    sd1s2        3  freebsd      165        
>  4456448     131072    4587519    sd1s3        3  freebsd      165        
>  4587520    3801088    8388607    sd1s4        3  freebsd      165        

Oh no!

Don't assign that many slices for FreeBSD, pick just a single one!

FreeBSD does sub-partition each drive (or slice in this case), right
in the tradition of many unixes.  If you are never going to share the
drive with any other operating system, you could even start right at
offset 0 and allocate the entire drive.  (DOS convention forbids this,
that's why you see the first FreeBSD slice starting at offset 32
above.)  This is often refered to as ``dangerously dedicated'', you
get it by selecting A)ll in the FDISK editor, and answering the next
question with the non-default selection (i think it's ``No'', but i'm
not sure offhand).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)