From owner-freebsd-questions@FreeBSD.ORG Sun Feb 17 21:50:51 2008 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 E93AE16A417 for ; Sun, 17 Feb 2008 21:50:51 +0000 (UTC) (envelope-from jonathan+freebsd-questions@hst.org.za) Received: from hermes.hst.org.za (onix.hst.org.za [209.203.2.133]) by mx1.freebsd.org (Postfix) with ESMTP id F39A613C458 for ; Sun, 17 Feb 2008 21:50:50 +0000 (UTC) (envelope-from jonathan+freebsd-questions@hst.org.za) Received: from [10.1.11.1] ([10.1.11.1]) (authenticated bits=0) by hermes.hst.org.za (8.13.8/8.13.8) with ESMTP id m1HLgxxp006725 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 17 Feb 2008 23:42:59 +0200 (SAST) (envelope-from jonathan+freebsd-questions@hst.org.za) From: Jonathan McKeown To: freebsd-questions@freebsd.org Date: Sun, 17 Feb 2008 23:51:27 +0200 User-Agent: KMail/1.9.4 References: <200802172144.36924.jonathan+freebsd-questions@hst.org.za> <20080217204908.D4208@wojtek.tensor.gdynia.pl> In-Reply-To: <20080217204908.D4208@wojtek.tensor.gdynia.pl> X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Spam-Score: -4.363 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.61 on 209.203.2.133 Subject: Re: fdisk from fixit CD: geom not 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: Sun, 17 Feb 2008 21:50:52 -0000 On Sunday 17 February 2008 21:51, Wojciech Puchar wrote: > > Boot install CD and choose Fixit > > get live CD, it's better for this. To be honest, if I'm not using an install CD (which will do the job) I may as well look at making a custom recovery disk which just needs to be booted - but see below. > > fdisk -BI > > extract saved disklabel from tape and install with bsdlabel > > Initialise filesystems using stored output of dumpfs -m (from tape) > > Restore filesystems from tape > > good you have such i plan. this is rare case today;) > > > I'm tripping up on the first step, which although it appears to create > > the > > you forgot to bsdlabel -B ad0a (or da0s1a whatever you have) after restore Well spotted. I did say I hadn't tested this bit yet! > > slice, throws a ``Geom not found'' message - which is potentially > > worrying to someone blindly following a recovery script. > > no idea, i don't use slices (just disklabel) > > maybe kernel module not loaded? > > is slice actually created? Yes. > as far as i remember i've got this message with bsdlabel -B, but i ignored > it as everything worked fine. I'd still rather there wasn't an ``error'' message at all unless there's a genuine error: I'm planning for the case of an operator with limited skills doing a ``monkey see, monkey do'' restore (not trying to be rude, but experienced FreeBSD admins seem to be hard to come by here and I'd rather insult someone's intelligence than give them instructions which don't make sense without years of FreeBSD experience). Jonathan