(Corollary: "Sometimes, you -can- fix stupid, but it's probably gonna hurt.")
A couple of weeks ago, i took part in a "Google Meet" meeting and I unplugged my (usually unused) USB extension cable to free up a port for the USB webcam (which already has plenty of cable of its own). No problems and I was pleased to see that the webcam was recognized without jumping through any hoops.
Then, a few days ago, I plugged a USB stick into the USB extension cable to drop a couple of PDFs onto it and was only momentarily baffled when the system failed to recognize the stick. So I stood up so I could look closely at the side of the computer (even though I'm using it as a desktop, it's actually a laptop) and very carefully unplugged... the wrong USB device. Seems Linux doesn't like it when you unplug a mounted hard drive.
I cursed for a couple of minutes before plugging the boot drive back in. Because of the unexpected disconnect, the drive now showed up as "sdc" instead of "sdb". I thought maybe I could back up everything from RAM (y'know, my home directory and such) to the newly appeared "sdc1" and I guess I could have made that work if I messed with it long enough. Then I realized I hadn't changed anything important since the last backup of RAM-based directories to persistent media so I just said "fooey_on it" and rebooted.
A quick fsck for issues on the ext4 fs of the external boot drive (no errors found) and back to business-as-usual - just with a slightly increased level of humility. Conveniently, the important files that I was going to copy from my home directory to the USB stick had already been copied to my backup server, so even they were not lost.
So that others might not need to learn this lesson the hard way: When performing a possibly-destructive operation (like unplugging the thing right next your boot drive), double and triple check what you are going to do -before- you do it. And keep your backups current in case you blow it anyway.
Score one bullet as "dodged".
A couple of weeks ago, i took part in a "Google Meet" meeting and I unplugged my (usually unused) USB extension cable to free up a port for the USB webcam (which already has plenty of cable of its own). No problems and I was pleased to see that the webcam was recognized without jumping through any hoops.
Then, a few days ago, I plugged a USB stick into the USB extension cable to drop a couple of PDFs onto it and was only momentarily baffled when the system failed to recognize the stick. So I stood up so I could look closely at the side of the computer (even though I'm using it as a desktop, it's actually a laptop) and very carefully unplugged... the wrong USB device. Seems Linux doesn't like it when you unplug a mounted hard drive.
I cursed for a couple of minutes before plugging the boot drive back in. Because of the unexpected disconnect, the drive now showed up as "sdc" instead of "sdb". I thought maybe I could back up everything from RAM (y'know, my home directory and such) to the newly appeared "sdc1" and I guess I could have made that work if I messed with it long enough. Then I realized I hadn't changed anything important since the last backup of RAM-based directories to persistent media so I just said "fooey_on it" and rebooted.
A quick fsck for issues on the ext4 fs of the external boot drive (no errors found) and back to business-as-usual - just with a slightly increased level of humility. Conveniently, the important files that I was going to copy from my home directory to the USB stick had already been copied to my backup server, so even they were not lost.
So that others might not need to learn this lesson the hard way: When performing a possibly-destructive operation (like unplugging the thing right next your boot drive), double and triple check what you are going to do -before- you do it. And keep your backups current in case you blow it anyway.
Score one bullet as "dodged".

