Bug #15978
closedUnable to get SMART data from 4200 onboard storage
0%
Description
The SMART status for onboard storage on the Netgate 4200 cannot be queried using the builtin SMART status viewer or the mmc package on 24.03 (and likely 24.11).
smartctl lists /dev/da0 as the only choice but fails to query it:
smartctl 7.4 2023-08-01 r5530 [FreeBSD 15.0-CURRENT amd64] (local build) Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org /dev/da0: Unknown USB bridge [0x0424:0x2240 (0x198)] Please specify device type with the -d option. Use smartctl -h to get a usage summary
Manually installing the mmc package as per the documentation does not work either (using either da0 or mmcsd0rpmb):
open: Operation not permitted
/dev lists da0 but no mmcsd0rpmb
This is the output of dmesg:
Root mount waiting for: usbus1 CAM Root mount waiting for: usbus1 CAM ugen1.2: <Generic Ultra Fast Media> at usbus1 umass0 on uhub1 umass0: <Generic Ultra Fast Media, class 0/0, rev 2.00/1.98, addr 1> on usbus1 Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: <Generic Ultra HS-COMBO 1.98> Removable Direct Access SCSI device da0: Serial Number 000000225001 da0: 40.000MB/s transfers da0: 14952MB (30621696 512 byte sectors) da0: quirks=0x2<NO_6_BYTE>
Updated by Marcos M 2 months ago
- Status changed from New to Not a Bug
That is expected; unfortunately the embedded drive in the Netgate 4200 does not support S.M.A.R.T. nor health checks with mmc-utils on FreeBSD.
Edit: I was wrong, unfortunately it didn't work in Linux either. It seems the drive simply doesn't implement the specs.
Updated by Andrew Almond 2 months ago
So there is no way to monitor the storage health of the Netgate 4200?
How is a user supposed to know if the storage device is significantly degraded other than the firewall just abruptly dying? This limitation seems like a critical flaw with the 4200 BASE version.
Updated by Mike Moore 2 months ago
Ive been following this redmine. If there is no way to monitor the system's disk health......Why is this product even offered for sale?
Updated by Andrew Almond about 1 month ago
Marcos M The ability to monitor the storage health is a critical part of the basic operation of a firewall, especially given that there are reports of 4200 experiencing eMMC storage failure in less than 1 year.
If mmc-utils works on Linux but not FreeBSD, does that mean Netgate can update the package to make it work on FreeBSD?
Will a notice be placed on the 4200 product page and the storage wear troubleshooting page to explain that the onboard eMMC storage of the 4200 cannot be monitored?