monitoring freenas file systems using inotify

Status
Not open for further replies.

Mahamady SANGLA

Dabbler
Joined
Aug 15, 2013
Messages
17
hello ,
i am trying to monitor freenas file system specially the windows share that i create
first of all i am trying to install the inotify-tools package but i get this error
configure error : C compiler cannot creates executable
see attached file
can someome i am not quite familiar with linux
thanks
 

Attachments

  • 1.PNG
    1.PNG
    111.3 KB · Views: 573

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
You are using /data o_O -- that's a 19MB partition with very little free space. I assume you also installed gcc there; no wonder it can't create executables, there's probably no space left on the partition.
Also, FreeNAS is based on FreeBSD, not Linux. inotify-tools will never work even if you manage to compile it as inotify is a Linux kernel feature (i.e. there's no inotify in FreeBSD).
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
J

jpaetzel

Guest
The FreeBSD analog to inotify is called kqueue. It's in the kernel of FreeNAS, you just need something to hook to it.
 

Yatti420

Wizard
Joined
Aug 12, 2012
Messages
1,437
I'm not really sure what you are attempting.. I'd look into BTsync since it will be available for freenas as a PBI as of 9.2.0 (not sure about 9.1.x)..

If you want your freenas box to act as a syslog server for a bunch of clients I used minirsyslogd in a jail.. Then you can check logs anytime for your various clients..
 
Status
Not open for further replies.
Top