zfs clone, nfs and pxeboot

2011-07-28 Thread admin
Hi, I wanted to experiment a bit with pxeboot. Therefore I created a zfs clone of a jail filesystem. The clone was shared as via nfs. Pxeboot complained that it can't load the kernel. The pxeboot ls command gave some correct and some really messed up filenames. I then deleted the clone and copied

Re: zfs clone, nfs and pxeboot

2011-07-28 Thread krad
On 28 July 2011 11:41, ad...@prnet.org wrote: Hi, I wanted to experiment a bit with pxeboot. Therefore I created a zfs clone of a jail filesystem. The clone was shared as via nfs. Pxeboot complained that it can't load the kernel. The pxeboot ls command gave some correct and some really

Re: zfs clone, nfs and pxeboot

2011-07-28 Thread David Arendt
. Therefore I created a zfs clone of a jail filesystem. The clone was shared as via nfs. Pxeboot complained that it can't load the kernel. The pxeboot ls command gave some correct and some really messed up filenames. I then deleted the clone and copied the filesystem (in the same zpool) using zfs send

Re: Creating clone of a HDD including boot partition

2010-12-16 Thread bsd
Le 15 déc. 2010 à 20:20, Warren Block a écrit : On Wed, 15 Dec 2010, bsd wrote: Is there a way to dd to a file to create an iso image and then restore (still using dd from this image). I only have one IDE -- USB cable so this is the reason why It'd more simple for me to create an iso

Re: Creating clone of a HDD including boot partition

2010-12-16 Thread Giorgos Keramidas
On Wed, 15 Dec 2010 18:57:33 +0100, bsd b...@todoo.biz wrote: Le 15 déc. 2010 à 16:45, Giorgos Keramidas a écrit : On Wed, 15 Dec 2010 16:11:45 +0100, bsd b...@todoo.biz wrote: Is there a way to dd to a file to create an iso image and then restore (still using dd from this image). I only have

Re: Creating clone of a HDD including boot partition

2010-12-16 Thread Warren Block
On Thu, 16 Dec 2010, bsd wrote: I have tried to use the compressed approach using smthg like: # mount /dev/ad0s1a /mnt # cd /mnt # dd if=/dev/zero of=zerofile bs=1M I have a lot of errors on standerr output such as : g_vfs_done() : da0s1a [WRITE(offset=58978680256, length=131072)]error = 5

Re: Creating clone of a HDD including boot partition

2010-12-16 Thread Bernt Hansson
2010-12-16 11:55, bsd: I have tried to use the compressed approach using smthg like: # mount /dev/ad0s1a /mnt # cd /mnt # dd if=/dev/zero of=zerofile bs=1M I have a lot of errors on standerr output such as : g_vfs_done() : da0s1a [WRITE(offset=58978680256, length=131072)]error = 5 You

Re: Creating clone of a HDD including boot partition

2010-12-16 Thread bsd
Le 16 déc. 2010 à 16:03, Bernt Hansson a écrit : 2010-12-16 11:55, bsd: I have tried to use the compressed approach using smthg like: # mount /dev/ad0s1a /mnt # cd /mnt # dd if=/dev/zero of=zerofile bs=1M I have a lot of errors on standerr output such as : g_vfs_done() : da0s1a

Re: Creating clone of a HDD including boot partition

2010-12-16 Thread Adam Vande More
On Thu, Dec 16, 2010 at 4:05 PM, bsd b...@todoo.biz wrote: $ gzcat pfSense_HDD.gz | dd of=/dev/disk1 bs=1m snip Is there anything I can do to speed up the process ? Not without interrupting it, but prior to that you could have done things like testing for optimal bs=. 1m should perform

Re: Creating clone of a HDD including boot partition

2010-12-15 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Tue Dec 14 09:01:02 2010 From: nagios nag...@todoo.biz Date: Tue, 14 Dec 2010 15:42:42 +0100 To: Liste FreeBSD freebsd-questions@freebsd.org Subject: Creating clone of a HDD including boot partition Hello, I have setup a tailored made

Re: Creating clone of a HDD including boot partition

2010-12-15 Thread Polytropon
On Wed, 15 Dec 2010 02:00:15 -0600 (CST), Robert Bonomi bon...@mail.r-bonomi.com wrote: What would be your suggested method to achieve this goal. *IF* the disks are the same size/geometry, then simply dd(1) from one raw device to the other. And if it's not, use the recommended standard

