Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 2000 13:27:50 -0700
From:      Chris Fedde <chris@fedde.littleton.co.us>
To:        "Kevin Oberman" <oberman@es.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Cloning the root partition 
Message-ID:  <200003102027.e2AKRom75649@fedde.littleton.co.us>
In-Reply-To: Your message of "Fri, 10 Mar 2000 08:58:26 PST." <200003101658.IAA31252@ptavv.es.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Kevin Oberman" writes:
 +---------------
 | Warning: I'm probably doing something really dumb!
 | 
 | I am trying to clone the root partition on my 3.4-Stable system and I
 | don't seem to be able to get it to work. The 'a' partitions are the
 | same size on both disks. Both start a block 0 of the slice and both
 | are 102400 long.
 | 
 | Running standalone I use the command:
 | # dd bs=1024 if=/dev/rwd0s1a of=/dev/rwd1s1a
 | 
 | I assumed using the raw devices would exactly clone the partition,
 | including the file system. Perhaps I simply don't understand how
 | things work. The man page was not too helpful.
 | 
 | If the output partition is not mounted, I got an error that the output
 | is read-only. If I mount the device, I got a message that the input
 | device is busy.
 | 
 | What combination of partition status and command syntax might work?
 | 
 | Thanks,
 +---------------

The target partition has to exist, that seems to be true in your case.
You must be root to write to the raw device unless you have changed the
devices permissions, that seems to be true too.

Gee I don't know what is wrong

good luck
chris
__
Chris Fedde	  <chris@fedde.littleton.co.us>
303 773 9134


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?200003102027.e2AKRom75649>