From owner-freebsd-questions@FreeBSD.ORG Sun Sep 14 07:32:34 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C486B16A4BF for ; Sun, 14 Sep 2003 07:32:34 -0700 (PDT) Received: from lon1-mail-1.visp.demon.net (lon1-mail-1.visp.demon.net [193.195.70.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id A881F43F3F for ; Sun, 14 Sep 2003 07:32:33 -0700 (PDT) (envelope-from lewiz@black.lewiz.org) Received: from mail.lewiz.org (host-70a-en-u-255.dial.beeb.net [62.56.2.255] (may be forged))3.2.1-GA) with ESMTP id AOH79604; Sun, 14 Sep 2003 15:31:51 +0100 (BST) Received: from black.lewiz.org ([192.168.0.12]) by mail.lewiz.org with smtp (Exim 4.20) id 19yXuC-0004OL-Tn for questions@freebsd.org; Sun, 14 Sep 2003 15:31:12 +0100 Received: (nullmailer pid 77128 invoked by uid 4001); Sun, 14 Sep 2003 14:31:23 -0000 Date: Sun, 14 Sep 2003 15:31:23 +0100 From: Lewis Thompson To: FreeBSD-questions Message-ID: <20030914143123.GB59402@lewiz.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b5gNqxB1S1yM7hjW" Content-Disposition: inline X-GPG-Fingerprint: 90A4 939E 3847 A3E4 8103 2A48 22DA B428 542F ED3F X-GPG-Info: http://www.westwood.karoo.net/pgpkey / horowitz.surfnet.nl User-Agent: Mutt/1.5.4i X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean Subject: dd to duplicate a disk. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2003 14:32:34 -0000 --b5gNqxB1S1yM7hjW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I'm trying to setup a vinum mirrored root fs. I've not got very far (although I have some excellent help once I get past this stage ;) -- I'm trying to duplicate my disk. Right now I have /dev/ad0s1(n) and I'd like an exactly copy of that slice on /dev/ad2s1. I've been trying to use dd (which I know very little about): dd if=3D/dev/ad0s1 of=3D/dev/ad2s1 I don't know if that's the right way to go about it or not, but I get the error ``dd: /dev/ad2s1: Operation not permitted'', which leads me to believe I've messed something up. I'm in single user when trying to do this and the /dev/ad0s1(n) partitions are mounted. Any tips would be greatly appreciated. Thanks, -lewiz. --=20 I was so much older then, I'm younger than that now. --Bob Dylan, 1964. ------------------------------------------------------------------------ -| msn:purple@lewiz.net | jab:lewiz@jabber.org | url:http://lewiz.net |- --b5gNqxB1S1yM7hjW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/ZHu7Itq0KFQv7T8RAtMdAJ42nuaUckJ9A26xx0Rd1hZ3/IjlrwCgnl6E vFFv9zCn3kzNP7a3sdgNfbg= =BPGX -----END PGP SIGNATURE----- --b5gNqxB1S1yM7hjW--