Re: Creating clone of a HDD including boot partition

2010-12-15 Thread Warren Block
On Wed, 15 Dec 2010, Polytropon wrote: On Wed, 15 Dec 2010 02:00:15 -0600 (CST), Robert Bonomi bon...@mail.r-bonomi.com wrote: What would be your suggested method to achieve this goal. *IF* the disks are the same size/geometry, then simply dd(1) from one raw device to the other. Also

Re: Creating clone of a HDD including boot partition

2010-12-15 Thread bsd
-questi...@freebsd.org Tue Dec 14 09:01:02 2010 From: nagios nag...@todoo.biz Date: Tue, 14 Dec 2010 15:42:42 +0100 To: Liste FreeBSD freebsd-questions@freebsd.org Subject: Creating clone of a HDD including boot partition Hello, I have setup a tailored made configuration (1 UFS partition

Re: Creating clone of a HDD including boot partition

2010-12-15 Thread Giorgos Keramidas
On Wed, 15 Dec 2010 16:11:45 +0100, bsd b...@todoo.biz wrote: Is there a way to dd to a file to create an iso image and then restore (still using dd from this image). I only have one IDE -- USB cable so this is the reason why It'd more simple for me to create an iso image of the disk and then

Re: Creating clone of a HDD including boot partition

2010-12-15 Thread bsd
Just to be precise, I am not trying to do an ISO image of a running root FS, but of a USB attached disk. … Le 15 déc. 2010 à 16:45, Giorgos Keramidas a écrit : On Wed, 15 Dec 2010 16:11:45 +0100, bsd b...@todoo.biz wrote: Is there a way to dd to a file to create an iso image and then

Re: Creating clone of a HDD including boot partition

2010-12-15 Thread Warren Block
On Wed, 15 Dec 2010, bsd wrote: Is there a way to dd to a file to create an iso image and then restore (still using dd from this image). I only have one IDE -- USB cable so this is the reason why It'd more simple for me to create an iso image of the disk and then restore. Use dd's of=

Re: Creating clone of a HDD including boot partition

2010-12-15 Thread Mehmet Erol Sanliturk
On Wed, Dec 15, 2010 at 12:57 PM, bsd b...@todoo.biz wrote: Just to be precise, I am not trying to do an ISO image of a running root FS, but of a USB attached disk. … I did not apply the following steps for FreeBSD , but I have applied them in Mandriva Linux a few times : Assume that the

Creating clone of a HDD including boot partition

2010-12-14 Thread nagios
Hello, I have setup a tailored made configuration (1 UFS partition + 1 swap + boot sectors) for some hardware that I am reselling and would like to clone one existing HDD (tailor made) and be able to dump to another new HDD. System is running pfSense with FreeBSD 7.2 and soon 8.x What

Re: Creating clone of a HDD including boot partition

2010-12-14 Thread Mike Jeays
that I am reselling and would like to clone one existing HDD (tailor made) and be able to dump to another new HDD. System is running pfSense with FreeBSD 7.2 and soon 8.x What would be your suggested method to achieve this goal. Thx

Re: Creating clone of a HDD including boot partition

2010-12-14 Thread Jorge Biquez
made configuration (1 UFS partition + 1 swap + boot sectors) for some hardware that I am reselling and would like to clone one existing HDD (tailor made) and be able to dump to another new HDD. System is running pfSense with FreeBSD 7.2 and soon 8.x What would be your suggested method

Re: dd to clone disks - new disk fails to boot.

2010-10-22 Thread krad
On 20 October 2010 14:55, Warren Block wbl...@wonkity.com wrote: On Wed, 20 Oct 2010, Modulok wrote: Problem: I copied from an old hard drive to a new one via FreeBSD's dd. The new drive won't boot. The old drive worked fine. (The new drive is known-to-work.) Background: I have a system

dd to clone disks - new disk fails to boot.

2010-10-20 Thread Modulok
Problem: I copied from an old hard drive to a new one via FreeBSD's dd. The new drive won't boot. The old drive worked fine. (The new drive is known-to-work.) Background: I have a system with a 160GB disk in it. It runs windows. It works. I have a blank 250GB disk. I want to copy the entire 160GB

Re: dd to clone disks - new disk fails to boot.

2010-10-20 Thread Warren Block
On Wed, 20 Oct 2010, Modulok wrote: Problem: I copied from an old hard drive to a new one via FreeBSD's dd. The new drive won't boot. The old drive worked fine. (The new drive is known-to-work.) Background: I have a system with a 160GB disk in it. It runs windows. It works. I have a blank

Dump/restore to clone disk

2010-02-22 Thread Aiza
I have seen this posted in the questions archives to be used to clone a active system hard drive to a USB cabled hard drive. Prepare the target #dd if=/dev/zero of=/dev/da0 count=2 # fdisk -BI /dev/da0 # bsdlabel -B -w da0s1 # newfs –U /dev/da0s1a # / # newfs -U /dev/da0s1d

Re: Dump/restore to clone disk

2010-02-22 Thread Polytropon
On Mon, 22 Feb 2010 16:33:47 +0800, Aiza aiz...@comclark.com wrote: I have seen this posted in the questions archives to be used to clone a active system hard drive to a USB cabled hard drive. Prepare the target #dd if=/dev/zero of=/dev/da0 count=2 # fdisk -BI /dev/da0 # bsdlabel -B

Re: Dump/restore to clone disk

2010-02-22 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22/02/2010 08:33, Aiza wrote: What happened to swap? The fstab will be showing it as the first file system on the hard drive slice. Is something missing here? Swap isn't a filesystem. There's no persistent content in a swap partition, so

Re: Dump/restore to clone disk

2010-02-22 Thread Jerry McAllister
On Mon, Feb 22, 2010 at 04:33:47PM +0800, Aiza wrote: I have seen this posted in the questions archives to be used to clone a active system hard drive to a USB cabled hard drive. Prepare the target #dd if=/dev/zero of=/dev/da0 count=2 # fdisk -BI /dev/da0 # bsdlabel -B -w da0s1

Re: clone-dump-restore

2009-10-15 Thread Jerry McAllister
On Wed, Oct 14, 2009 at 09:29:42PM -0400, PJ wrote: I believe that my problems arise out of subliminal refuse syndrome: the brain refuses to comprehend dump and restore TOs and FROMs. In other words, I'm beginning to see that dump -0af TO ( - or device/file) FROM (device or directory/file)

clone-dump-restore

2009-10-14 Thread PJ
with all the proggies configurations the way I want them, I tried (notice - tried) to clone the system. Here's the setup: FBSD 7.2 on ad4 and same on ad12. First, running on ad4, I tried to dump restore each partition directly: ad12s1a to da0s1a (usb sata disk). No go. I had set it up originally

Re: clone-dump-restore

2009-10-14 Thread Polytropon
On Wed, 14 Oct 2009 17:21:57 -0400, PJ af.gour...@videotron.ca wrote: It has taken me some time to prepare for a cloning of an existing 7.2 sytem. Now that I have everything running smoothly with all the proggies configurations the way I want them, I tried (notice - tried) to clone the system

Re: clone-dump-restore

2009-10-14 Thread PJ
I believe that my problems arise out of subliminal refuse syndrome: the brain refuses to comprehend dump and restore TOs and FROMs. In other words, I'm beginning to see that dump -0af TO ( - or device/file) FROM (device or directory/file) and restore -rf (TO curr.dir FROM device or file) or

Re: clone-dump-restore

2009-10-14 Thread Polytropon
On Wed, 14 Oct 2009 21:29:42 -0400, PJ af.gour...@videotron.ca wrote: I believe that my problems arise out of subliminal refuse syndrome: the brain refuses to comprehend dump and restore TOs and FROMs. In other words, I'm beginning to see that dump -0af TO ( - or device/file) FROM (device or

Re: FSJ clone

2008-09-22 Thread Tsu-Fan Cheng
something.___a, something__b... TFC On Sun, Sep 21, 2008 at 9:41 PM, RW [EMAIL PROTECTED] wrote: On Sun, 21 Sep 2008 17:07:48 -0400 Tsu-Fan Cheng [EMAIL PROTECTED] wrote: i try cat, but it doesn't seem right, The files i download are components of a movie, but after I cat them, mplayer

Re: FSJ clone

2008-09-22 Thread RW
On Mon, 22 Sep 2008 06:53:06 -0400 Tsu-Fan Cheng [EMAIL PROTECTED] wrote: something.___a, something__b... I'd try joining with cat, and then unraring or unzipping. ___ freebsd-questions@freebsd.org mailing list

Re: FSJ clone

2008-09-22 Thread Tsu-Fan Cheng
try both, neither work, appreciated though. TFC On Mon, Sep 22, 2008 at 8:36 AM, RW [EMAIL PROTECTED] wrote: On Mon, 22 Sep 2008 06:53:06 -0400 Tsu-Fan Cheng [EMAIL PROTECTED] wrote: something.___a, something__b... I'd try joining with cat, and then unraring or unzipping.

Re: FSJ clone

2008-09-22 Thread Mel
On Monday 22 September 2008 14:41:33 Tsu-Fan Cheng wrote: try both, neither work, appreciated though. I think you're vendor-locked in, until you figure out how the password is done. You could try running FSJ under wine (emulators/wine). -- Mel Problem with today's modular software: they

FSJ clone

2008-09-21 Thread Tsu-Fan Cheng
Hi, is there a similar program like FSJ, file split/join tool on freebsd? thanks!! TFC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: FSJ clone

2008-09-21 Thread Wojciech Puchar
man split man cat On Sun, 21 Sep 2008, Tsu-Fan Cheng wrote: Hi, is there a similar program like FSJ, file split/join tool on freebsd? thanks!! TFC ___ freebsd-questions@freebsd.org mailing list

Re: FSJ clone

2008-09-21 Thread Tim Kellers
For media files, there is also lxsplit in ports. /usr/ports/sysutils/lxsplit Tim Wojciech Puchar wrote: man split man cat On Sun, 21 Sep 2008, Tsu-Fan Cheng wrote: Hi, is there a similar program like FSJ, file split/join tool on freebsd? thanks!! TFC

Re: FSJ clone

2008-09-21 Thread Daniel Bye
On Sun, Sep 21, 2008 at 03:25:44PM -0400, Tsu-Fan Cheng wrote: Hi, is there a similar program like FSJ, file split/join tool on freebsd? thanks!! split(1) and cat(1) Dan -- Daniel Bye _

Re: FSJ clone

2008-09-21 Thread Wojciech Puchar
what do you mean media file? On Sun, 21 Sep 2008, Tim Kellers wrote: For media files, there is also lxsplit in ports. /usr/ports/sysutils/lxsplit Tim Wojciech Puchar wrote: man split man cat On Sun, 21 Sep 2008, Tsu-Fan Cheng wrote: Hi, is there a similar program like FSJ, file

Re: FSJ clone

2008-09-21 Thread Tim Kellers
multimedia files. It works very well when the target (or source) file is a large multimedia file that needs to be transmitted in small sections and reassembled. I've had mixed results using it to split up and re-join large text files like log files or /var/mail/username files. Wojciech

Re: FSJ clone

2008-09-21 Thread Tsu-Fan Cheng
i try cat, but it doesn't seem right, The files i download are components of a movie, but after I cat them, mplayer can't read them. also the original post showed password is required when putting files together. thanks TFC On Sun, Sep 21, 2008 at 4:13 PM, Wojciech Puchar [EMAIL PROTECTED]

Re: FSJ clone

2008-09-21 Thread Mel
On Sunday 21 September 2008 23:05:48 Tim Kellers wrote: multimedia files. It works very well when the target (or source) file is a large multimedia file that needs to be transmitted in small sections and reassembled. Then it's no different then split/cat. It would be different, if it would

Re: FSJ clone

2008-09-21 Thread RW
On Sun, 21 Sep 2008 17:07:48 -0400 Tsu-Fan Cheng [EMAIL PROTECTED] wrote: i try cat, but it doesn't seem right, The files i download are components of a movie, but after I cat them, mplayer can't read them. also the original post showed password is required when putting files together.

FB7.0 - ifconfig clone error - SIOCIFCREATE2: Invalid argument

2008-07-02 Thread Ross
Hi there, I've been playing with a new FB7.0 setup (using the standard iso distribution), and trying to create some vlans by doing cloning via the rc.conf cloned_interfaces command - but that fails. (I'm using bce interfaces on a HP bl760c blade, if that makes any difference) Doing manual

