From owner-freebsd-questions@FreeBSD.ORG Mon Jan 12 21:15:53 2009 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 74E251065673 for ; Mon, 12 Jan 2009 21:15:53 +0000 (UTC) (envelope-from fbsdlilly@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mx1.freebsd.org (Postfix) with ESMTP id 46D278FC26 for ; Mon, 12 Jan 2009 21:15:53 +0000 (UTC) (envelope-from fbsdlilly@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so13996036wfg.7 for ; Mon, 12 Jan 2009 13:15:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=wjvdkzm7ilvwx6jVWgICDcnhabJTB5q1oMfS0fhEEnE=; b=ExEa9Z2HJzeA5zsQyGdqBAJXkPjRyEk8ZZ63sut44WmafPVq3bnJD5OPiLksIX7snL G+E2j9JZDcd4HV+FAp/jgQrs7Ce6Oth7Z0nU03Rwgjxm2SP6BbxHPvewt+yG36U22dOW y/6wq+5NfRxQA9FNK7ntBg014jFJ2YRQjSPQo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=vtAHiLUegt0ZL06KCqPBmamREbjbJQ+f94rG/hhwqNt831yZgL9cXhth93arHqf0O3 pD0dJcCMMiaVb5jEiKxCMKo8kqd7gFinfyd2UXtThoUkc0JlkmIb+t/gGgTwdKvcjXGJ mbHb7JCMCB+0bGiKS25z4gCI5VlsA/wPgKPbk= Received: by 10.142.246.6 with SMTP id t6mr12532327wfh.265.1231794952661; Mon, 12 Jan 2009 13:15:52 -0800 (PST) Received: by 10.142.170.17 with HTTP; Mon, 12 Jan 2009 13:15:52 -0800 (PST) Message-ID: Date: Mon, 12 Jan 2009 13:15:52 -0800 From: "mojo fms" To: freebsd-questions@freebsd.org In-Reply-To: <496ab572.u2DH1w2B2JAcv4M+%perryh@pluto.rain.com> MIME-Version: 1.0 References: <496ab572.u2DH1w2B2JAcv4M+%perryh@pluto.rain.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Mounting a partition from freebsd 6.2? 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: Mon, 12 Jan 2009 21:15:53 -0000 I can run a check disk on it and it returned that the file system was previously mounted on /mnt/backup and returns that the file system is in good shape. I will have to wait until I get back in front of it to attempt the dump piped to restore. I have never had to recover a drive like that, is there anything specific I should look at for switches or just dump /dev/ad2s1 | restore? On Sun, Jan 11, 2009 at 7:13 PM, wrote: > "mojo fms" wrote: > > > I was working on an upgrade to 6.3 from 6.2 and I lost power > > during the install which hosed most of my system. Instead of > > trying to really recover it I decided to just rebuild. I have a > > backup of my /etc and /usr/local/etc on a different drive that > > should be fine, it was just mounted under /mnt normally and used > > for backups. My problem is that I installed 7.1 and was careful > > not to erase any data on that drive, but my only options for a > > partition to mount is /dev/ad2s1. When I try to mount that it > > gives me "mount: /dev/ad2s1 : Operation not permitted", what can > > I do to get the data off of it? I only really care about my /etc > > information but it would be nice to get all of the information > > off of it. > > Supposing ad2s1 is in fact the slice containing the filesystem in > question, and the filesystem was originally made directly on that > slice without partitioning it, it should be possible to run dump(8) > against it and pipe the output to restore(8). This should work if > the slice is readable, even if it cannot be mounted. >