{"id":79437,"date":"2021-03-08T13:29:40","date_gmt":"2021-03-08T21:29:40","guid":{"rendered":"http:\/\/www.transterrestrial.com\/?p=79437"},"modified":"2021-03-09T10:04:31","modified_gmt":"2021-03-09T18:04:31","slug":"more-computer-fun","status":"publish","type":"post","link":"https:\/\/www.transterrestrial.com\/wordpress\/2021\/03\/08\/more-computer-fun\/","title":{"rendered":"More Computer Fun"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">So I finally <a href=\"http:\/\/www.transterrestrial.com\/2021\/03\/04\/strange-computer-problem\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"got most of the data off the failing drive (opens in a new tab)\">got most of the data off the failing drive<\/a>, and I backed  it up to a second new drive. But when I attempt to fix the filesystem I get this:<\/p>\n\n\n<p>[root@localhost-live home]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># e2fsck \/dev\/sdd<br>\ne2fsck 1.45.6 (20-Mar-2020)<br>\next2fs_open2: Bad magic number in super-block<br>\ne2fsck: Superblock invalid, trying backup blocks\u2026<br>\ne2fsck: Bad magic number in super-block while trying to open \/dev\/sdd\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The superblock could not be read or does not describe a valid ext2\/ext3\/ext4<br>\nfilesystem.  If the device is valid and it really contains an ext2\/ext3\/ext4<br>\nfilesystem (and not swap or ufs or something else), then the superblock<br>\nis corrupt, and you might try running e2fsck with an alternate superblock:<br>\n    e2fsck -b 8193 <br>\n or<br>\n    e2fsck -b 32768 <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Found a dos partition table in \/dev\/sdd<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">**********************************************<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Are those the actual superblocks it wants me to try, or just potential examples?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[Update a while later]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">OK, when I run it on the partition, instead of the drive, it says the file system is clean.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">New problem: When I mount it to \/home (where it normally lives on my system), I see nothing in it except lost+found. That&#8217;s not encouraging.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[Tuesday-morning update]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For anyone curious, who wants to go through the entrails, I&#8217;ve posted the entire session in comments. It remains a mystery to me why none of the drives seem to have data, or how I could have done anything to my source drive that I was trying to rescue.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[Update a few minutes later]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, I clearly screwed the pooch. I accidentally formatted the drive I was trying to rescue.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I finally got most of the data off the failing drive, and I backed it up to a second new drive. But when I attempt to fix the filesystem I get this: # e2fsck \/dev\/sdd e2fsck 1.45.6 (20-Mar-2020) ext2fs_open2: Bad magic number in super-block e2fsck: Superblock invalid, trying backup blocks\u2026 e2fsck: Bad magic number &hellip; <a href=\"https:\/\/www.transterrestrial.com\/wordpress\/2021\/03\/08\/more-computer-fun\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">More Computer Fun<\/span> <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":{"footnotes":""},"categories":[16,25,3],"tags":[],"class_list":["post-79437","post","type-post","status-publish","format-standard","hentry","category-administrative","category-business","category-technology-and-society"],"_links":{"self":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts\/79437","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/comments?post=79437"}],"version-history":[{"count":6,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts\/79437\/revisions"}],"predecessor-version":[{"id":79443,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts\/79437\/revisions\/79443"}],"wp:attachment":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/media?parent=79437"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/categories?post=79437"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/tags?post=79437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}