Dataset cant mount as its marked read-only

Hi I’m not very new to Truenas, but new to having issues with Truenas, so my troubleshooting could use some help.

I recently upgraded Truenas Scale to 24.04.2, from a version about 2 months old. A few hours after the upgrade, I had an unexpected power failure (we have UPS, but they failed quite quickly and we didnt have time to gracefully shut down). When the power came back, one of our pools, got marked as problematic. The system recommended it could recover the pool, with a loss of 5 seconds of data, and recommended a scrub.

As the pool has very slow changing data (we use it for Proxmox templates and ISO’s, and it has 2 block devices that re not super critical)) a 5 second loss of data is more than acceptable. I did the recovery and scub and the block devices have come back fine, but the datasets are not mounting in their usual location, and running a zfs mount manually fails with

cannot mount '/pool1/ds_smb_root/iso': failed to create mountpoint: Read-only file system

When running zfs get readonly on the same dataset, it returns as readonly is off. Losing this data is not a trainsmash for me, but I view it as a good opportunity to understand, so would appreciate any hints as to what I am missing here ??

OK, so seems I have gotten there in the end… the proposed mountpoint which I didnt realize is showing in the error … “/pool1/ds…” … which it cant create, is incorrect. Somehow my mounts got messed up, not sure how.

Setting the mountpoint manually to “/mnt/pool1/ds…” using zfs set mountpoint, then mounting the mountpoint made it come back to normal