Sunday, May 7, 2023

Hard Drive Replacement and USB

Just got a shiny new Western Digital Black 10TB hard drive to replace my somewhat ailing WD 6TB Blue with just over 10 years of solid 24/7 performance. 


Electromechanical hard drives like many electronics in general will likely go the distance if no failures develop in the first few days, weeks, months of use, but over time they do simply begin to wear out. My venerable drive for games and media was beginning to develop subtle issues, like large copy operations interrupted with occasional retries but finally completing, or files that suddenly proved unreadable when trying to access them.

S.M.A.R.T. software on board reported no anomalies other than some higher than normal temperatures (mostly due to a dead case fan I replaced along with the drive) and a couple hundred sector reallocations indicating the drive found some  physically bad sectors and moved what data it could to different ones.

I decided to go the relatively lazy route of taking the old drive out, installing the new one, and planning to transfer the data via USB 3.0. Lazy, mainly because given I'd already installed the new drive and put my rig back together I didn't want to crack the case open again despite the significantly faster direct SATA transfer speeds. That prompted a series of irritating events and I wouldn't be sharing them here otherwise, in case you, dear reader, have recently experienced the following yourself, so there's that.

Upon rebooting my Windows 10 system, all was well for the most part except for the fact that upon opening Disk Management to initialize, allocate partitions, and format the drive, my system suffered its first BSOD of the afternoon, citing a file mrcbt.sys which belongs to backup software I use, Macrium Reflect. Simply restarting afterward seems to have gotten around that issue and my setup booted normally with the newly partitioned and formatted 10TB drive online.

New drive up and running in Disk Management.

Here's where things got irritating. Using a decent USB 3 external hard drive bay by Sabrent I installed my old drive, powered the enclosure up, then plugged it into my USB 3 hub. Immediate BSOD, citing "memory management" issues with no mention of specific files.

I fell back to review my options after a couple more tries leading to the same outcome. I could hook the enclosure up to my wife's PC on our LAN, share it from there, and transfer over the wire. This though would add a lot more time and overhead on top of asking a lot of my senior citizen hard drive in its time of subtle decline. Also, could've hooked it up to a laptop but that would take even longer for transfer of the over 4 TB of data and burden the old drive further.

Ultimately I paid for my laziness and ended up cracking the case open, and as I type the old drive is resting a bit precariously but securely on the floor beside the case providing data to the new drive. Meanwhile I wondered why memory, in this case, was cited as the culprit.

Even after decades of supporting it, Windows to me is largely a black box, even with almost a decade of software and database development on Windows systems. I don't care to delve into the plumbing and avoid doing so whenever possible, but one thing I recalled is the fact that I had been using the old drive to host my system's page file as well as the go-to place for applications and the OS to store temporary files.

From my wife's PC I plugged the drive enclosure in with the old drive on board and tried to delete the TEMP folder. Curiously, Windows wouldn't allow me to do so, presumably because my user account on my PC was owner of that folder. Okay, so I took ownership of the TEMP folder, and then tried to delete all the contents. Curiously, even this didn't quite work. As is typical when trying to delete files from your page file and temp file folder in this case one file refused to be deleted from Windows Explorer.

I opened an administrator authorized Command Prompt, and curiously it not only didn't allow me to delete the file, but kept complaining the file could not be found. What? It's right there, what gives?? I found even after taking ownership, even after being allowed in Explorer to rename the TEMP folder, that one file, a GUID named one resembling daf2743a-311f-4315-9272-be2dca1fa178.tmp, refused to die. Even deleting the folder failed though renaming worked. Weird!

Sabrent USB 3 drive enclosure, for 2.5" and 3.5" drives / SSDs.


I'm used to situations where a Windows PC might BSOD if certain types of USB thumb drives or other peripherals are plugged in and powered on at boot, but this wasn't the case here as the system BSOD'd whether the drive was connected via USB at boot or after the fact. 
That on a foreign system Windows seemingly "respected" the other system's TEMP folder as seems the case here is curious, but perhaps something prompted for security reasons. 

Maybe for Microsoft it was sort of a quick and dirty remediation for a security vulnerability involving bad actors trying to recover data from a stolen operating system drive, where that TEMP folder would typically reside. This though just happened to be a case where instead of using my main SSD with the operating system for it I was using my media drive to house the pagefile and temp files, so perhaps that's why events conspired to not allow that magic to happen via USB.

Simply connecting the old drive directly via SATA to my rig to do the transfer has been operating for minutes now without issue, and given the old drive's TEMP folder still lingers, USB may be the extra ingredient that frustrated my initial, lazy attempts.



Friday, April 28, 2023

Change A Word, Ruin A Movie Quote

Twitter first introduced me to hashtag games which for wordplay fans can be hilarious and delightful. SWIM recently played one, #ChangeAWordRuinAMovieQuote, and it really tied the room together, tapping quotes from some of my favorite films.






























































I have yet to see hashtag games blow up on Spoutible, but I intend to see if I can get the party started there for some wholesome pun...!





Wednesday, November 2, 2022

Elon Musk: POTUS 45, But With Money

Last night, Chief Twit Elon Musk apparently decided my latest main Twitter account needed a permanent suspension, with no reason given. Suspension was made days after his tweeting to the effect that Twitter's typically draconian ToS enforcement would be paused while some mysterious committee is on his to-do list to create.

