Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 1999 13:33:44 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        housley@frenchknot.ne.mediaone.net (James E. Housley)
Cc:        freebsd-questions@FreeBSD.ORG (FreeBSD Questions)
Subject:   Re: Slice duplication quiestion
Message-ID:  <199902281833.NAA13270@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <36D95501.57F7A4B7@frenchknot.ne.mediaone.net> from "James E. Housley" at "Feb 28, 99 09:38:57 am"

next in thread | previous in thread | raw e-mail | index | archive | help
[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-questions" in the body of the message




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