Re: [opensuse] Copy One Hard Drive To Another Hard Drive(Backup)?
On Wed, Apr 24, 2013 at 2:15 PM, Greg Freemyer <greg.freemyer@gmail.com> wrote:
On Wed, Apr 24, 2013 at 1:57 PM, Mark Hounschell <markh@compro.net> wrote:
On 04/24/2013 01:50 PM, Dsant wrote:
Le 24/04/2013 19:35, Mark Hounschell a écrit :
On 04/24/2013 12:21 PM, Dsant wrote:
* dd is not safe. * For such a size, avoid graphical tools. * So prepare your partition, and use rsync instead : rsync -r -P -t --progress source destination
Could you explain why "dd is not safe"?
mark
Tell me if I am wrong, but dd does not know about partition format consistency , files and folders, or checksums. So if you have the choice between dd and rsync, rsync will complain if CRC is wrong. The best would be that the tool would re-read what have been written, as for CD-RW.
It does not know or care about "about partition format consistency , files and folders, or checksums". It does a sector by sector copy. The only problems I know about are when the 2 disks are not of the same size, and or, when the original disk is a "system" disk and the OS is configured for other than by device name. Even then it's easy to make it right.
Mark
I believe Dsant is looking for something like: read source and calculate CRC/hash write dest read dest and verify CRC/hash Errors do occur that cause the copy to be corrupt and thus for verify to fail. In my experience it is a hardware issue of some kind (bad disk, cables, ram, power supply, etc.) I have nothing against rsync, but if you want/need functionality like the above, the ewftools package I mentioned can also do it. ewfacquire is a tool that will copy all the sectors of a physical disk into a large file. It does add CRC/hash info to the "image" file. It also will break the image file up into segments. I have used 2GB segments very often, so a 500GB drive image would require 250 segment files to hold it. It also supports multiple compression levels, so it often compresses down pretty significantly. To verify the image still is an accurate copy of what was read you can use ewfverify. It will verify the CRCs and an overall hash. To restore the image, ewfexport. To just work with the image as if it was one large file like a simple dd to a file would create, you use ewfmount. Greg
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2013-04-24 at 14:26 -0400, Greg Freemyer wrote:
I have nothing against rsync, but if you want/need functionality like the above, the ewftools package I mentioned can also do it. ewfacquire is a tool that will copy all the sectors of a physical disk into a large file. It does add CRC/hash info to the "image" file. It also will break the image file up into segments. I have used 2GB segments very often, so a 500GB drive image would require 250 segment files to hold it.
Is this tool available in a live? Like the 12.3 xfce rescue image. - -- Cheers, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAlF4JkwACgkQtTMYHG2NR9VkegCfeeTeBXC8chkNN2w0dXmDCrpX yccAn1+LN1q0rTq0vDFi/iC28NkFbagu =xQOi -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, Apr 24, 2013 at 2:36 PM, Carlos E. R. <robin.listas@telefonica.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wednesday, 2013-04-24 at 14:26 -0400, Greg Freemyer wrote:
I have nothing against rsync, but if you want/need functionality like the above, the ewftools package I mentioned can also do it. ewfacquire is a tool that will copy all the sectors of a physical disk into a large file. It does add CRC/hash info to the "image" file. It also will break the image file up into segments. I have used 2GB segments very often, so a 500GB drive image would require 250 segment files to hold it.
Is this tool available in a live? Like the 12.3 xfce rescue image.
Nothing official, but yes I have one: http://susestudio.com/a/eD1wrT/dfir-opensuse-gnome-desktop-32bit Version 0.1.x is based on OS 12.2 It boots to cli. The root password is "linux". Or you can login as "dfir" with the same password. Networking is disabled at boot. If you want a gnome desktop, init 5 or startx should work. I rarely do that, so I'm not positive it works. I am in the process of building one for OS12.3. I think I will version it as 0.3.x. I add a few additional tools everytime I build it, so let me know if you try and find your are missing something you would like to have. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2013-04-24 at 16:00 -0400, Greg Freemyer wrote:
Is this tool available in a live? Like the 12.3 xfce rescue image.
Nothing official, but yes I have one:
http://susestudio.com/a/eD1wrT/dfir-opensuse-gnome-desktop-32bit
Version 0.1.x is based on OS 12.2
It boots to cli. The root password is "linux". Or you can login as "dfir" with the same password. Networking is disabled at boot. If you want a gnome desktop, init 5 or startx should work. I rarely do that, so I'm not positive it works.
I am in the process of building one for OS12.3. I think I will version it as 0.3.x. I add a few additional tools everytime I build it, so let me know if you try and find your are missing something you would like to have.
I want to do an image soon, but I don't know yet how I will do it. Maybe I will install 12.3 on a spare partition (which I want to do, anyway), and install those tools there to image my main system. Or I can try your live instead. - -- Cheers, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAlF5oQoACgkQtTMYHG2NR9W1PwCfXLNqWqky/gpOG+8ZAHx/FUSN 2fkAoJAckNdnIBD81r2c12TJXxQAtM2w =2YRT -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, 2013-04-25 at 23:32 +0200, Carlos E. R. wrote:
On Wednesday, 2013-04-24 at 16:00 -0400, Greg Freemyer wrote:
I want to do an image soon, but I don't know yet how I will do it. Maybe I will install 12.3 on a spare partition (which I want to do, anyway), and install those tools there to image my main system. Or I can try your live instead.
By the way, susestudio download speed is terrible. It is expected to last 5..9 hours at 20..50KB/S, much less than my available bandwidth :-( I'll have to leave the computer running the night over, or the session will expire. - -- Cheers, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAlF5pxIACgkQtTMYHG2NR9VyDACggHC8i/038B2oO4gJX1uIMr4b c2MAnjPDRJCMabC29MzXYAGk/DIQ3Nbr =97rr -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Carlos E. R.
-
Greg Freemyer