FreeNAS 9.10.1-U1 lost all settings

Status
Not open for further replies.

tigloo

Explorer
Joined
Aug 23, 2016
Messages
53
Hi everyone,

I am relatively new to FreeNAS. I started working with it a couple of weeks ago. I experienced frequent corruption of settings data and corruption of boot volume during my first tests. I eventually tried to fix that by replacing my boot drive, which seemingly made the errors go away.

However, today I rebooted FreeNAS 9.10.1-U1 and it booted completely blank, without any settings. Is losing all settings a known issue? Is it an emergency mode that's entered when the settings database is corrupt? How can this happen?
 
D

dlavigne

Guest
Please post an image of what you see that makes you think that all settings are lost.
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
Please post detailed system information per the forum rules at the top of the page.

For example, you might run into random problems if you don't have sufficient RAM.


Sent from my iPhone using Tapatalk
 

tigloo

Explorer
Joined
Aug 23, 2016
Messages
53
I'm not clear on the forum rules - the README sticky just redirects to the support page. I'll do my best.

System specs:
Supermicro X10SDV-4C-TLN2F (Xeon D 1521)
Samsung 32GB ECC RAM
8x WD Red 3TB running as RAID-Z2
64GB Kingston SSD (not used at the moment as I suspected it would be faulty and cause the previous corruptions)
8GB SanDisk Cruzer USB stick - currently used as boot device for testing
SeaSonic SS-350M1U power supply
U-NAS NSC 800 case

Sample image with empty LDAP configuration appended.

All settings were gone:
- LDAP configuration
- Kerberos realm
- Kerberos keytabs
- Samba configuration
- Choice of activated services
- Active storage volumes
- ...

I even checked on disk and smb4.conf is just a default configuration file without any of the previously active shares.

I simply turned the system off by using the "shutdown" feature in the web GUI and turned it on again next morning. Not reproducible so far but wondering what might cause this.
 

Attachments

  • Screen Shot 2016-10-05 at 22.47.21.png
    Screen Shot 2016-10-05 at 22.47.21.png
    83.7 KB · Views: 329

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
This is highly unusual. Are your settings recovered when you boot into an older environment?
 
D

dlavigne

Guest
Please create a bug report at bugs.freenas.org and post your issue number here.
 

tigloo

Explorer
Joined
Aug 23, 2016
Messages
53
Created a bug report here: #18060

@Ericloewe: I'm not sure I have an older boot environment - I simply have the system boot into the default environment (the first entry in grub that's auto selected).
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Did you not update from an older version?
 

tigloo

Explorer
Joined
Aug 23, 2016
Messages
53
I updated from 9.10.1 to 9.10.1-U1 but if I'm not mistaken it didn't create a new boot entry - either way I did not consciously select anything else than the default, the system boots without user interaction.
 

tigloo

Explorer
Joined
Aug 23, 2016
Messages
53
Hm, I'm not quite sure what's going on. @Ericloewe, after your question I rebooted and rechecked and interestingly, the settings are back - but I didn't change anything! This is confusing. I'll try to see what happens when booting the system.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
I updated from 9.10.1 to 9.10.1-U1 but if I'm not mistaken it didn't create a new boot entry
If it didn't, that's a major bug.
 

tigloo

Explorer
Joined
Aug 23, 2016
Messages
53
If it didn't, that's a major bug.

Strangely, my settings are now back after I rebooted once more. I did see the menu you were referring to and it did create a new entry. I just had to use it because updating to U2 caused the machine to not boot anymore.
 

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215

tigloo

Explorer
Joined
Aug 23, 2016
Messages
53
If you don't have a backup of your config already I would recommend you do get it. Especially before applying any updates.

Yes, I did that first time the box came up again. In the meantime I re-installed with a completely new boot device. For some reason all my old settings were still there, does FreeNAS keep a backup of its setting somewhere on a separate drive? If so, maybe that explains part of the behaviour I was seeing.
 
Status
Not open for further replies.
Top