Re: dd cloning slightly different disks

2010-03-31 Thread Christoph Kukulies
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-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@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
  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dd cloning slightly different disks

2010-03-31 Thread Christoph Kukulies

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---
MachineMB 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-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@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


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: dd cloning slightly different disks

2010-03-30 Thread Peter Steele
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-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@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

___
freebsd-questions@freebsd.org mailing list 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dd cloning slightly different disks

2010-03-30 Thread Jerry McAllister
On Tue, Mar 30, 2010 at 05:47:44PM +0200, Christoph Kukulies wrote:

 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).

Well, this could possibly work, but I wonder why you want to do it
this way.I would be inclined to divide the disk as desired, do
the MSW install in the first slice and then get a FeeBSD fixit and
partition the other slice and then use dump/restore to move the FreeBSD
stuff over.   That way you get the best fit for the new disk, no
worries about tweaking geometry and no loss of the amount the new
drive is bigger than the old one.

jerry


 
 --
 Christoph
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dd cloning slightly different disks

2010-03-30 Thread ill...@gmail.com
On 30 March 2010 12:11, Jerry McAllister jerr...@msu.edu wrote:
 On Tue, Mar 30, 2010 at 05:47:44PM +0200, Christoph Kukulies wrote:

 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).

 Well, this could possibly work, but I wonder why you want to do it
 this way.    I would be inclined to divide the disk as desired, do
 the MSW install in the first slice and then get a FeeBSD fixit and
 partition the other slice and then use dump/restore to move the FreeBSD
 stuff over.   That way you get the best fit for the new disk, no
 worries about tweaking geometry and no loss of the amount the new
 drive is bigger than the old one.

 jerry


Or even a middle path of creating the slices, making sure
that the windows-to-be slice is exactly close enough, dd-ing
the windows slice over (testing that it boots), and then
running the dump/restore cycle for the freebsd portion of
the drive.

-- 
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dd cloning slightly different disks

2010-03-30 Thread Christoph Kukulies

Jerry McAllister schrieb:

On Tue, Mar 30, 2010 at 05:47:44PM +0200, Christoph Kukulies wrote:

  
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).



Well, this could possibly work, but I wonder why you want to do it
this way.I would be inclined to divide the disk as desired, do
the MSW install in the first slice and then get a FeeBSD fixit and
partition the other slice and then use dump/restore to move the FreeBSD
stuff over.   That way you get the best fit for the new disk, no
worries about tweaking geometry and no loss of the amount the new
drive is bigger than the old one.
  


Reason was: I wanted to preserve all settings (Windows XP and FreeBSD) 
and avoid any
reinstallation of packages or sth. and wanted to continue working with a 
minimum of interruption.


Maybe I could  use the 12GB overspace  either later by assigning it an 
extra partition or

grow some partition that is adjacent to the free space.

--
Christoph


jerry


  

--
Christoph

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dd cloning slightly different disks

2010-03-30 Thread Jerry McAllister
On Tue, Mar 30, 2010 at 06:26:08PM +0200, Christoph Kukulies wrote:

 Jerry McAllister schrieb:
 On Tue, Mar 30, 2010 at 05:47:44PM +0200, Christoph Kukulies wrote:
 
   
 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).
 
 
 Well, this could possibly work, but I wonder why you want to do it
 this way.I would be inclined to divide the disk as desired, do
 the MSW install in the first slice and then get a FeeBSD fixit and
 partition the other slice and then use dump/restore to move the FreeBSD
 stuff over.   That way you get the best fit for the new disk, no
 worries about tweaking geometry and no loss of the amount the new
 drive is bigger than the old one.
   
 
 Reason was: I wanted to preserve all settings (Windows XP and FreeBSD) 
 and avoid any
 reinstallation of packages or sth. and wanted to continue working with a 
 minimum of interruption.

Well, I don't know about the MSW stuff, but for the FreeBSD part, 
the dump/restore would keep everything they way it was.

jerry

 
 Maybe I could  use the 12GB overspace  either later by assigning it an 
 extra partition or
 grow some partition that is adjacent to the free space.

 
 --
 Christoph
 
 jerry
 
 
   
 --
 Christoph
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dd cloning slightly different disks

2010-03-30 Thread Mike Clarke
On Tuesday 30 March 2010, Christoph Kukulies wrote:

 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.

Having created problems for myself by doing something similar in the 
past I'd be wary of using dd for this, 
http://preview.tinyurl.com/yzckfx5 will take you to Google Groups for 
the relevant thread in comp.unix.bsd.freebsd.misc.

The safe approach would be to use fdisk to create the desired slices on 
the new disk, use bsdlabel to partition the FreeBSD slice and then use 
dump|restore to copy the data.

You should be able to copy your Windows partition with DriveImage XML, 
free for private use from http://www.runtime.org/driveimage-xml.htm

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dd cloning slightly different disks

2010-03-30 Thread Warren Block

On Tue, 30 Mar 2010, Mike Clarke wrote:

On Tuesday 30 March 2010, Christoph Kukulies wrote:


At the moment I'm copying (dd) from the WD internal disk to the SSD
which I had put into an external SATA Icybox.

...

You should be able to copy your Windows partition with DriveImage XML,
free for private use from http://www.runtime.org/driveimage-xml.htm


Clonezilla is open source and has worked for me:
  http://www.clonezilla.org

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org