jedcred
Cadet
- Joined
- Aug 15, 2011
- Messages
- 3
I'm getting this issue where at random intervals, my freenas 8 box drops off the network and is no longer available. However, the console screen is still active (the screen where you can select options 1-9), but selecting any of the options results in a hang.
I wanted to start at the debug logs, but unfortunately the read-only nature of the freenas image makes it so that logfiles do not persist through reboots.
My initial idea was to make the change to syslog.conf to put the same output in /var/log/messages in my zfs store (/mnt/tank/logs/messages, for example). I did find discussions around here about persisting changes by mounting / as writable using 'mount -uw /' and making the changes I wanted, then remounting as read-only and rebooting; however, my changes unfortunately do not seem to persist (my line in the syslog.conf is no longer there).
The system runs off a usb key. My initial thought was that the system was entering some power save mode after some time and not bringing the usb drive back up properly, but without log files to at least check, it's a bit difficult.
Any ideas, in terms of better ways to debug or maybe correctly configuring syslog.conf?
TIA.
I wanted to start at the debug logs, but unfortunately the read-only nature of the freenas image makes it so that logfiles do not persist through reboots.
My initial idea was to make the change to syslog.conf to put the same output in /var/log/messages in my zfs store (/mnt/tank/logs/messages, for example). I did find discussions around here about persisting changes by mounting / as writable using 'mount -uw /' and making the changes I wanted, then remounting as read-only and rebooting; however, my changes unfortunately do not seem to persist (my line in the syslog.conf is no longer there).
The system runs off a usb key. My initial thought was that the system was entering some power save mode after some time and not bringing the usb drive back up properly, but without log files to at least check, it's a bit difficult.
Any ideas, in terms of better ways to debug or maybe correctly configuring syslog.conf?
TIA.