From owner-freebsd-questions@FreeBSD.ORG Mon Jun 13 18:58:07 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01B3E16A41C for ; Mon, 13 Jun 2005 18:58:07 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8248D43D1D for ; Mon, 13 Jun 2005 18:58:05 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [82.41.37.55] ([82.41.37.55]) by smtp-out4.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Mon, 13 Jun 2005 19:58:45 +0100 Message-ID: <42ADD73C.9090705@dial.pipex.com> Date: Mon, 13 Jun 2005 19:58:04 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.8) Gecko/20050530 X-Accept-Language: en, en-us, pl MIME-Version: 1.0 To: Philip Hallstrom References: <20050610142559.S78603@mail.goinet.com> <42AA1653.4040500@dial.pipex.com> <20050613093453.R463@wolf.pjkh.com> In-Reply-To: <20050613093453.R463@wolf.pjkh.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Jun 2005 18:58:45.0498 (UTC) FILETIME=[ECA35DA0:01C57049] Cc: freebsd-questions@freebsd.org Subject: Re: system cloning 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, 13 Jun 2005 18:58:07 -0000 Philip Hallstrom wrote: >>> I have a system that we are running in production that there was an >>> oversight on, and it has a single hard drive installed (32GB SCSI I >>> believe), rather than a 3 drive raid5 array. We would like to >>> correct this, but we have all sorts of up-to-date packages and >>> config files that we've tweaked that we would hate to just start >>> over on it. >>> >>> There's a tool for OSX called "Carbon Copy Cloner" that would take >>> care of this for me, which is basically a series of copy commands >>> that takes the filesystem from one drive to another, preserving >>> EVERYTHING important, and then bless the boot volume. >> >> >> If you want two more identical drives then use dump, not tar, but >> you'd have to have them sliced/partitioned up the same beforehand and >> it wouldn't do bootblocks. > > > You would? Why? restore doesn't care where you're restoring to... > you'd just need to make sure you were in / before restoring and then > tweak /etc/fstab to suit... I understood the question to be how to create two identical *disks* not two identical directory trees. So unless the disks were partitioned and sliced the same before you used dump/restore then you wouldn't end up with identical disks. If all you want is two identical directory trees, then slicing and partitioning are irrelevant. --Alex