From owner-freebsd-questions@FreeBSD.ORG Tue Dec 29 13:45:51 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 796D31065693 for ; Tue, 29 Dec 2009 13:45:51 +0000 (UTC) (envelope-from freebsd@akruijff.dds.nl) Received: from CPSMTPM-EML105.kpnxchange.com (cpsmtpm-eml105.kpnxchange.com [195.121.3.9]) by mx1.freebsd.org (Postfix) with ESMTP id 0A47F8FC17 for ; Tue, 29 Dec 2009 13:45:50 +0000 (UTC) Received: from ip51cc8423.speed.planet.nl ([81.204.132.35]) by CPSMTPM-EML105.kpnxchange.com with Microsoft SMTPSVC(7.0.6001.18000); Tue, 29 Dec 2009 14:45:49 +0100 Received: from Alex1.lan (localhost [127.0.0.1]) by ip51cc8423.speed.planet.nl (8.14.3/8.14.3) with ESMTP id nBTDjoFk097918; Tue, 29 Dec 2009 14:45:50 +0100 (CET) (envelope-from freebsd@akruijff.dds.nl) Received: (from akruijff@localhost) by Alex1.lan (8.14.3/8.14.3/Submit) id nBTDjnuq097917; Tue, 29 Dec 2009 14:45:49 +0100 (CET) (envelope-from freebsd@akruijff.dds.nl) X-Authentication-Warning: Alex1.lan: akruijff set sender to freebsd@akruijff.dds.nl using -f Date: Tue, 29 Dec 2009 14:45:49 +0100 From: Alex de Kruijff To: jeffry killen Message-ID: <20091229134549.GA90870@Alex1.lan> References: <2cd283d1fad03837950ef165cf75756c@prodigy.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2cd283d1fad03837950ef165cf75756c@prodigy.net> User-Agent: Mutt/1.4.2.3i X-OriginalArrivalTime: 29 Dec 2009 13:45:49.0606 (UTC) FILETIME=[3B0E9C60:01CA888D] Cc: freebsd-questions@freebsd.org Subject: Re: Salvage files from harddrive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@akruijff.dds.nl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2009 13:45:51 -0000 On Fri, Oct 07, 2011 at 04:07:51AM -0700, jeffry killen wrote: > I have a hard drive that contains the /var file system in a system that > will not boot. > In single user mode I can mount /var. > > I want to take this disk and put it in another FreeBSD system and > try to copy the files I need off of it to a safe place. > > The system I will plug it into will also have a separate disk with > /var. > > Is there going to be a conflict with the labels and how would I > best go about this? I've changed the size of the disk slices by copying files over to a nother disk, boot from that one and later back. I would suggest using 'rsync -aHW source dest" And later remove with 'chflags -R noschg source; rm -rf source' -- Alex