From owner-freebsd-questions@FreeBSD.ORG Wed Nov 23 22:58:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08F99106566B for ; Wed, 23 Nov 2011 22:58:00 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 8FFA38FC08 for ; Wed, 23 Nov 2011 22:57:59 +0000 (UTC) Received: from mart.js.berklix.net (p57BCF6AA.dip.t-dialin.net [87.188.246.170]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id pANMvvIX074967; Wed, 23 Nov 2011 22:57:58 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id pANMvkbq047891; Wed, 23 Nov 2011 23:57:46 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id pANMvYxb042851; Wed, 23 Nov 2011 22:57:40 GMT (envelope-from jhs@fire.js.berklix.net) Message-Id: <201111232257.pANMvYxb042851@fire.js.berklix.net> To: Carl Johnson From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Wed, 23 Nov 2011 14:53:41 PST." <87bos2e9hm.fsf@oak.localnet> Date: Wed, 23 Nov 2011 23:57:34 +0100 Sender: jhs@berklix.com Cc: freebsd-questions@freebsd.org Subject: Re: Invalid fdisk partition table found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2011 22:58:00 -0000 Hi, Reference: > From: Carl Johnson > Date: Wed, 23 Nov 2011 14:53:41 -0800 > Message-id: <87bos2e9hm.fsf@oak.localnet> Carl Johnson wrote: > "Julian H. Stacey" writes: > > > > > @ suggestions: > > 1 Try > > bsdlabel -B -w -r /dev/da1 > > echo unplug, reinsert > > newfs /dev/da1a > > > > 2 Base of _my_ man fdisk > > " When running multi user, you cannot write unless you first run this: > > sysctl kern.geom.debugflags=16 > > " > > > > It looks like I never got round to sending in a send-pr for that, so feel free > > looks like its been that way at least since 7.1.see > > http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/sbin/fdisk/ > > I thought I had seen a mention of that somewhere, so I grep'ed the man > pages. I found hints on geom(4) and boot0cfg(8), but they certainly > aren't obvious. Yup, bit me too long ago, presumably from my patch, bit me at 7.1 OK I'll bung in a quick send-pr Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.