Re: 3Ware 9500 and disklabel

From: Harald Schmalzbauer <h_at_schmalzbauer.de>
Date: Thu, 22 Jul 2004 11:38:57 +0200
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

Received on Thu Jul 22 2004 - 07:39:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:02 UTC