Re: FB7.0 - ifconfig clone error - SIOCIFCREATE2: Invalid argument

2008-07-02 Thread Ross
R My digging further shows that a patch was committed to R src/sys/net/if_clone.c (rev 1.11) which adds a new argument for R parameter data to the if_clone_create() function. Ignore my further digging (I blame the holidays), I was looking at if_clone_createif - not if_clone_create, which has a

Re: FB7.0 - ifconfig clone error - SIOCIFCREATE2: Invalid argument

2008-07-02 Thread Vince Hoffman
Ross wrote: Hi there, I've been playing with a new FB7.0 setup (using the standard iso distribution), and trying to create some vlans by doing cloning via the rc.conf cloned_interfaces command - but that fails. (I'm using bce interfaces on a HP bl760c blade, if that makes any difference)

Re[2]: FB7.0 - ifconfig clone error - SIOCIFCREATE2: Invalid argument

2008-07-02 Thread Ross
VH what command are you using exactly? it certainly works here. The standard ones! Which has gotten me confused greatly. Using yours as an example: -= [EMAIL PROTECTED] ~]# ifconfig bce0.5 create ifconfig: SIOCIFCREATE2: Invalid argument [EMAIL PROTECTED] ~]# and playing a bit: [EMAIL

Re[2]: FB7.0 - ifconfig clone error - SIOCIFCREATE2: Invalid argument

