Moving logs files to dataset

Status
Not open for further replies.

larynx

Dabbler
Joined
Jul 8, 2014
Messages
28
I'm using FreeNAS-9.3-STABLE-201605170422 with the following services running: CIFS, SMART and SSH.

Every few weeks the system becomes non-responsive and the only thing that seems to help is a restart. I think CIFS might be the cause of it so I've turned on the CIFS logging level to "Debug" so I can try and analyze the logs and figure out what's happening but the logs reset after every boot because /var is tmpfs the logs. Is there any (safe) way to move the logs to a dataset so I can analyze them after a reboot?

Thanks
 

larynx

Dabbler
Joined
Jul 8, 2014
Messages
28
The documentation says
The system dataset stores debugging core files and Samba4 metadata such as the user/group cache and share level permissions

If I understand that correctly it says that the system dataset won't actually store the logs


edit: I guess I didn't understand it correctly, I found the log files in /var/db which is mounted on the system dataset. thanks
 
Last edited:
Status
Not open for further replies.
Top