Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 1997 04:38:31 -0700 (PDT)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        kyle@heathers2.stdio.com
Cc:        hackers@freebsd.org
Subject:   Re: Replacing a drive in a ccd array...
Message-ID:  <199710051138.EAA00727@bubble.didi.com>
In-Reply-To: <Pine.SUN.3.91.971004155906.18214A-100000@heathers2.stdio.com> (message from Kyle McPeek on Sat, 4 Oct 1997 16:02:48 -0400 (EDT))

next in thread | previous in thread | raw e-mail | index | archive | help
 * I have thought about using dd to copy the data from the old drive to the 
 * new one, will this work ok?  If so, which device(s) should I copy from/to?

Well, that will probably work, assuming the old drive can survive
that.  Try something like

dd if=/dev/rsdXX of=/dev/rsdYY bs=2k

where "XX" and "YY" are the numbers of corresponding drives.

BTW, the above assumes the drives are identical models and thus you
can just copy the whole thing bit-by-bit.  If not, you will need to
create a disklabel on the new drive and do a copy of the appropriate
partitions (e.g., "/dev/rsd0g").

Satoshi



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