Hi all,
FreeBSD 8.2. Needing to duplicate a non-FreeBSD slice on the same drive. Backups do not work! It must be raw sector copied. Typically I would use two disks and
Question 1:
Needing confirmation of where it all starts and stops.
Correct?
Question 2:
How to tell dd to start writing at the end of the first slice and continue from there?
Tried using OSEEK on the output and made a mess of things. So before I try again I plead for assistance.
At some point in time I'll need to go the other way as well. Slice 2 (the copy) will need to be copied back to slice 1. (restored)
Thanks,
-Enjoy
fh : )_~
FreeBSD 8.2. Needing to duplicate a non-FreeBSD slice on the same drive. Backups do not work! It must be raw sector copied. Typically I would use two disks and
dd
it, something like dd if=/dev/ad4 of=/dev/ad6 bs=1m
. However this time I would like to do it on the same drive. (tired of wasting drives and doing the complete drive). #gpart show /dev/ad6
Code:
=> 63 976773105 ad6 MBR (466G)
63 409593177 1 ntfs [active] (195G)
409593240 567179928 - free - (270G)
Question 1:
Needing confirmation of where it all starts and stops.
Code:
Read Starts at 63 and ends at 409593240
Write starts at 409593241 and ends at 819186418
Question 2:
How to tell dd to start writing at the end of the first slice and continue from there?
Tried using OSEEK on the output and made a mess of things. So before I try again I plead for assistance.
At some point in time I'll need to go the other way as well. Slice 2 (the copy) will need to be copied back to slice 1. (restored)
Thanks,
-Enjoy
fh : )_~