Hardware Failed

pksbadmin

Cadet
Joined
Dec 10, 2020
Messages
4
Hello,
My installation hardware USB was stopped working and giving me Error 13, Unretryable error, and I am not able to boot and login.
Do I need to do fresh install with new USB?
Please advise what should I do now. Thanks
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
If you are saying that you used a USB memory stick as the boot drive on your FreeNAS and that the USB drive failed, then you would need to supply a replacement boot drive and install a fresh copy of FreeNAS. If you have saved a copy of your configuration database, you can restore that to get all settings back as they were.
 

pksbadmin

Cadet
Joined
Dec 10, 2020
Messages
4
Thanks Chris for your response, unfortunelty I don't have my configuration database file, Is there any way I can get my old configuration back with fresh installed boot drive?
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
Please read the forum rules and provide the requested information if you need more help.

It sounds like your USB drive has failed but without more information I can't be 100% certain.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
Is there any way I can get my old configuration back with fresh installed boot drive?
I think the configuration database is stored in the pool, but I can't recall where. You might want to do a forum search. There have been others with this problem and I think there was a way to mount the pool to recover the config.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
I think the configuration database is stored in the pool, but I can't recall where. You might want to do a forum search. There have been others with this problem and I think there was a way to mount the pool to recover the config.
It is stored on the pool as you suspected. Great recommendation to search the forums. The easy way for me (my personal preference) is to use Google and enter something like "freenas recover config file pool" and that might lead you to the answer.
 

Dan Tudora

Patron
Joined
Jul 6, 2017
Messages
276
hello
I hope you set cronjob for smart test short and long
and a cronjob once a week with smart_report.sh from that resources is definitely not bed thing:smile:
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
hello
after that I think you must be more carefully
use a script from that resources https://www.truenas.com/community/r...s-including-disk-burnin-and-rsync-support.28/
make a cron job with save_config_enc.sh and 1 time at week/day you have a copy of your config in email
While I like scripts, there are some that I don't use, one such script is to email my configuration file or even save it periodically. Now I'm speaking from a Home Use environment where configuration file changes are few, maybe once every time I update my FreeNAS version, then I save it to a safe place, also it's on the pool if it were something that I had to recover. I do use the smart_report.sh script, modified for my own use. It will send me an email every day and the Subject line will change depending on the status. So far it always sends me a "Good" in the Subject line but in my testing it can send "Critical" or "Warning" along with the drive data of course. This means I look at the Subject line and filter through the data, paying attention to alarming conditions vice reading the body of the email.

But yes, setup routine SMART testing! It is the S.M.A.R.T. thing to do, :cool:
 
Top