I am using an intel NUC with an external hard drive. As many have experienced, when a power dropout occurs, the hard drive wont reconnect and it is necessary to plug HD into another windows system to repair file.
So I just got a UPS which i think will eliminate this; I can just plug the NUC and hard drive in and should not be an issue short of too many hours for outage.
So, is there a sequence to shutting down the NUC/HD when I put the UPS in, or will I just have to deal with repairing the HD again?
Unfortunately, the UPS won’t give you much more than 10-20 minutes, and then, if power isn’t restored, you’ll have the same result.
If you have another PC pr Raspberry Pi connected to the UPS, you could use this to send a shutdown signal to ROCK, and configure it to restart when power is restored.
Incidentally, I’m moving this thread to Tinkering since using a UPS isn’t a standard setup.
Shut down the NUC first. This should cleanly unmount the disk and avoid the issue. Then shut down and unplug the HD.
The problem with NTFS disk formats occurs only when they are simply unplugged from a running machine or power is lost, because then the operating system has no chance to tell the disk “you are going to be removed, sync your data”. And the disk has no chance to write a flag onto itself, saying essentially “I was cleanly removed”.
So the next time the disk is plugged in, the operating system does not find this flag on the disk and has to assume that the disk is in an inconsistent state. To prevent further damage, ROCK refuses to touch it.
Windows has the “safely remove hardware” procedure to facilitate this data syncing before the disk is unplugged from a running system. ROCK doesn’t, but it does the same thing when it’s cleanly shut down.
10 - 20 is fine (given size of UPS I suspect I will get more than that), as most of our power outages last minutes or less. I assume this will work for that purpose.
Great info Suedkiez, will give it a try. Thanks.
I shut it down using the interface address from my Samsung Tab (which also runs ROON remote). Then plugged it all into a 950Kva UPS. Started up the NUC and everything came up as it should. When the next power blip/outage comes along I’ll see how it worked. Good to have the music library back. Thanks for the help.
This topic was automatically closed after 45 days. New replies are no longer allowed.