Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 2008 10:01:32 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Joey Mingrone <joey@mingrone.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: duplicate a drive
Message-ID:  <20081024170132.GA13074@icarus.home.lan>
In-Reply-To: <f5b896260810240929s3c21eb2cj1a5571c2498c54c9@mail.gmail.com>
References:  <f5b896260810240929s3c21eb2cj1a5571c2498c54c9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081024170132.GA13074>