Ok, so I had a power failure at home which made my Freenas not boot. None of it´s services are available, webui, nfs, smb, torrent etc. It was installed on a USB thumbdrive and I highly suspect that the data became corrupt due to the power failure. In my understanding I can´t even use console to check zfspool status etc. Tons of error messages are just running on my screen and I can´t use the keyboard for input.
Ok, so how worried should I be? If it is possible to restore my zfs pool I would be content with that, but I would much rather backup my settings as well as I don´t remember how I managed to set half of them right, with all these jail and permissions and what not.
My first idea was to backup the thumbdrive with win32diskimager, install the latest freenas on the thumbdrive, restore the pool and just hope that my one year backup up settings has the settings I want. But it does not seem that easy to import a zfs pool without first exporting it. Or does it work?
Another idea is to get the recent settings from freenas-v1.db by copying it from the thumbdrive to the pool, but how would I do that when i can´t write any commands in console?
Yet another idea is to install the latest freenas on a new thumbdrive, then try to retrieve freenas-v1.db by plugging in the old one. If this is possible I guess the problem with importing the pool is still present.
What do you guys think?
The main goal here is to restore the pool if possible, as I know you already guessed, contains very precious data...
I have attached some pictures of what happens when I try to boot freenas. These different types of text are just looping in turn.
And yes I will buy an UPS, I have learned my lesson now :(
I would really appreciate some thoughts about this because zfs pools are quite delicate business and I don´t want mess something up before consulting someone more knowledgeble than me.
Ok, so how worried should I be? If it is possible to restore my zfs pool I would be content with that, but I would much rather backup my settings as well as I don´t remember how I managed to set half of them right, with all these jail and permissions and what not.
My first idea was to backup the thumbdrive with win32diskimager, install the latest freenas on the thumbdrive, restore the pool and just hope that my one year backup up settings has the settings I want. But it does not seem that easy to import a zfs pool without first exporting it. Or does it work?
Another idea is to get the recent settings from freenas-v1.db by copying it from the thumbdrive to the pool, but how would I do that when i can´t write any commands in console?
Yet another idea is to install the latest freenas on a new thumbdrive, then try to retrieve freenas-v1.db by plugging in the old one. If this is possible I guess the problem with importing the pool is still present.
What do you guys think?
The main goal here is to restore the pool if possible, as I know you already guessed, contains very precious data...
I have attached some pictures of what happens when I try to boot freenas. These different types of text are just looping in turn.
And yes I will buy an UPS, I have learned my lesson now :(
I would really appreciate some thoughts about this because zfs pools are quite delicate business and I don´t want mess something up before consulting someone more knowledgeble than me.