From owner-freebsd-questions@FreeBSD.ORG Mon Jan 12 21:55:04 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 B5E4C106566B for ; Mon, 12 Jan 2009 21:55:04 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 5B7BA8FC17 for ; Mon, 12 Jan 2009 21:55:03 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n0CLsdhY019786; Mon, 12 Jan 2009 16:54:39 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n0CLsdMK019785; Mon, 12 Jan 2009 16:54:39 -0500 (EST) (envelope-from jerrymc) Date: Mon, 12 Jan 2009 16:54:39 -0500 From: Jerry McAllister To: mojo fms Message-ID: <20090112215439.GA19760@gizmo.acns.msu.edu> References: <496ab572.u2DH1w2B2JAcv4M+%perryh@pluto.rain.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org 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:55:04 -0000 On Mon, Jan 12, 2009 at 01:15:52PM -0800, mojo fms wrote: > 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? Use: dump 0af - | restore -rf - > > 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. Is it already mounted as something? Do a df -k and see what shows up. Was it just /dev/ad2s1 or more like /dev/ad2s1a (or some other partition letter? ////jerry > > > > 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. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"