From owner-freebsd-questions@FreeBSD.ORG Wed Oct 7 00:47:13 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 9AD991065670 for ; Wed, 7 Oct 2009 00:47:13 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-qy0-f192.google.com (mail-qy0-f192.google.com [209.85.221.192]) by mx1.freebsd.org (Postfix) with ESMTP id 492E88FC20 for ; Wed, 7 Oct 2009 00:47:12 +0000 (UTC) Received: by qyk30 with SMTP id 30so5198157qyk.7 for ; Tue, 06 Oct 2009 17:47:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:in-reply-to:message-id:references:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; bh=iyebgaDhRlkdDEnVG8oQVU+2Tf3Xx1FxdPrQBV3b42w=; b=jzwaMtKaKFaUnerspVl2tOGbq+QPLvwgQf4thyFPk9221brmGJg5Zs60wQlMCQ5nut WWahWVATqzZaK2M8nOI+06YiKAIDY4r5GOMvQRLYLTQzjkm8U41C4BF5eGaUcysX2WZ3 nNBpDZQeVUT8qHk2itUZKTsOJBdQAf3VbY3Js= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=t8A9l6eeYsHqGsVILmHIBb5g+MN8OlTUPayAgPHNIuYx9HGz1Tqz6YnSXZT45XTOCp ICuTZYdd3HLWoFa5aJUZfsHue7IjxxkPMHeksyTVikTBA6xB2i8YOL/i/C6rkBcLj0xi XiKKXEidx4vlgrgxGcoGsA78YTZBuru3WDuVQ= Received: by 10.224.63.1 with SMTP id z1mr1994157qah.314.1254876430050; Tue, 06 Oct 2009 17:47:10 -0700 (PDT) Received: from dimension.5p.local (adsl-99-35-15-84.dsl.klmzmi.sbcglobal.net [99.35.15.84]) by mx.google.com with ESMTPS id 2sm754507qwi.55.2009.10.06.17.47.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 06 Oct 2009 17:47:09 -0700 (PDT) Sender: "J. Hellenthal" Date: Tue, 6 Oct 2009 20:47:03 -0400 From: jhell To: Henrik Hudson In-Reply-To: <20091007001438.GA6885@alucard.int.rhavenn.net> Message-ID: References: <2cd283d1fad03837950ef165cf75756c@prodigy.net> <20091007001438.GA6885@alucard.int.rhavenn.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: jeffry killen , freebsd-questions@freebsd.org Subject: Re: Salvage files from harddrive 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: Wed, 07 Oct 2009 00:47:13 -0000 On Tue, 6 Oct 2009 16:14 -0800, lists@ wrote: > On Fri, 07 Oct 2011, jeffry killen wrote: > >> Hello; >> 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? >> >> system is FreeBSD v6.2 >> >> Thank you in advance for guidance, suggestions. > > It shouldn't be a problem. If you stick the "broken" drive in a new > system it will show up as a new device to the 2nd system. > > You will then manually mount the 1st system via the device node to > wherever you want. It will not auto-mount that to /var . > > So, for example your 2nd system has /dev/ad4s1 as its main disk. > When you plig the 2nd disk (from the old box) it will show up as > /dev/ad5s1 or similar. YOu would then just mount the /var/ slice to > wherever you want. > > For example: > mount /dev/ad5sa6 /mnt/oldvar > > or similar. Please note that your device nodes and slice numbers > will most likely be different. > > Henrik > I think (correct me if I am wrong) he is trying to describe that glabel is being used on both systems and that he is worried that a label of "var" that would be in /dev/ufs/var on two separate disks would be conflicting and which one would be mounted first as he does not wish for the disk he is trying to save the contents of to be mounted and be used as the var of the system he is placing the said disk he wants to recover. -- %{----------------------------------------------------+ | dataix.net!jhell 2048R/89D8547E 2009-09-30 | | BSD since FreeBSD 4.2 Linux since Slackware 2.1 | | 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E | +----------------------------------------------------%}