zbuc
Cadet
- Joined
- Dec 9, 2014
- Messages
- 6
Whenever my FreeNAS system reboots (and these have been hard reboots -- e.g. once I was trying to adjust networking settings for a jail via the web UI and it caused a complete system crash) zpool forgets all my pools.
However, database rows still exist in the web UI's sqlite backend for the now-missing pools.
If I try to view the volume list in the web UI, the AJAX request winds up getting a 500 error because "zpool list" and "zpool -h Volume" can't find the volumes that are in the database.
If I select "import volume" on the web UI, it finds my volumes and prompts me to import them, however when I try importing them it says "A volume with this name already exists", presumably because of the leftover database rows. I assume if I delete them it will allow me to import, but I haven't tried.
I'm running 9.3 beta.
I have three questions:
1) How do I make it so my zpools aren't forgotten on system reboot?
2) After the pools have been forgotten, what is the correct way to get the system to find them again?
3) How do I upgrade from 9.3 beta to 9.3 stable?
Thank you!
However, database rows still exist in the web UI's sqlite backend for the now-missing pools.
If I try to view the volume list in the web UI, the AJAX request winds up getting a 500 error because "zpool list" and "zpool -h Volume" can't find the volumes that are in the database.
If I select "import volume" on the web UI, it finds my volumes and prompts me to import them, however when I try importing them it says "A volume with this name already exists", presumably because of the leftover database rows. I assume if I delete them it will allow me to import, but I haven't tried.
I'm running 9.3 beta.
I have three questions:
1) How do I make it so my zpools aren't forgotten on system reboot?
2) After the pools have been forgotten, what is the correct way to get the system to find them again?
3) How do I upgrade from 9.3 beta to 9.3 stable?
Thank you!