View Single Post
Old 17th June 2010
sharris sharris is offline
Package Pilot
 
Join Date: Jun 2010
Posts: 146
Default

That wasn’t so hard after all. Now I get it.
dd under Arch-Linux with-out a value given seem to default to 512k
dd under FreeBSD with-out a value given seem to default to 1b.

Using FreeBSD 8.0 - i386:
dd if=/dev/zero of=/dev/ad4s2 0000000 # 10,742,215,680 - 1367.571268s
dd if=/dev/zero of=/dev/ad4s2 bs=512k # 10,742,215,680 - 90.408628s

dd if=/dev/ad4s12 of=/dev/ad4s2 00000 # 10,742,215,680 - 3-hours PLUS
dd if=/dev/ad4s12 of=/dev/ad4s2 bs=1M # 10,742,215,680 - 239 seconds

The missing keyword everywhere I been: "You must give dd under FreeBSD a value unless you have plenty of time to spare"

Thanks again DaemonForums, I would have not tried this for another 6 month.

PS:
But one thing to beware of. If you are copying a FreeBSD version of a difference kind (i386 / AMD-64) to your extended DOS partitions and you try to copy it back some day like I just did using FreeBSD-i386 (on Par-1)... don't do it ... USE Arch-Linux, because when I just did it with FreeBSD it stripped or included the GEOM DOS label and FreeBSD on Par-2 did not work.

I did the exact same thing with Arch-Linux after re-booting and it worked. It all depends on what you're trying and this does prove that these OS use the dd program differently which in my case Arch-Linux does fine. FreeBSD need more code to fix the disk in this situation. So this way is easy and safer for what I just seen.
...............................
...............................

Partition 1: FreeBSD i386 - 10GB
Partition 2: FreeBSD AMD - 10GB
Partition 3: pcbsd AMD - 40GB
Partition 4: Arch-Linux and three happy back-up partiion
of same size 10GB - 10GB - 40GB and the rest for stoarge
Reply With Quote