Project

General

Profile

Actions

Feature #15492

open

Test if storage/eMMC is actually writable underneath ZFS

Added by Steve Y 8 months ago. Updated 7 months ago.

Status:
New
Priority:
Very Low
Assignee:
-
Category:
Hardware / Drivers
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default

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).

Actions #1

Updated by Steve Y 8 months ago

And/or Netgate Installer can test this.

Actions #2

Updated by Kris Phillips 7 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.

Actions

Also available in: Atom PDF