[rescue] somewhat OT: copying a complete HD to another one..

Bill Bradford mrbill at mrbill.net
Fri Mar 19 11:04:34 CST 2004


On Fri, Mar 19, 2004 at 10:43:11AM -0600, Kay wrote:
> im trying to duplicate on HD to another , both Hard drives are the same size
> whats the easiest way to do it?

This is how I do partitions:

(from my notes file)

> You can ufsdump/restore between partitions and use stdin/stdout.
> It's really bloody fast, too... Bear with me, it's been a year+ since
> I had to do this, but the ufsrestore manpage shows:
> example# ufsdump 0f - /dev/rdsk/c0t0d0s7 | (cd /home;ufsrestore xf -)

If you're doing /, you'll need to "installboot" (read the man page) for
that partition.

Otherwise, I'd think "dd"ing slice 2 (on a solaris disk) to slice 2 on
another disk would do the whole thing.

Bill

-- 
bill bradford
mrbill at mrbill.net
austin, texas



More information about the rescue mailing list