Can't *write* to a hard disk, problem related to GEOM(4)?
From: Julien Gabel (jpeg_at_thilelli.net)
Date: 04/15/04
- Previous message: Robert Watson: "Re: kernel panic in if_ppp.c"
- Next in thread: Poul-Henning Kamp: "Re: Can't *write* to a hard disk, problem related to GEOM(4)?"
- Reply: Poul-Henning Kamp: "Re: Can't *write* to a hard disk, problem related to GEOM(4)?"
- Reply: Jon Noack: "Re: Can't *write* to a hard disk, problem related to GEOM(4)?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 15 Apr 2004 20:46:01 +0200 (CEST) To: freebsd-current@freebsd.org
Hello,
I post to current@, since the problem *seems* to be related to GEOM.
The first thread for this subject begin from question@, you can read it
here:
http://lists.freebsd.org/mailman/htdig/freebsd-questions/2004-April/\
thread.html#43212
I can resume my problem like that:
- My OS release is FreeBSD 5.2.1-RELEASE-p4;
- The disk is a 120Go/8Mo from Maxtor (UDMA133);
- What dmesg(8) says about it:
# grep ad10 /var/run/dmesg.boot
GEOM: create disk ad10 dp=0xc6ab2660
ad10: 117246MB <Maxtor 6Y120P0> [238216/16/63] at ata5-master UDMA133
- 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
/dev/ad10 was previously part of a hardware miror (ar(4) device with a
HighPoint HPT374 (channel 2+3) UDMA133 controller), but since it was
broken for an unknown reason, thid drive is no more usable, even alone.
For example, I am not be able to create a new slice on it.
1/ I try to set the sysctl "kern.geom.debugflags" to 16, in order to
write to it... without success.
2/ I succeed to write on it under the 4.9 bootable CDROM (fdisk, bsdlabel,
etc.) but when I reboot under the installed FreeBSD-5.2.1 I cannot
access it any more again.
It seems that 'Joan Picanyol i Puig' was in the right direction arguing
to play with "kern.geom.debugflags", but it didn't work for me. If someone
has an other idea to try to recover this drive...
Thanks,
-- -jpeg. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Robert Watson: "Re: kernel panic in if_ppp.c"
- Next in thread: Poul-Henning Kamp: "Re: Can't *write* to a hard disk, problem related to GEOM(4)?"
- Reply: Poul-Henning Kamp: "Re: Can't *write* to a hard disk, problem related to GEOM(4)?"
- Reply: Jon Noack: "Re: Can't *write* to a hard disk, problem related to GEOM(4)?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|