USB Connection Warning


Recommended Posts

9 hours ago, Gragorg said:

I get a warning if my UPS loses connection.  It would be nice to get a warning when the Unraid boot USB loses connection. 

Indirectly, you do. massive bread errors in the syslog.

 

I agree it would be nice if there was a notification event fired so you know about it immediately instead of seeing the chaos caused whenever you log in later.

 

Maybe even an option to perform some action if /boot ceases to be populated. I'd like a configurable option to automatically shut down properly, even though it couldn't be recorded as a clean shutdown I'd know best efforts were taken to keep my data intact, and a notification that the boot USB was removed and the array shutdown properly would be good troubleshooting information when I bring the array back online.

 

I just had a lightbulb moment.

 

@Squid, would it be possible to mirror all writes to flash to a mounted image file on the array somewhere? A modified RAID1 of sorts? Then if the physical USB is unable to read or write, continue operating on the array copy, with the option to repair or remount the physical USB and bring it back in sync?

 

I'm envisioning a system where flash replacement could be done live, with the license update happening on next array start.

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.