Feature #15492
openTest if storage/eMMC is actually writable underneath ZFS
0%
Description
It seems ZFS allows users to think their storage is writable even if it isn't:
https://forum.netgate.com/topic/187951/sg-1100-update-from-23-09-1-to-24-03-keeps-failing/
https://forum.netgate.com/topic/188089/sg-1100-installing-24-03-via-usb-issue/
My idea is to somehow test if the underlying storage is actually writable, and show a warning to the user. And/or on Plus, check if the eMMC EOL is at 0x0a or 0x0b at boot (this could create a marker file on disk, rather than regularly checking).
Updated by Kris Phillips 6 months ago
I can confirm that if the eMMC controller is alive, but the flash chips refuse to accept writes, there is no messages on screen about write failures. It just appears that everything is going fine until you reboot and nothing has changed on the eMMC.
Also, not all forms of the Netgate 1100 has eMMC life metrics, so it's not possible to use the controller data to properly report the life of the disk. Writing a test file and then reading it back seems like a better solution.