From owner-freebsd-questions@FreeBSD.ORG Sun Sep 14 10:17:55 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 0022C16A4BF for ; Sun, 14 Sep 2003 10:17:54 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id BDF4643FCB for ; Sun, 14 Sep 2003 10:17:53 -0700 (PDT) (envelope-from sebastian.ssmoller@gmx.net) Received: (qmail 13663 invoked by uid 65534); 14 Sep 2003 17:17:52 -0000 Received: from pD9E83D5F.dip.t-dialin.net (EHLO pD9E83D5F.dip.t-dialin.net) (217.232.61.95) by mail.gmx.net (mp015) with SMTP; 14 Sep 2003 19:17:52 +0200 From: Sebastian Ssmoller To: questions@freebsd.org In-Reply-To: <20030914143123.GB59402@lewiz.org> References: <20030914143123.GB59402@lewiz.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8-3mdk Date: 14 Sep 2003 19:24:05 +0200 Message-Id: <1063560245.2005.15.camel@hadriel> Mime-Version: 1.0 Subject: Re: 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 17:17:55 -0000 Am Son, 2003-09-14 um 16.31 schrieb Lewis Thompson: > 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. why do u want to double ur disk ? i have no knowledge about vinum yet but some time ago i set up a mirror with linux which doubled the disks automatically first time i add a new disk to the raid array ... guess this would be similar with vinum (?) > > 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=/dev/ad0s1 of=/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. i am not sure whether u can move partitions/slices in this way. if u really wonna double ur disk dd if=/dev/ad0 of=/dev/ad2 is the command i would use (NOT TESTED!) seb > > Any tips would be greatly appreciated. Thanks, > > -lewiz. > > -- > 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 |-