Date: 14 Sep 2003 19:24:05 +0200 From: Sebastian Ssmoller <sebastian.ssmoller@gmx.net> To: questions@freebsd.org Subject: Re: dd to duplicate a disk. Message-ID: <1063560245.2005.15.camel@hadriel> In-Reply-To: <20030914143123.GB59402@lewiz.org> References: <20030914143123.GB59402@lewiz.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 |-
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1063560245.2005.15.camel>