[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: Slice duplication quiestion
From:       "Crist J. Clark" <cjc () cc942873-a ! ewndsr1 ! nj ! home ! com>
Date:       1999-02-28 18:33:44
[Download RAW message or body]

[This is more of a -questions topic. Replies directed there.]

James E. Housley wrote,
> I have to 6G IDE drives.  I have mirrored the e and f slices with ccd. 
> I want to copy the a slice so that under failure I can recover.  I have
> tried dd if=/dev/rwd0s1a of=/dev/rwd2s1a   This say the rwd2s1a is a
> read-only file-system.  What am I doing wrong?  Here are the disklabes.

[snip]

> -- # /dev/rwd2c:
> type: ESDI
> disk: wd0s1

Huh? Why are these different?

Anyway, why are you using 'dd?' IMHO, a dump-restore might be a better
choice for the job,

# mount /dev/wd2s1 /mnt
# cd /mnt
# dump -0af - /dev/wd0s1 | restore -rf -

-- 
Crist J. Clark                           cjclark@home.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic