Cannot change save IP

Status
Not open for further replies.

norskman

Contributor
Joined
Sep 28, 2012
Messages
149
I used the range 192.168.0.X for my local network.

Now I want to change to 192.168.1.X making my FreeNAS 192.168.1.30 with a default route of 192.168.1.1

I am running the latest FreeNAS V9.3- Stable - 201512121950

SO I go into the GUI. Change the IP - I get an error 'unable to open database file'

OEM, so I go the console and select the options there for ip and default route. They enter ok, but when I go back to check - still not saved.

I am not quite sure how to debug this. The NAS Server is accepting itself as 192.168.1.30 though?

Is there a file where this data is stored that I can change?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Yeah, the sql database, aka the config file. /data/freenas-v1.db
 
D

dlavigne

Guest
SO I go into the GUI. Change the IP - I get an error 'unable to open database file'

Anything in /var/log/messages to give additional info on why you're getting that error?
 

norskman

Contributor
Joined
Sep 28, 2012
Messages
149
yes maybe:
due to the network inconsistencies and FreeNAS not seeing the default route or my DNS server, I am getting loads of Network unreachables. I think this is a symptom of the error. Scrolling down I note:
Jan 4 22:00:17 freenas root: Not enough space on /data to save collectd data
I just took a look at the my 16Gb USB boot - I have a used space of 96%. This is not the first time I have had this problem.( if they are connected)

I recently had to change my old 4Gb USB boot and boot up a fresh USB 16Gb and then reload my saved data. This did work and its not very hard to do to be honest.

Right now on my boot I have:
default
initial-install
wizard-2015-11-08_20:29:03
FreeNAS-9.3-Stable-201512121950

Can I delete:
default, initial-install and wizard....

then do a scrub and see if that helps? or else what can I do if this problem is indeed a full up USB stick - which is odd - I don;t determine the size of the files on the USB how can they keep getting so large?
 
D

dlavigne

Guest
Running out of space to save the config change would definitely result in that error.

You can delete any boot environment that you don't plan to boot into. Typical usage is to save the last 2 or so. Some users also like to save the default or the initial-install one in case they royally screw things up and want to return the system to what it looked like at the point of install.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
If your 16GB is 96% full I'd say something is not setup properly. My 16GB device has almost 20 boot environments on it (basically every FreeNAS release going back to May 2015) and my usage is 59%. So *something* is not configured or horribly broken. No clue what it is though.
 
Status
Not open for further replies.
Top