I bought an 8TB external HDD last week, attached it to my Vero 4K and formatted it to ext4 (I didn’t set it up to automount in fstab). I transferred files to it via FTP and all was well. I notice now, however, that the drive is no longer mounted. I tried unplugging the USB and plugging it back in, nothing. Tried unplugging the power cable and plugging it back in, nothing. Tried rebooting the Vero 4K, nothing. Each time I hear the drive spin up as it should, but no luck.
Well, I had a brief 5-minute power outage today and I needed to run this fix again. Aside from a UPS, any tips on what I can do or what setting I can enable somewhere to help prevent this problem from happening any time there is a power outage?
Since this seems to be a problem fairly unique to you, I’d look into what may be happening on your system. My guess would be that you have something writing to the drive, like downloading torrents.
If you don’t have a torrent (or something similar) running, you could mount the drive as read-only.
Well UPS would be best approach for avoiding data loss in such situations.
Otherwise you could try BTRFS as a filesystem which might be better in recovering after outage.
No torrents, I purchase all of my media. The only thing I can think of is I have the FTP server installed from the OSMC store, which I use to transfer 4K rips from my PC upstairs to the attached drive in the home theater, however nothing was being transferred at the time of the power failure.
It could be the drive itself has issues. These modern drives no longer work like they once did where they expect the writes to be perfect and inform the operating system whenever it had to map out a bad sector. They don’t even bother doing a full surface scan at the factory anymore as they monitor the strength of each bit every time its reading and will move data independently. It may be worthwhile to use the manufactures utility and run a full drive scan. Just be aware that it will take many hours on a 8tb drive. Even if it comes back as being healthy it can be advantageous for the drive as it will normally find and fix weak sectors as it is doing the scan.