Musk's hypocrisy in claiming to "free the bird" and declaring Twitter a safe haven for free speech is now crystal clear. Most of my tweets are gone (conspicuously those popular ones critical of him) but a few linger, which I'm sharing here. Each screenshot links to various cat ass trophy merch on Amazon, which I invite you to browse in thinking about the upstanding, bloated, would-be oligarch who's too much of a bitter little snowflake to withstand criticism.

First, some background, a screen of my late account profile, R.I.P. I do not abide the MAGA cult, their "leader", nor people like Elon who are similarly deplorable.


Next, from earlier this year, a jab at his stupid comparison of Canada's Justin Trudeau to Hitler, of all people.


Back in May I called him out for having quietly paid hush money to a SpaceX flight attendant whom he allegedly sexually harassed. Naughty, naughty!



Last, but not least, as far as little Elon is concerned, the left-leaning group Occupy Democrats called out Musk rolling the notion of restoring Donald Trump aka POTUS 45's Twitter account, long after previous CEO Jack Dorsey squeezed 45 for all he was worth ad revenue wise like the proverbial turnip. This, until it was unavoidably clear it'd be bad press to just continue letting him off with slaps on the tweet in the form of various warnings about misinformation accompanying his, well, misinformation.



To wrap up, a couple more tweets which thanks to Elon Musk will be seen anew, despite having been censored just days before the 2022 midterms. 

First, the Republican-in-name-only schemes to destroy Social Security and Medicare in the U.S.


Finally, me with wordplay for the University of Florida's recent, unanimous decision to pick Republican Senator Ben Sasse as president. There were vigorous protests on the UF campus and notably the administration restricted protests of any kind indoors, which is telling and speaks to how broken today's U.S. political system truly is. 



I've been faced with disagreeable people many times in my online travels. Musk is the latest and surely not the last. I see what he's doing, and I hope others see it too. He has money and power but fortunately lacks the brains and drive and passion to become the information technology overlord he fantasizes becoming while hitting his bong in his new Twitter onesie. 

🖕🙂🖕





Thursday, October 6, 2022

Troubleshooting a Tablet with a Teeny, Tiny Tile

Tablet or smartphone repair is not fun, I hate it! That said, I managed a creative solution for my old Samsung Galaxy E 9.6 which I'd recently had to replace the battery on.

Removing the old battery and installing a new one was relatively easy. Carefully pry open the tablet, taking care to not damage its electronic internals, remove the old battery, install the new one, then close it up. Right?

Unfortunately, that turned out to be a best case scenario which was made worse thanks to the ribbon connector circled below. 


It wasn't the connector itself (fortunately the individual pins were intact), but the incredibly, aggravatingly delicate piece of plastic designed to snap atop the cable to connect solidly to the motherboard pins, also known formally as a ribbon cable snap.

I spent about an hour with a jeweler's loupe which clips on to a temple piece of your eyeglasses making like Popeye the sailor man and zooming in with one eye on the incredibly tiny pins trying to get a replacement ribbon connector clip (cannibalized from a nearly identical tablet purchased cheap off eBay due to a cracked and dead LCD screen) to assume the position.

Thanks to my frustration and a not quite true pair of forceps, I got nowhere. While the ribbon cable would slide in perfectly, without that infuriating clip in place I was unable to snap it down to make the connection hug between connector and motherboard. On top of that, the design of my tablet and the busted one was almost, but not quite, identical, and for all I knew the clip I salvaged might've been for a different type ribbon connector.

After that, I reflected on the fact that for a silly crafts-related idea I purchased a bag of miniature clay roof tiles meant for things like birdhouses, dollhouses, fake houses, train sets, and other realistic depictions of life in a smaller scale.



If you examine one of these tiles on its side, you'll notice it has a couple of curved sections, one around a quarter inch long, and another a bit less round and rather straight, with just a gentle curve. 



The latter got me thinking. What if I could carefully snap that piece off, and use it as a surrogate ribbon cable holder along with some duct tape (what else??) to secure it into place?

Turns out, it worked!

Using one of the tools out of a kit I got specifically for performing surgery on a tablet, I used a very thin and flexible metal pry tool as a firm edge against which to hold the small piece down, then gently but firmly applied force to snap it away.



Next, I carefully inserted the ribbon cable in its socket on the tablet board and ensured it was in under the pins as level and far as possible. At bottom in the photo above is a similar sliver of tile which I placed so that the curve was facing up as shown below, and so the rather cylindrical little edge (referenced by red arrow) was applying pressure to the ribbon cable just like the flimsy plastic connector would by design.


Success! Upon first verifying my touchscreen was working properly by carefully applying pressure with my fingers to the top of this improvised "clip", I then stuck the tablet motherboard and its connected components and snapped things back into place. The curve of the tile fragment seems adequate, at least, to ensure a nice, firm connection far more resilient than electrical or duct tape alone.



Aside from being nonconductive like its flimsy counterpart, the clay tile more importantly provides a sort of firm, structural pressure along the length of the pins to ensure they're firmly connected. For the touchscreen to work fully, all pins must be engaged, and without either the manufacturer's flimsy clip or this improvised solution, that wouldn't happen.