TrueNAS Scale ElectricEel-24.10.0.2 (reinstalled to this version from a slightly older version in the process of troubleshooting)
First time having a pool die on me, I’m fairly certain that I’ve narrowed it down to corrupted meta-data. Importing the pool normally (via gui or cli) crashes the system. Importing the pool in read-only (zpool import -fo readonly=on TANK) – the -f is due to being imported from the older version which was reinstalled – works (it shows up in cli, even shows up in gui with correct space used/free, zpool status shows “errors: Permanent errors have been detected in the following files:”, etc)…
However, it is attempting to mount the pool at /TANK, which fails, since the root is read-only.
I can’t figure out a way to get it to mount anywhere else, or disable read-only on root. I have tried:
zfs set mountpoint (fails because it’s read only)
/usr/local/libexec/disable-rootfs-protection (command works, root is still read-only) *note: for anyone finding this via google, this is only intended for use by developers. Read the documentation before using it.
several other hours of googling possible fixes…
Any help? The original TrueNAS version is post-24.04.0, so I don’t think that I can revert to an earlier version which doesn’t lock root as read-only.