On 11/30/11 11:28 PM, Robert Huff wrote: > > Damien Fleuriot writes: > >> >>> gpart destroy ad1 >> > gpart destroy ad1 >> > gpart: Input/output error >> > >> > Huh? >> >> Huh indeed. >> >> Please toggle GEOM debug and try again: >> >> sysctl kern.geom.debugflags=17 > > gpart: device not configured > > However: > >>> ls -al /dev/ad1* > crw-r----- 1 root operator 0, 80 Nov 30 15:39 /dev/ad1 > crw-r----- 1 root operator 0, 96 Nov 27 17:58 /dev/ad10 > crw-r----- 1 root operator 0, 102 Nov 27 17:58 /dev/ad10p1 > crw-r----- 1 root operator 0, 103 Nov 27 12:58 /dev/ad10p2 >
I have no trouble setting the sysctl here: mybsd root /usr/src/sbin/sysctl # sysctl kern.geom.debugflags=17 kern.geom.debugflags: 0 -> 17 mybsd root /usr/src/sbin/sysctl # sysctl kern.geom.debugflags=0 kern.geom.debugflags: 17 -> 0 mybsd root /usr/src/sbin/sysctl # kldstat Id Refs Address Size Name 1 19 0xffffffff80100000 93db60 kernel 2 1 0xffffffff80a3e000 bcc0 geom_label.ko 3 1 0xffffffff80a4a000 210c8 geom_mirror.ko 4 1 0xffffffff80a6c000 f060 aio.ko 5 1 0xffffffff80c12000 132008 zfs.ko 6 1 0xffffffff80d45000 f489 krpc.ko 7 1 0xffffffff80d55000 1ff1 opensolaris.ko 8 1 0xffffffff80d57000 22f1 ums.ko Please post: - kldstat - kldstat -v | grep g_part If appropriate, kldload the geom_label module , just in case, although I don't think this should be related. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"