From owner-freebsd-questions@FreeBSD.ORG Thu Oct 8 18:51:11 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 F1F5C1065670 for ; Thu, 8 Oct 2009 18:51:11 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id B2DCA8FC12 for ; Thu, 8 Oct 2009 18:51:11 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n98IpAJm024452; Thu, 8 Oct 2009 12:51:10 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n98IpAKV024449; Thu, 8 Oct 2009 12:51:10 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 8 Oct 2009 12:51:10 -0600 (MDT) From: Warren Block To: jeffry killen In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Thu, 08 Oct 2009 12:51:11 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: salvaging hard drive contents 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: Thu, 08 Oct 2009 18:51:12 -0000 On Thu, 8 Oct 2009, jeffry killen wrote: > Now I have the hard disk I want to recover mounted but please for give me > for being in the learning phase, but how to I cd on to this drive? > > I mounted it using the suggested 'mount -r (in this case ad12s1d) /var' > now how do I actually read it? What you've done there is mount your salvage drive over your running system's /var. That's probably going to give you problems, possibly very quickly. Just umounting the incorrect /var is probably not going to be enough. You might have to reboot. Once that's cleared up, use a mountpoint that's not doing anything. /mnt is commonly used for that. mount -r /dev/ad12s1d /mnt Then /mnt contains the salvage drive's var filesystem: cd /mnt ls -Warren Block * Rapid City, South Dakota USA