Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 1998 00:37:14 -0700 (MST)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        fehr@idirect.com (Eric D. Fehr)
Cc:        scsi@FreeBSD.ORG
Subject:   Re: > 10 SCSI drives, 3.0-RELEASE???
Message-ID:  <199812170737.AAA72322@panzer.plutotech.com>
In-Reply-To: <Pine.BSF.4.05.9812161859210.12254-100000@proteus.idirect.com> from "Eric D. Fehr" at "Dec 16, 98 07:00:56 pm"

index | next in thread | previous in thread | raw e-mail

Eric D. Fehr wrote...
> I'm starting to get fairly frustrated on this one, and have been tearing
> my hair out on it for some time.  Hopefully someone knows an answer.  I
> sure don't.
> 
> For background, I have a system with 14 18.2GB Seagate drives in it.  It
> has an Adaptec 7890 controller on the motherboard (ASUS P2B-S), and an
> Adaptec 2940U2W card as well.  The drives are split on the channels on the
> two controllers.  The problem is when I attempt to label the drives da10+.  
> So, my question:
> 
> Does 3.0-RELEASE support > 10 drives???

Yes.  There's no problem with that.

> I can read the label from da9 via:
> 
> disklabel -r da9
> 
> but "disklabel -r da10" gives the following:
> 
> disklabel: /dev/rda10c: Undefined error: 0
> 
> and "disklabel -w da10 auto" gives:
> 
> disklabel: No space left on device

You're having disklabel trouble.  disklabel is such fun.  It looks like
you're using 'dangerously dedicated' mode.  (i.e., no DOS partitions)

IIRC, you may need the -r switch.  i.e.:

disklabel -wr da10 auto

Here's a little trick that will blow away whatever is in the first part of
the disk:

dd if=/dev/zero of=/dev/rda10c bs=64k count=3

Note -- you'd better not have anything important on the disk, that'll blow
it away.

Then you'll probably want to try something like:

disklabel -wr da10 auto

I'm not sure that'll work for you, but at least you'll have something to
try.  Whenever I try to disklabel something, it usually takes a bit of
fiddling before I figure out the right incantation to make disklabel work.

Another strategy to try (after you've done the dd trick above) if you've
got another drive of the same or smaller size is:

disklabel da8 > da8.label

disklabel -r -R da10 da8.label

That will only work if the disk in question is the same size, or smaller
than the 'da8' above.  Otherwise, you'll get a "no space left on device"
error.

If you decide to go with a real DOS partition table, you'd just specify
things like 'da10s1' instead of 'da10' above.

> I had to make the nodes by hand for drives da10 and up, here are my
> entries:

[ ... ]

> And here is my dmesg info.  Note that 4 drives are on the 2940U2W
> controller U2 interface, 4 on the 7890 U2 interface, and 5 on the 7890 U
> interface:
> 

[ ... ]

Impressive machine.

Ken
-- 
Kenneth Merry
ken@plutotech.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812170737.AAA72322>