Where are FreeNAS/BSD logs?

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

voodooFX

Active Member
Jan 26, 2014
247
52
28
Hi All,

Yesterday my ESXi cluster lost the connection with the FreeNAS server (which is used as NFS datatore), consequently the datastore has become unavailable and hanging, the VMs started hanging and all the usual mess that happens in this cases ..well, happened.

Now I fixed everything but I really would like to understand what was the cause but apparently FreeNAS did not monitored anything about this issue.

Here is what I have in the VCSA event log

04/04/2020, 2:13:58 AM Device or filesystem with identifier c1f4aa05-5be69ea1-0000-000000000000 has entered the All Paths Down state.
04/04/2020, 2:13:58 AM Lost connection to server 10.10.10.6 mount point vstorex01 mounted as c1f4aa05-5be69ea1-0000-000000000000 (/mnt/store/vstorex01).


But in FreeNAS (/var/log/*) there is absolutely nothing and I can not believe that a full connection lost is something that freeBSD completely ignored, is there any other place where I can check?

I'm running 11.3U1
 

RTM

Well-Known Member
Jan 26, 2014
956
359
63
Did you by any chance reboot your FreeNAS server? it is my understanding that FreeNAS is typically installed on USB keys or similar devices in a configuration where it tries to avoid writing too much to the storage device, so there may be a chance that it lost all logs if you did a reboot.

If this is true, I suggest you configure a remote syslog server or some sort of persistent storage (if you haven't already of course)

Hope it helps I am no FreeNAS/FreeBSD expert, if not consider it a free bump :)