Re: Using dd to Make a Clone of a Drive

2006-02-15 Thread Jack Stone
I have used dump/restore and dd as well. For a block size, I chose 102400 which was the fastest -- but still slow compared to dump/restore. Dump/restore is not limited to making a whole image, blanks and all like dd. Once upon a time, I used this as the best: dd if=/dev/ad0 of=/dev/ad1

Re: Using dd to Make a Clone of a Drive

2006-02-14 Thread Kevin Kinsey
Kevin Kinsey wrote: Giorgos Keramidas wrote: On 2006-02-09 14:36, Martin McCormick [EMAIL PROTECTED] wrote: After installing FreeBSD5.4, the ISC dhcp server and ISC bind on a hard drive, I wanted to clone that drive to a second drive so as to generate a second server, using what I had

Re: Using dd to Make a Clone of a Drive

2006-02-14 Thread Giorgos Keramidas
On 2006-02-14 07:47, Kevin Kinsey [EMAIL PROTECTED] wrote: Kevin Kinsey wrote: Giorgos Keramidas wrote: Bah! That's too slow for my taste. I would usually go for a newfs, dump, and restore option. For instance, to create a copy of /usr on a second disk: newfs -U /dev/ad1s1a mount

Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Giorgos Keramidas
On 2006-02-09 18:48, Kevin Kinsey [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: Bah! That's too slow for my taste. I would usually go for a newfs, dump, and restore option. For instance, to create a copy of /usr on a second disk: newfs -U /dev/ad1s1a mount /dev/ad1s1a /mnt

Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Martin McCormick
Paul Schmehl quotes and then writes: Copying with dd(1) is not as fast :) Have you tried dcfldd? sysutils/dcfldd Thank you. I hadn't thought of that. This is what I appreciate about groups like this. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information

Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Peter
--- Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2006-02-09 18:48, Kevin Kinsey [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: Bah! That's too slow for my taste. I would usually go for a newfs, dump, and restore option. For instance, to create a copy of /usr on a second disk:

Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Giorgos Keramidas
On 2006-02-10 09:44, Peter [EMAIL PROTECTED] wrote: --- Giorgos Keramidas [EMAIL PROTECTED] wrote: As long as the new slice had enough space, geometry shouldn't matter to dump|restore ? Right :) It also allows restoring in a different partition layout. Any chance of there being a way

Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Bart Silverstrim
On Feb 10, 2006, at 9:50 AM, Giorgos Keramidas wrote: On 2006-02-10 09:44, Peter [EMAIL PROTECTED] wrote: --- Giorgos Keramidas [EMAIL PROTECTED] wrote: As long as the new slice had enough space, geometry shouldn't matter to dump|restore ? Right :) It also allows restoring in a

Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Ken Stevenson
Giorgos Keramidas wrote: On 2006-02-09 14:36, Martin McCormick [EMAIL PROTECTED] wrote: After installing FreeBSD5.4, the ISC dhcp server and ISC bind on a hard drive, I wanted to clone that drive to a second drive so as to generate a second server, using what I had already installed as

Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Peter
--- Bart Silverstrim [EMAIL PROTECTED] wrote: On Feb 10, 2006, at 9:50 AM, Giorgos Keramidas wrote: On 2006-02-10 09:44, Peter [EMAIL PROTECTED] wrote: --- Giorgos Keramidas [EMAIL PROTECTED] wrote: As long as the new slice had enough space, geometry shouldn't matter to dump|restore

Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Ken Stevenson
Peter wrote: I intend to use g4u. I have done some preliminary testing and I am quite confident that I can upload and download an image. I am now wondering about the situation where I need to recreate the partition that is to contain the image. It needs to be exactly the same size (sectors)

Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Peter
--- Ken Stevenson [EMAIL PROTECTED] wrote: Peter wrote: I intend to use g4u. I have done some preliminary testing and I am quite confident that I can upload and download an image. I am now wondering about the situation where I need to recreate the partition that is to contain the

Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Bart Silverstrim
On Feb 10, 2006, at 11:11 AM, Peter wrote: --- Bart Silverstrim [EMAIL PROTECTED] wrote: On Feb 10, 2006, at 9:50 AM, Giorgos Keramidas wrote: On 2006-02-10 09:44, Peter [EMAIL PROTECTED] wrote: --- Giorgos Keramidas [EMAIL PROTECTED] wrote: As long as the new slice had enough space,

Using dd to Make a Clone of a Drive

2006-02-09 Thread Martin McCormick
After installing FreeBSD5.4, the ISC dhcp server and ISC bind on a hard drive, I wanted to clone that drive to a second drive so as to generate a second server, using what I had already installed as a template. I used the following command: dd if=/dev/da0 of=/dev/da1 bs=512 It

Re: Using dd to Make a Clone of a Drive

2006-02-09 Thread Erik Trulsson
On Thu, Feb 09, 2006 at 02:36:18PM -0600, Martin McCormick wrote: After installing FreeBSD5.4, the ISC dhcp server and ISC bind on a hard drive, I wanted to clone that drive to a second drive so as to generate a second server, using what I had already installed as a template. I used the

Re: Using dd to Make a Clone of a Drive

2006-02-09 Thread Mike Jeays
On Thu, 2006-02-09 at 14:36 -0600, Martin McCormick wrote: After installing FreeBSD5.4, the ISC dhcp server and ISC bind on a hard drive, I wanted to clone that drive to a second drive so as to generate a second server, using what I had already installed as a template. I used the

RE: Using dd to Make a Clone of a Drive

2006-02-09 Thread Gayn Winters
[mailto:[EMAIL PROTECTED] On Behalf Of Martin McCormick Sent: Thursday, February 09, 2006 12:36 PM To: freebsd-questions@freebsd.org Subject: Using dd to Make a Clone of a Drive After installing FreeBSD5.4, the ISC dhcp server and ISC bind on a hard drive, I wanted to clone that

Re: Using dd to Make a Clone of a Drive

2006-02-09 Thread Martin McCormick
I thought I was limited to only the block size of the disks. I am now trying a much larger block size as suggested and will see what happens. Many thanks. Martin McCormick ___ freebsd-questions@freebsd.org mailing list

Re: Using dd to Make a Clone of a Drive

2006-02-09 Thread Giorgos Keramidas
On 2006-02-09 14:36, Martin McCormick [EMAIL PROTECTED] wrote: After installing FreeBSD5.4, the ISC dhcp server and ISC bind on a hard drive, I wanted to clone that drive to a second drive so as to generate a second server, using what I had already installed as a template. I used the

Re: Using dd to Make a Clone of a Drive

2006-02-09 Thread Paul Schmehl
--On Friday, February 10, 2006 00:01:23 +0200 Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2006-02-09 14:36, Martin McCormick [EMAIL PROTECTED] wrote: After installing FreeBSD5.4, the ISC dhcp server and ISC bind on a hard drive, I wanted to clone that drive to a second drive so as

Re: Using dd to Make a Clone of a Drive

2006-02-09 Thread Kevin Kinsey
Giorgos Keramidas wrote: On 2006-02-09 14:36, Martin McCormick [EMAIL PROTECTED] wrote: After installing FreeBSD5.4, the ISC dhcp server and ISC bind on a hard drive, I wanted to clone that drive to a second drive so as to generate a second server, using what I had already installed