From owner-freebsd-hackers Sun Feb 28 10:25: 4 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id C2B811527F; Sun, 28 Feb 1999 10:25:02 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id NAA13270; Sun, 28 Feb 1999 13:33:44 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199902281833.NAA13270@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Slice duplication quiestion In-Reply-To: <36D95501.57F7A4B7@frenchknot.ne.mediaone.net> from "James E. Housley" at "Feb 28, 99 09:38:57 am" To: housley@frenchknot.ne.mediaone.net (James E. Housley) Date: Sun, 28 Feb 1999 13:33:44 -0500 (EST) Cc: freebsd-questions@FreeBSD.ORG (FreeBSD Questions) Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [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