3Ware 9500 and disklabel

Harald Schmalzbauer h at schmalzbauer.de
Thu Jul 22 02:39:13 PDT 2004


Am Donnerstag, 22. Juli 2004 11:01 schrieb Philip Murray:
> Hi,
>
> I'm trying to test out -CURRENT (22/7/2004) on a dual Opteron (Tyan
> board) with a 3Ware 9500-8 raid controller and I'm having problems with
> disklabel.
>
> At the moment I have a RAID0 array totalling 600GB. I fdisk'd them to
> create a single partition using the entire volume, fdisk (from
> sysinstall) complained about the geometry, I wasn't sure what the
> correct geometry was, so I forged ahead anyway.
>
> Then I went to try and disklabel it. It seemed to work from sysinstall
> until I went to write the changes out and it complained "ERROR: Unable
> to write data to disk da0!'. So I tried disklabel on the command line, as
> so

AFAIK geom only prevents you from direct access to disks where your kernel 
booted from. In your case it is ad4 and I think da1 shouldn't be affected but 
perhaps you want to set the sysctl kern.geom.debugflags to 16.


Best regards,

-Harry

>
>     disklabel -e /dev/da0s1
>
> Where it promptly hangs (won't respond to ^C), ps lists it as
>
>     root      641  0.0  0.0  5600  940  p1  DL+   8:48PM   0:00.01
> disklabel -e /dev/da0s1
>
> Is this something stupid I've done (geometry?) or a bug with the twa
> driver?
>
> I've attached my dmesg FWIW, any other information I can provide on
> request.
>
> Philip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040722/407b2cae/attachment.bin


More information about the freebsd-current mailing list