From owner-freebsd-questions@FreeBSD.ORG Fri Oct 24 17:01:35 2008 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 9A7501065685 for ; Fri, 24 Oct 2008 17:01:35 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id 9639D8FC1B for ; Fri, 24 Oct 2008 17:01:34 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.westchester.pa.mail.comcast.net ([76.96.62.43]) by QMTA09.westchester.pa.mail.comcast.net with comcast id WcMW1a00J0vyq2s59h1ZWW; Fri, 24 Oct 2008 17:01:33 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.westchester.pa.mail.comcast.net with comcast id Wh1Y1a00Z2P6wsM3Rh1ZSj; Fri, 24 Oct 2008 17:01:33 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=p2MQg6uDFGczC7uyhZgA:9 a=f_Lgnf5U_tcs_z5HgrYg5elECKkA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 80D2AC9419; Fri, 24 Oct 2008 10:01:32 -0700 (PDT) Date: Fri, 24 Oct 2008 10:01:32 -0700 From: Jeremy Chadwick To: Joey Mingrone Message-ID: <20081024170132.GA13074@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: duplicate a drive 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: Fri, 24 Oct 2008 17:01:35 -0000 On Fri, Oct 24, 2008 at 01:29:18PM -0300, Joey Mingrone wrote: > Hi, > > My laptop "died" recently and to get back to work as quickly as > possible I simply took the laptop ide drive and put it into an old > desktop using a 2.5" -> 3.5" ide adapter. After loading a few new > drivers into the kernel everything is working quite well. > > The next thing I've tried to do, without success, is mirror the > contents of the 2.5" drive to a 3.5" drive in the desktop. > > The 2.5" drive is sliced/partitioned like this: > > Filesystem Size Mounted on > /dev/ad0s2a 989M / > /dev/ad0s2d 989M /tmp > /dev/ad0s2f 59G /usr > /dev/ad0s2e 989M /var > > ad0s1 is a 20GB slice that I have window installed on. > > The drive's total capacity is 80G. > > The 3.5" drive is only 70G so I'll have to skip the ad0s1 slice. > Ideally what I'd like to do is copy everything from the ad0s2 slice to > the 3.5" and run the OS off that drive. Then, each dump the contents > of the 3.5" drive to the 2.5" drive. That way if either drive dies > I'll, hopefully at worst, just have to switch which drive I boot from. > > Can anyone with experience doing something this make suggestions? ports/sysutils/cpdup? -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |