mjch
Cadet
- Joined
- Apr 25, 2021
- Messages
- 9
I've got a FreeNAS host I built out just over a year ago which I'm now having issues with - it's offline at the moment otherwise I'd collect more precise information about it, however for the moment I'm after some general guidance and suggested next steps.
In summary - FreeNAS was configured with GELI crypto devices over a four-spindle raidz volume of about 30TB ... the host is an HP Proliant Gen8 with 16GB of RAM (from memory) and prior to his experience I'd had no issues with the install or the hardware ... the following tale of woe is entirely my own fault, I recognise this.
Last night I was looking for a spare drive to use for a different project, found a 500GB USB2 device which appeared to have a single-vdev based zpool on there which my Linux hosts couldn't read as the version in the zpool seemed to be up around the 5000 level ... knowing this was the same as is used by FreeNAS, I figured I'd just hook it up directly to my server and import it there to see what was on it to know whether I could repurpose it ...
Well ... being familiar with ZFS on Solaris and FreeBSD for a while, I do know about being able to import a zpool and avoid exactly what happened next but it was late and I didn't think about it and in most cases I let my outboard zpools to configure themselves to hang off their own top-level mount as per default ... so when I ssh-ed into my FreeNAS host and did the zpool import from the console I was very surprised that the ZFS datasets on the USB2 disk neatly mounted directly over all the FreeNAS root filesystems and made things suddenly much much more complicated ... my guess is that the USB2 disk looks like it might have been from an earlier FreeNAS (10.x series?) or FreeBSD test install ... but the zpool name was ztmp, so it didn't really give me a clue going in ...
Anyway, once the USB2 zpool was imported I was unable to do any zpool operations as the binaries in my path were now out of date, so I could not export it again but had to power off the host without a clean shutdown ... I was expecting that this was likely to pose issues some minor issues with my encrypted data zpool (raccoon1) but should not have had any impact at all to the FreeNAS OS volume ...
On reboot however, I have found that I still can't do any zpool operations from the Web UI or from the console as the commands just appear to hang, so at this point I'm unable to apply any GELI keys and get at the content of that data zpool to know what state it's in ...
What suggestions do people have for recovery?
I'd like to assure myself that the data disks are good, so my current goal will be to boot from a FreeBSD DVD and bringing up the GELI devices manually and at least confirming the zpool imports ok, that would be a good first step - I'm happy that I can blow away whats on the FreeNAS OS device and re-deploy that, but I'll be doing that when the disks are out of the host ...
Thoughts?
In summary - FreeNAS was configured with GELI crypto devices over a four-spindle raidz volume of about 30TB ... the host is an HP Proliant Gen8 with 16GB of RAM (from memory) and prior to his experience I'd had no issues with the install or the hardware ... the following tale of woe is entirely my own fault, I recognise this.
Last night I was looking for a spare drive to use for a different project, found a 500GB USB2 device which appeared to have a single-vdev based zpool on there which my Linux hosts couldn't read as the version in the zpool seemed to be up around the 5000 level ... knowing this was the same as is used by FreeNAS, I figured I'd just hook it up directly to my server and import it there to see what was on it to know whether I could repurpose it ...
Well ... being familiar with ZFS on Solaris and FreeBSD for a while, I do know about being able to import a zpool and avoid exactly what happened next but it was late and I didn't think about it and in most cases I let my outboard zpools to configure themselves to hang off their own top-level mount as per default ... so when I ssh-ed into my FreeNAS host and did the zpool import from the console I was very surprised that the ZFS datasets on the USB2 disk neatly mounted directly over all the FreeNAS root filesystems and made things suddenly much much more complicated ... my guess is that the USB2 disk looks like it might have been from an earlier FreeNAS (10.x series?) or FreeBSD test install ... but the zpool name was ztmp, so it didn't really give me a clue going in ...
Anyway, once the USB2 zpool was imported I was unable to do any zpool operations as the binaries in my path were now out of date, so I could not export it again but had to power off the host without a clean shutdown ... I was expecting that this was likely to pose issues some minor issues with my encrypted data zpool (raccoon1) but should not have had any impact at all to the FreeNAS OS volume ...
On reboot however, I have found that I still can't do any zpool operations from the Web UI or from the console as the commands just appear to hang, so at this point I'm unable to apply any GELI keys and get at the content of that data zpool to know what state it's in ...
What suggestions do people have for recovery?
I'd like to assure myself that the data disks are good, so my current goal will be to boot from a FreeBSD DVD and bringing up the GELI devices manually and at least confirming the zpool imports ok, that would be a good first step - I'm happy that I can blow away whats on the FreeNAS OS device and re-deploy that, but I'll be doing that when the disks are out of the host ...
Thoughts?