2008-07-02 Thread Ross
Doing manual testing of ifconfig xyz0 create causes the error ifconfig: SIOCIFCREATE2: Invalid argument error to come up and the interface then doesn't get created. VH what command are you using exactly? it certainly works here. After enough tinkering around, I've found the issue. Looks

Re: clone a drive, no raid involved

2008-06-20 Thread D G Teed
On Thu, Jun 19, 2008 at 1:08 PM, Brad Mettee [EMAIL PROTECTED] wrote: I'm setting up a pair of machines with almost identical OS config, and completely identical hardware. One is a primary DNS server, the other is secondary. NS1 will also serve web, NS2 will be a mail server. Both are low

clone a drive, no raid involved

2008-06-19 Thread Brad Mettee
I'm setting up a pair of machines with almost identical OS config, and completely identical hardware. One is a primary DNS server, the other is secondary. NS1 will also serve web, NS2 will be a mail server. Both are low volume/loads. It looks like I can use DD to copy an entire drive, but

Re: clone a drive, no raid involved

2008-06-19 Thread Wojciech Puchar
that's going to take a really long time (especially since it's brand new with no data besides base OS). My question: Is there a better way to duplicate a drive including boot info? make same partitions, same newfs, copy files and then bsdlabel -B disk Brad Mettee PC HotShots,

