From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 22:14:51 2004 Return-Path: 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 3C20316A4CE for ; Mon, 9 Aug 2004 22:14:51 +0000 (GMT) Received: from mtiwmhc12.worldnet.att.net (mtiwmhc12.worldnet.att.net [204.127.131.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7121643D5D for ; Mon, 9 Aug 2004 22:14:50 +0000 (GMT) (envelope-from jayobrien@worldnet.att.net) Received: from [192.168.1.6] (dsl093-180-184.sac1.dsl.speakeasy.net[66.93.180.184]) by worldnet.att.net (mtiwmhc12) with ESMTP id <2004080922144711200arb2qe> (Authid: jayobrien@att.net); Mon, 9 Aug 2004 22:14:49 +0000 Message-ID: <4117F755.8000604@att.net> Date: Mon, 09 Aug 2004 15:14:45 -0700 From: Jay O'Brien User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD - questions References: <411712B1.8090701@att.net> <20040809084734.P27979@chylonia.3miasto.net> In-Reply-To: <20040809084734.P27979@chylonia.3miasto.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Swappable Hard drives? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2004 22:14:51 -0000 Wojciech Puchar wrote: > with identical drive make copy with dd > > dd if=/dev/ad0 of=/dev/ad1 bs=64k Jerry McAllister wrote: > > You should fdisk the second drive and make is bootable and create > the identical partitions with disklabel ( you can use /stand/sysinstall > to run fdisk and disklabel for you if you want, though fdisk and > disklabel are not nearly as difficult as their reputations seem > to have them - especially now that some more work has been done > on their man pages) > > Then, use dump(8) piped to restore(8) for each partition to make > the duplicate copies - don't attempt to duplicate the swap partition. > And probably don't bother to duplicate /tmp unles, for some reason > you are keeping something more than immediate temporary stuff there - > you shouldn't if you can avoid it. dump/restore is probably better > than dd for such a thing and definitely better than tar for this type > of thing. > Don't forget to fsck the new partitions before (and maybe after) > writing them. Wojciech, Jerry: Thanks for all the input. Now to read up on dd and dump; my second HD will be here Thursday, I want to be ready. This FreeBSD is like people. There are many ways to make things work; there isn't just one "right way". It makes sense to rely on other's experience, and then apply it. Based on what I am learning from everyone here, I think there's a story to tell. So, I will carefully document my actions. Maybe someday I can repay the help and advice I'm getting now. Jay Rio Linda, CA USA