How to import pools with logs after reinstall?

bittenoff

Dabbler
Joined
Nov 26, 2017
Messages
20
I've reinstalled FreeNAS (11.2) and unfortunately before I did that I forgot to zfs export the pools. This might not seem like a big deal except that I had log devices attached to the pools. Oops. The log devices are visible (nvd0s1 and nvd0s2) from the shell but a straight "zpool import" doesn't see them, it just notes that the log devices (which are represented by a long number) are missing and exits with an error.
I've seem that it is possible to force an attach without the log device (zpool import -m) but that seems a bit harsh. The help for zpool import doesn't suggest any method to include mentioning the log device on the command line.
Will importing via the WebUI present me with a better chance of recovery?
Or do I just have to face up to my sins and accept there is the potential for some data loss?
 
Top