Re: clone a drive, no raid involved

2008-06-19 Thread David Kelly
: Is there a better way to duplicate a drive including boot info? Mount both drives on same machine, right? Then move one to the other? I think you will find its not all that hard to build the 2nd machine from install CDs. But it is a useful learning exercise to learn how to clone a drive before all hell

Re: clone a drive, no raid involved

2008-06-19 Thread Jerry McAllister
On Thu, Jun 19, 2008 at 12:08:34PM -0400, Brad Mettee wrote: I'm setting up a pair of machines with almost identical OS config, and completely identical hardware. One is a primary DNS server, the other is secondary. NS1 will also serve web, NS2 will be a mail server. Both are low

Re: clone a drive, no raid involved

2008-06-19 Thread Alexander Motin
Brad Mettee wrote: I'm setting up a pair of machines with almost identical OS config, and completely identical hardware. One is a primary DNS server, the other is secondary. NS1 will also serve web, NS2 will be a mail server. Both are low volume/loads. It looks like I can use DD to copy an

Re: clone a drive, no raid involved

2008-06-19 Thread Warren Block
the source system with dump for /, /var, and /usr. Then do a minimal install on the clone, setting up the appropriate partition sizes. That is quicker for me than trying to remember fdisk and bsdlabel options. It also avoids the embarrassing situation of getting source and destination disks

OT: disk clone app

