{"id":74,"date":"2010-02-09T11:18:35","date_gmt":"2010-02-08T23:18:35","guid":{"rendered":"http:\/\/www.mdickinson.dnsalias.org\/php\/wordpress\/?p=74"},"modified":"2010-02-09T11:18:35","modified_gmt":"2010-02-08T23:18:35","slug":"usb-cables-break-easily-dont-they","status":"publish","type":"post","link":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/?p=74","title":{"rendered":"USB cables break easily don&#8217;t they"},"content":{"rendered":"<p>Another fun day not in the office. A week on leave to relax on my birthday and I&#8217;ve been working harder than ever, at least it&#8217;s on my own stuff.<\/p>\n<p>My main backup server was reporting hard drive errors on an external drive. As it&#8217;s ntfs I couldn&#8217;t fsck it under linux so plugged it into a windows server and let windows chkdsk it. Then detached the device cleanly under windows before unplugging it and moving it back to the linux server.<\/p>\n<p>Bugger, the linux server couldn&#8217;t detect it anymore, kept thinking it was a usb hub instead of a disk drive. Moved it back to the windows server, it thought it was new hardware as well, also not a disk drive. Bother.<br \/>\nMoved it back to the linux server, at least that logs messages I can read.<\/p>\n<p>usb cable unplug, plug back in. I detects it as a usb device but now a disk drive.<br \/>\npower cable unplug\/replug, no messages at all; but with my hand on top of the disk unit I can feel it spin before stopping again.<\/p>\n<p>Ok, I have a spare disk, identical model\/size (don&#8217;t we all, those of us that are paranoid about backups anyway). Unpackaged that and took the disk unit through. Plugged in the existing power and usb cables and&#8230; same thing. Yippee, the disk has not dies the problem is obvious.<br \/>\nRepackaged my &#8216;new&#8217; disk back into its box for the day I will need it, along with all its cables as I want to keep all the new gear in one place.<\/p>\n<p>And as I knew the power cord was good, as I could feel the disk spin when that was plugged in; I pulled out a spare nine-pin USB cable I had been carrying about to charge my mp3 player at work (cough, couldn&#8217;t have it&#8217;s bettery flat driving home could I) and plugged that into the disk and the linux server, and there is was, a SCSI disk drive was detected, available, and mountable. So I don&#8217;t need to use my spare disk just yet.<\/p>\n<p>But who would have guessed, moving the USB cable from the usb port in a PC to a long usb cable plugged into the powered hub connected to the windows server, and then moving it back to the linux server again, either broke or fried the usb cable.<br \/>\nBut a new USB cable has sorted that, which is good, I didn&#8217;t really have to start with a new disk again as I would have to rerun the bare metal recovery backups for all my servers to repopulate the disk; although I will anyway I suppose as it&#8217;s been over a month since the last set and I can&#8217;t be 100% sure the windows chkdsk left the existing ones intact.<\/p>\n<p>And as an aside, while I was working on that I also sorted out the issue I had with c3270, it seems to be incredibly fussy with whats in the \/etc\/hosts file. Once I removed a duplicate entry for the local server hostname it just started working; so the MVS38J image is available again on port 3270 for those who have 3270 emulators and what to play in it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Another fun day not in the office. A week on leave to relax on my birthday and I&#8217;ve been working harder than ever, at least it&#8217;s on my own stuff. My main backup server was reporting hard drive errors on &hellip; <a href=\"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/?p=74\">Continue reading <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":[5],"tags":[],"class_list":["post-74","post","type-post","status-publish","format-standard","hentry","category-my-nux-thoughts-and-notes"],"_links":{"self":[{"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/74","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=74"}],"version-history":[{"count":0,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/74\/revisions"}],"wp:attachment":[{"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=74"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=74"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}