*BSD News Article 94336


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Need help connecting EMC Symmetrix array
Date: 24 Apr 1997 06:21:57 GMT
Organization: Private BSD site, Dresden
Lines: 75
Message-ID: <5jmu65$6ol@uriah.heep.sax.de>
References: <macwhiz-ya023680001504971525230001@news.accinet.net>
  <5jm1rg$4bf@uriah.heep.sax.de> <199704240303.XAA01720@phoebe.accinet.net>
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.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39654


macwhiz@phoebe.accinet.net (Rob Levandowski) wrote:

> (A copy of this message has also been posted to the following newsgroups:
> comp.unix.bsd.freebsd.misc)

Ok, i piped the mail through rnews, so i've got the Usenet article to
followup. :)

> > > Also, the logical geometry reported by the Symmetrix for each drive is
> > > 18,410 cylinders, 15 heads, 64 512-byte blocks.  FreeBSD doesn't seem to
> > > like this idea.  How can I make FreeBSD happy with the geometry?
> > 
> > Explain ``doesn't seem to like''.

> If I try to use "sysinstall" to perform the format through the character-
> based user interface, it complains that the geometry is invalid.

Well, i didn't think about sysinstall. :)  Of course, sysinstall
wouldn't have been happy about the 18000 cylinders of my MO either.
It simply expects a valid BIOS geometry, that's something that would
fit into all BIOS limits (c <= 1024, h <= 64, s <= 255).

Enter whatever geometry _your BIOS_ uses (using the `G' command in the
partition editor).

> In the intervening days, I have found out that the actual geometry is 18410
> cylinders, ...

No such thing like an ``actual geometry''. :)  Unless you've got an MO,
maybe a JAZ drive or such, or a plain ol' ESDI drive, none of the
modern disk have an actual geometry that can be expressed in terms of
a uniform number of sectors per track.  With FreeBSD 2.2, i've made the
explanation even more explicit that this geometry there is whatever your
BIOS thinks.  Any other values are plain wrong.

> > Geometry figures are fairly pointless anyway.

> I'm not so clever... :)  How can I get around these figures?

Use ``dangerously dedicated'' mode.  That is, select ``Use A)ll
FreeBSD'' in the partition editor, and answer the next question about
compatibility with other systems with ``No''.  This will give you a
plain Unix disk, with the disklabel being put in sector 0.  The disk
is even bootable (except on an HP Netserver LC, ick, where the BIOS
thinks it must justify the MBR before booting it, crap that it is!).

If your FreeBSD is already running, you get the same effect by saying:

	disklabel -Brw sd1 auto

(where sd1 is probably sd1 through sd5 or such for you).  You need to

	disklabel -e sd1

afterwards, basically you gotta clone the `c' partition, and make a
single, large partition (e.g. `h') of type `4.2BSD'.  IMHO, ccd needs
it.  Don't try to turn the `c' partition into `4.2BSD', this partition
is magic (it's emulated by the driver even if no disklabel is
available).

> EMC is solving the multiple-LUN issue by reprogramming the unit to use
> multiple SCSI IDs, rather than multiple LUNs.  Until I need more than
> 8.5*15Gb of news spool, it shouldn't be a problem. :)

No, no!  Please, submit us an entry for scsiconf.c.  This EMC array is
a perfect example for a device that has to have multiple LUNs (there
are not many examples of this for `direct access' devices), so it
should be recognized.

-- 
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. ;-)