Date: Fri, 10 Mar 2000 08:58:26 -0800 From: "Kevin Oberman" <oberman@es.net> To: freebsd-questions@freebsd.org Subject: Cloning the root partition Message-ID: <200003101658.IAA31252@ptavv.es.net>
next in thread | raw e-mail | index | archive | help
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, R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 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?200003101658.IAA31252>