Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 1996 22:31:53 -0500 (EST)
From:      "Jonathan M. Bresler" <jmb@freebsd.org>
To:        Peter Stubbs <peters@staidan.qld.edu.au>
Cc:        questions@freebsd.org
Subject:   Re: duplicating a disk
Message-ID:  <Pine.BSF.3.91.960104223043.9492D-100000@Aspen.Woc.Atinc.COM>
In-Reply-To: <1AE4686642B@aidan.staidan.qld.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 5 Jan 1996, Peter Stubbs wrote:

> I'm thinking of upgrading my 2.0.5 system to 2.1, but don't want to 
> have it off line for very long. I have a second disk the same as the 
> one 2.0.5 is on, so perhaps I can just copy the whole disk to it?
> 
> If I put the disk into the 2.0.5 system and make sure it's configured 
> for wd1 can I then type something like "cp /dev/rwd0 /dev/rwd1" to 
> duplicate the disk?

	use a larger block size, just dd will take forever

	dd if=/dev/rwd0c of=/dev/rwd1c bs=100k

Jonathan M. Bresler        FreeBSD Postmaster         jmb@FreeBSD.ORG
play go. ride bike. hack FreeBSD.--ah the good life 
i am moving to a new job.                 PLEASE USE: jmb@FreeBSD.ORG




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960104223043.9492D-100000>