From owner-freebsd-questions@FreeBSD.ORG Wed Mar 31 19:51:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACE2B106564A for ; Wed, 31 Mar 2010 19:51:47 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from werkwelt.de (post.werkwelt.de [91.194.85.74]) by mx1.freebsd.org (Postfix) with ESMTP id 20E4C8FC0A for ; Wed, 31 Mar 2010 19:51:46 +0000 (UTC) Received: from [88.77.198.233] (account kuku@kukulies.org HELO [192.168.2.102]) by werkwelt.de (CommuniGate Pro SMTP 5.0.13) with ESMTPSA id 6826181; Wed, 31 Mar 2010 21:51:27 +0200 Message-ID: <4BB3A7AF.2040202@kukulies.org> Date: Wed, 31 Mar 2010 21:51:11 +0200 From: Christoph Kukulies User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Peter Steele References: <4BB21D20.4080000@kukulies.org> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B65F2F5@MBX03.exg5.exghost.com> <4BB321E4.9080709@kukulies.org> In-Reply-To: <4BB321E4.9080709@kukulies.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: dd cloning slightly different disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2010 19:51:47 -0000 This are the bonnie results: # bonnie -s 4000 File './Bonnie.1283', size: 4194304000 Writing with putc()...done Rewriting...done Writing intelligently...done Reading with getc()...done Reading intelligently...done Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done... -------Sequential Output-------- ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 4000 118158 79.4 119134 19.0 44154 10.4 61967 53.0 104888 10.5 5344.4 12.4 -- Christoph Christoph Kukulies schrieb: > Thanks, Peter and all others. Indeed, in contrary to the expected, I > went into my office this morning, swapped the > HD against the SSD, and was able to boot both FreeBSD, Windows without > a hitch or any other tweaking. > > The dd over USB 2.0 to the SSD from the WD hard disk took 21261 s > (nearly 6 hours) > I would possibly have had better results if I had both disks connected > to a SATA controller > and did the dd there, but so what, I'm there happily. > > Thanks for sharing. > > -- > Christoph > Will post bonnie results later. > > Peter Steele schrieb: >> Theoretically, doing a straight dd copy of one disk to another and >> then swapping in that disk should work. I've done it, with no other >> tweaking needed. I've never done it with mixed OS instances on the >> same disk, or for that matter with a solid state drive. You'll lose >> the trailing 12GB of your disk, although you might be able to expand >> the last partition of whatever OS uses it to include this lost space.... >> >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org >> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Christoph >> Kukulies >> Sent: Tuesday, March 30, 2010 8:48 AM >> To: freebsd-questions@freebsd.org >> Subject: dd cloning slightly different disks >> >> Though not 100% FreeBSD centric, my question, I know that disk >> partitioning experts are around here. >> My noteook HD is a WD 5000BEVT, (500GB). Today I bought a Kingston >> SDnowV+ Solid State drive, 512GB, with the intention to make my >> notebook a bit faster. It's an Intel Core 2 Duo, >> 7400 CPU. >> >> The WD disk shows as having 976773168 sectors (500108 MB), the SSD >> has 1000215216 sectors (512110 MB). >> >> At the moment I'm copying (dd) from the WD internal disk to the SSD >> which I had put into an external SATA Icybox. >> >> I'm hoping to be able to use my FreeBSD and Windows partitions >> afterwards somehow, possibly with some geometry tweaking or what. Due >> to the different disk geometry I'm expecting that the partition table >> entries will be wrong. >> >> Any clues how I should proceed when the copy will be done in 7 hours >> or so? (20MB/s is the transfer rate I got from a short test that I >> did before starting the big copy). >> >> -- >> Christoph