From owner-freebsd-questions@FreeBSD.ORG Tue Jun 14 13:45:48 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 AD07316A41C for ; Tue, 14 Jun 2005 13:45:48 +0000 (GMT) (envelope-from tshadwick@goinet.com) Received: from mail.goinet.com (mail.goinet.com [208.207.72.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 549D743D1F for ; Tue, 14 Jun 2005 13:45:47 +0000 (GMT) (envelope-from tshadwick@goinet.com) Received: from mail.goinet.com (localhost.goinet.com [127.0.0.1]) by mail.goinet.com (8.13.1/8.13.1) with ESMTP id j5EDjbBU085990; Tue, 14 Jun 2005 08:45:37 -0500 (CDT) (envelope-from tshadwick@goinet.com) Received: from localhost (tshadwick@localhost) by mail.goinet.com (8.13.1/8.13.1/Submit) with ESMTP id j5EDjaCJ085983; Tue, 14 Jun 2005 08:45:37 -0500 (CDT) (envelope-from tshadwick@goinet.com) X-Authentication-Warning: mail.goinet.com: tshadwick owned process doing -bs Date: Tue, 14 Jun 2005 08:45:36 -0500 (CDT) From: Tony Shadwick To: Alex Zbyslaw In-Reply-To: <42ADD73C.9090705@dial.pipex.com> Message-ID: <20050614084300.W78603@mail.goinet.com> References: <20050610142559.S78603@mail.goinet.com> <42AA1653.4040500@dial.pipex.com> <20050613093453.R463@wolf.pjkh.com> <42ADD73C.9090705@dial.pipex.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on mail.goinet.com X-Virus-Status: Clean 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: Tue, 14 Jun 2005 13:45:48 -0000 On Mon, 13 Jun 2005, Alex Zbyslaw wrote: > 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 > > > _______________________________________________ > 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" > Partitioning IS releveant in my situation, but they don't have to be perfectly the same. We have a rather unique system setup on that box to where /var is insanely huge compared to the average boxen. There are a few other requirements, but being perfectly identical isn't one of them. It needs to be running the same directory tree upon boot, and be basically the same system.