2007-11-09 Thread Jean-Paul Natola
Hi everyone, sorry for the off-topic, but im ready to pull the last hairs off my head- a few months I downloaded an open source disk clone program for a friend of mine but it was like 3 am, it worked great booted from floppy and cloned the drive- Now that I really need I can find it for the life

Re: OT: disk clone app

2007-11-09 Thread Steve Bertrand
Jean-Paul Natola wrote: Hi everyone, sorry for the off-topic, but im ready to pull the last hairs off my head- a few months I downloaded an open source disk clone program for a friend of mine but it was like 3 am, it worked great booted from floppy and cloned the drive- g4u? Steve

Re: OT: disk clone app

2007-11-09 Thread Bart Silverstrim
Jean-Paul Natola wrote: Hi everyone, sorry for the off-topic, but im ready to pull the last hairs off my head- a few months I downloaded an open source disk clone program for a friend of mine but it was like 3 am, it worked great booted from floppy and cloned the drive- Now that I really need

Re: error boot up from clone drive

2007-01-23 Thread Malcolm Kay
On Tue, 23 Jan 2007 02:18 am, ann kok wrote: Hi I am trying to test the clone harddrive to boot up the system. I got an error init: can't exec getty '/usr/libexec/getty' for port /dev/tty.. but I check the clone harddive. the file is there /usr/libexec/getty and /dev/tty. i am using

error boot up from clone drive

2007-01-22 Thread ann kok
Hi I am trying to test the clone harddrive to boot up the system. I got an error init: can't exec getty '/usr/libexec/getty' for port /dev/tty.. but I check the clone harddive. the file is there /usr/libexec/getty and /dev/tty. i am using the following to copy the production drive to clone

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: best approach to clone a disk?

2006-02-15 Thread Joe Auty
to clone into single user mode and running dump fron that file system? This would guarantee that dump understands the file system Attached is my script if you want to give it a go Before you do anything though, I suggest making a full disk G4U backup Dont forget to zero out any empty blocks I

Re: best approach to clone a disk?

2006-02-15 Thread Steve Quinn
) and ensure the scripts references to your FreeBSD slices match your system. In the script I sent you, my clone destination disk was ad2 so you will need to look at that as well Don't worry Joe, you are very very close Regarding zeroing empty or unused blocks, have a look at this http

Re: best approach to clone a disk?

2006-02-15 Thread Joe Auty
a look at your fstab (cat /etc/fstab) and ensure the scripts references to your FreeBSD slices match your system. In the script I sent you, my clone destination disk was ad2 so you will need to look at that as well Don't worry Joe, you are very very close Regarding zeroing empty or unused

Re: best approach to clone a disk?

2006-02-15 Thread Jerry McAllister
starting with the base of the file system directory structure and will not write out anything that is not in the current file tree. Unless you are doing some experiment with sector mapping or some such, you don't really want to do a binary clone of a disk or file system. You want an functionally

Re: best approach to clone a disk?

2006-02-15 Thread Steve Quinn
--- Joe Auty [EMAIL PROTECTED] wrote: It sort of helps, but sort of doesn't at the same time. I've tried the dump command from the script using the correct slices, and still had that kernel panic. I figured that using the Freesbie CD might be a way of testing whether my install on my

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

best approach to clone a disk?

2006-02-14 Thread Joe Auty
Okay, In taking the advice of an earlier poster in suggesting that the instructions located here: http://www.unixcities.com/howto/ Are rather old, allow me to make my question a little broader in scope: What is the best way to clone a disk in FreeBSD? Do you have any step- by-step

Re: best approach to clone a disk?

2006-02-14 Thread Don Hinton
to clone a disk in FreeBSD? Do you have any step- by-step instructions? The instructions I used above (even replacing the restore -r flag with a -x) produced a core dump. Can I use DD on two disks of different size? Do you recommend Ghost for Unix? Any other suggestions or recommendations should

Re: best approach to clone a disk?

2006-02-14 Thread Alec Berryman
Joe Auty on 2006-02-14 11:49:05 -0500: What is the best way to clone a disk in FreeBSD? [...] Can I use DD on two disks of different size? Do you recommend Ghost for Unix? g4u is a very nice wrapper for dd. I've had great success with it for identically-sized disks; there shouldn't

Re: best approach to clone a disk?

