Can't *write* to a hard disk, not even a slice using fdisk(8).

Julien Gabel jpeg at thilelli.net
Sun Apr 11 00:36:43 PDT 2004


>> I want to say that it is a mirror created with a hardware HighPoint
>> HPT374 (channel 2+3) UDMA133 controller ; not created using software,
>> like vinum for example.

>>>> - But when I tried to create a slice on it, I get:
>>>>   # fdisk -BI ad10
>>>>   ******* Working on device /dev/ad10 *******
>>>>   fdisk: can't write fdisk partition table: Operation not permitted

>> There is no partition mounted on it because the miror is actually
>> breack, so this disk is totally not used at this time.
>>
>> Before that, a /home was mounted on the device corresponding to the
>> mirror, i.e. /dev/ar1 (which was made from /dev/ad8 + /dev/ad10).
>> Actually, and because I had some activity on this machine, I made the
>> /home partition available under the /dev/ad8 device alone, which is the
>> other identical disk which previously formed the mirror and works like
>> a charm.

> I take it that you are still trying to manage ad10 through the RAID
> capable controller.

Yes, you're right: I "broke" the mirror, but let the disk /dev/ad10 in
its place.

> No real information but I would guess the controller is still seeing
> information on the drive ad10 which ties it in with some other disk for
> RAID.

I don't think so, but...

> If you have a regular on board ATA interface I'd try plugging the drive
> in there (you can do it with all other drives removed for safety) and
> then try to initialise using an installation CD. If that works I imagine
> you can put every thing back in your prefered configuration and continue.

... I will try to plug it on another controller, or even in a different
machine.

Thanks,
--
-jpeg.


More information about the freebsd-questions mailing list