Creating clone of a HDD including boot partition
bsd
bsd at todoo.biz
Thu Dec 16 22:05:40 UTC 2010
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 [WRITE(offset=58978680256, length=131072)]error = 5
>
> You have to little disk space, is my guess.
>
>> Up to a point where It has finaly freezed my running FBSD 8.1.
>
> To little to fast.
>
>> I don't think I have reached the end of the file… ??
>>
Ok,
I have got It working.
I have created an 736 MB archive of my 160 GB hard drive.
Now I am trying to restore It from my mac with :
$ gzcat pfSense_HDD.gz | dd of=/dev/disk1 bs=1m
It has started at 19h52 and at 32h02 it is still not finished…
I thing I'll go to sleep and see if the baby is born tomorow morning.
Is there anything I can do to speed up the process ?
Anyway thank you for all this useful help.
––––––––––––––––––––––––––––––––––––––––––––––
---------> Grégory Bernard Director <---------
---------------> www.osnet.eu <---------------
--> Your provider of OpenSource appliances <--
––––––––––––––––––––––––––––––––––––––––––––––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO
More information about the freebsd-questions
mailing list