2006-02-14 Thread Joe Auty
a little broader in scope: What is the best way to clone a disk in FreeBSD? Do you have any step- by-step instructions? The instructions I used above (even replacing the restore -r flag with a -x) produced a core dump. Can I use DD on two disks of different size? Do you recommend Ghost for Unix

Re: best approach to clone a disk?

2006-02-14 Thread Joe Auty
On Feb 14, 2006, at 12:07 PM, Alec Berryman wrote: Joe Auty on 2006-02-14 11:49:05 -0500: What is the best way to clone a disk in FreeBSD? [...] Can I use DD on two disks of different size? Do you recommend Ghost for Unix? g4u is a very nice wrapper for dd. I've had great success

Re: best approach to clone a disk?

2006-02-14 Thread Joe Auty
On Feb 14, 2006, at 12:07 PM, Alec Berryman wrote: Joe Auty on 2006-02-14 11:49:05 -0500: What is the best way to clone a disk in FreeBSD? [...] Can I use DD on two disks of different size? Do you recommend Ghost for Unix? g4u is a very nice wrapper for dd. I've had great success

RE: best approach to clone a disk?

2006-02-14 Thread fbsd_user
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joe Auty Sent: Tuesday, February 14, 2006 11:49 AM To: freebsd-questions@freebsd.org Subject: best approach to clone a disk? Okay, In taking the advice of an earlier poster in suggesting that the instructions located here: http

RE: best approach to clone a disk?

2006-02-14 Thread fbsd_user
: Tuesday, February 14, 2006 12:26 PM To: Alec Berryman Cc: freebsd-questions@freebsd.org Subject: Re: best approach to clone a disk? On Feb 14, 2006, at 12:07 PM, Alec Berryman wrote: Joe Auty on 2006-02-14 11:49:05 -0500: What is the best way to clone a disk in FreeBSD? [...] Can I use

Re: best approach to clone a disk?

2006-02-14 Thread Alec Berryman
Joe Auty on 2006-02-14 12:30:36 -0500: Also, I see that growfs operates off of free sectors. If I were to use dd/g4u, how would I know how many sectors are available for me to grow the partition to? The df command only seems to operate in blocksizes, not sectors. This is rather new to me...

Re: best approach to clone a disk?

2006-02-14 Thread Alec Berryman
Joe Auty on 2006-02-14 12:26:11 -0500: Hmmm... Could you tell me more about how the fixit images work? Boot up your FreeBSD install media, select the 'Fixit' option (it's most of the way down, keyboard shortcut 'f'), and then choose 'CDROM/DVD'. You'll have a basic FreeBSD install in memory

Re: best approach to clone a disk?

2006-02-14 Thread Joe Auty
] Behalf Of Joe Auty Sent: Tuesday, February 14, 2006 11:49 AM To: freebsd-questions@freebsd.org Subject: best approach to clone a disk? Okay, In taking the advice of an earlier poster in suggesting that the instructions located here: http://www.unixcities.com/howto/ Are rather old, allow me

Re: best approach to clone a disk?

2006-02-14 Thread Joe Auty
double the bang for your buck. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joe Auty Sent: Tuesday, February 14, 2006 12:26 PM To: Alec Berryman Cc: freebsd-questions@freebsd.org Subject: Re: best approach to clone a disk? On Feb 14, 2006, at 12:07 PM

Re: best approach to clone a disk?

2006-02-14 Thread Giorgos Keramidas
On 2006-02-14 13:19, Joe Auty [EMAIL PROTECTED] wrote: What is your strategy for dealing with disks of different sizes, like mine are? See a very similar thread which started a few days back: http://lists.freebsd.org/pipermail/freebsd-questions/2006-February/112498.html

Re: best approach to clone a disk?

2006-02-14 Thread Kevin Kinsey
Giorgos Keramidas wrote: On 2006-02-14 13:19, Joe Auty [EMAIL PROTECTED] wrote: What is your strategy for dealing with disks of different sizes, like mine are? See a very similar thread which started a few days back:

Re: best approach to clone a disk?

2006-02-14 Thread Joe Auty
on your new disk requiring growfs or other methods to use it up. (I have not dared to used growfs yet) I often want to clone a FreeBSD installation to a new larger drive and don't want to fuss with post cloning thingys Here's an excellent dump/restore prodecure that I've successfully used

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

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

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

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

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

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

  1   2   >