{"id":1016,"date":"2013-03-05T08:04:07","date_gmt":"2013-03-05T14:04:07","guid":{"rendered":"http:\/\/blografia.net\/vicm3\/?p=1016"},"modified":"2013-03-10T09:48:06","modified_gmt":"2013-03-10T15:48:06","slug":"playing-with-ddrescue","status":"publish","type":"post","link":"https:\/\/blografia.net\/vicm3\/2013\/03\/playing-with-ddrescue\/","title":{"rendered":"Playing with ddrescue"},"content":{"rendered":"<p>So far I got a crashed 320GB external usb case 2.5&#8243; form factor&#8230; well the disk was not in that bad shape the controller had short circuit and traces of burn so, time to disassemble and use another usb case&#8230;<\/p>\n<p>I was wondering what was the difference between dd_rescue and ddrescue [1] but the description was not that good, going directly to gnu page got [2] an explanation about the algorithm and that convinced me that I was using the wrong tool (dd_rescue) anyway this is how it looks.<\/p>\n<pre>root@avalon:~# ddrescue --no-split \/dev\/sde \/home\/F\/320GB\/image1.dd rescue.chema.log\r\nPress Ctrl-C to interrupt\r\nInitial status (read from logfile)\r\nrescued:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 B,\u00a0 errsize:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 B,\u00a0 errors:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\r\nCurrent status\r\nrescued:\u00a0\u00a0\u00a0 45307 MB,\u00a0 errsize:\u00a0\u00a0\u00a0 471 MB,\u00a0 current rate:\u00a0\u00a0\u00a0 95680 B\/s\r\nipos:\u00a0\u00a0\u00a0 45778 MB,\u00a0\u00a0 errors:\u00a0\u00a0\u00a0 4834,\u00a0\u00a0\u00a0 average rate:\u00a0\u00a0\u00a0 1043 kB\/s\r\nopos:\u00a0\u00a0\u00a0 45778 MB,\u00a0\u00a0\u00a0\u00a0 time from last successful read:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 s\r\nCopying non-tried blocks...<\/pre>\n<p>Update: ddrescue started march 5 and ended march 8 three days later, and got a 299GB file to work:<\/p>\n<pre>root@avalon:~# ls \/home\/F\/320GB\/image* -lah\r\n-rw-r----- 1 root root 299G Mar  8 20:02 \/home\/F\/320GB\/image1.dd<\/pre>\n<p>[1] <a href=\"http:\/\/www.forensicswiki.org\/wiki\/Ddrescue\">http:\/\/www.forensicswiki.org\/wiki\/Ddrescue<\/a><br \/>\n[2] <a href=\"http:\/\/www.gnu.org\/software\/ddrescue\/manual\/ddrescue_manual.html#Algorithm\">http:\/\/www.gnu.org\/software\/ddrescue\/manual\/ddrescue_manual.html#Algorithm<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So far I got a crashed 320GB external usb case 2.5&#8243; form factor&#8230; well the disk was not in that bad shape the controller had short circuit and traces of burn so, time to disassemble and use another usb case&#8230; &hellip; <a href=\"https:\/\/blografia.net\/vicm3\/2013\/03\/playing-with-ddrescue\/\">Sigue leyendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5,10,8,6],"tags":[],"class_list":["post-1016","post","type-post","status-publish","format-standard","hentry","category-debraye","category-planetalinux","category-sysadmin","category-trabajo"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":973,"url":"https:\/\/blografia.net\/vicm3\/2012\/11\/seatools-boot-from-usb-stick\/","url_meta":{"origin":1016,"position":0},"title":"How To Create Bootable USB Disk For Seagate SeaTools","author":"vicm3","date":"3 noviembre, 2012","format":false,"excerpt":"This entry originally was named \"Seatools boot from usb stick\", but as I searched on google, results with bad to worse methods to create bootable usb sticks are up in place, so I changed the name in hope that gets more visibility on the net. Recently I need to use\u2026","rel":"","context":"En \u00abGeneral\u00bb","block_context":{"text":"General","link":"https:\/\/blografia.net\/vicm3\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1407,"url":"https:\/\/blografia.net\/vicm3\/2014\/12\/two-things-are-infinite-the-universe-and-human-stupidity\/","url_meta":{"origin":1016,"position":1},"title":"Two things are infinite: the universe and human stupidity","author":"vicm3","date":"10 diciembre, 2014","format":false,"excerpt":"I think that reality is better than fiction, so take this as a fiction story... well short of... The full quote that gives nave to this post it's \"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe.\" Albert Einstein. Monday lost five hours\u2026","rel":"","context":"En \u00abDebraye\u00bb","block_context":{"text":"Debraye","link":"https:\/\/blografia.net\/vicm3\/category\/debraye\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":978,"url":"https:\/\/blografia.net\/vicm3\/2012\/11\/about-new-disks\/","url_meta":{"origin":1016,"position":2},"title":"About new disks","author":"vicm3","date":"15 noviembre, 2012","format":false,"excerpt":"I have the bad habit to put to test my new disks for 2 months before moving the original disk to storage and only after another 2 months move\/sell\/retire the old ones. Recently I buy 2 Seagate Barracuda ST2000DM001 @7200RPM, one is going directly to warranty as never can finish\u2026","rel":"","context":"En \u00abDebraye\u00bb","block_context":{"text":"Debraye","link":"https:\/\/blografia.net\/vicm3\/category\/debraye\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blografia.net\/vicm3\/wp-content\/uploads\/2012\/11\/sdd-week.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":975,"url":"https:\/\/blografia.net\/vicm3\/2012\/11\/webalizer-for-no-system-logs\/","url_meta":{"origin":1016,"position":3},"title":"Webalizer for no system logs","author":"vicm3","date":"5 noviembre, 2012","format":false,"excerpt":"Last month we requested a report from IT department, we expected nice charts, averages, max request, minimum, peak hours \/ days \/ weeks, month. What we got was a nice 65MB RTF file with a copy & paste of Apache access.log. As professors my colleagues where outraged to say the\u2026","rel":"","context":"En \u00abGeneral\u00bb","block_context":{"text":"General","link":"https:\/\/blografia.net\/vicm3\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1388,"url":"https:\/\/blografia.net\/vicm3\/2014\/10\/hp-quotes-and-a-pair-of-scenes\/","url_meta":{"origin":1016,"position":4},"title":"HP, quotes and a pair of scenes","author":"vicm3","date":"17 octubre, 2014","format":false,"excerpt":"I really like Harry Potter books, not so much the movies, that say have a lot of quotes that like and a pair or more scenes, I'm posting here to have at hand 'cause it's easier, faster and not need to search on my own svn three. If you want\u2026","rel":"","context":"En \u00abDebraye\u00bb","block_context":{"text":"Debraye","link":"https:\/\/blografia.net\/vicm3\/category\/debraye\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1104,"url":"https:\/\/blografia.net\/vicm3\/2013\/09\/svn-and-its-new-sqlite-format-again\/","url_meta":{"origin":1016,"position":5},"title":"SVN and its new sqlite format again","author":"vicm3","date":"10 septiembre, 2013","format":false,"excerpt":"I been a user of svn for a quite long time now, and had to work around certain \"features\", like berkeley.db locking on multiuser home directories, the migration to FS logs, and problems working with multi platform environments, most of it its documented on this blog. Yeah, git is sexy,\u2026","rel":"","context":"En \u00abDebraye\u00bb","block_context":{"text":"Debraye","link":"https:\/\/blografia.net\/vicm3\/category\/debraye\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts\/1016","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/comments?post=1016"}],"version-history":[{"count":0,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts\/1016\/revisions"}],"wp:attachment":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/media?parent=1016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/categories?post=1016"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/tags?post=1016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}