× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Share /var/log

teddybeer
Aspirant

Share /var/log

Hi,

I would like to share the /var/log directory with the SMB protocol.

To do so, I added the following lines in the /etc/frontview/samba/Shares.conf :

[logs]
  path = /var/log
  comment = "/var/log"
  oplocks = 1
  admin users = "admin","Administrator"
  writeable = 1

Unfortunately, on every boot I do get an email with the following content :

Missing shares detected (teddynas)

The paths for the shares listed below could not be found.  Typically, this occurs when the ReadyNAS is unable to access the data volume.

logs

Even with this warning, the share is working fine after login...

I would like to avoid having this email warning me although the share works... 

I'm running RAIDiator 4.2.31, any help is welcome to solve this issue.

Pascal

Model: RNDP400U (ReadyNAS Ultra 4 Plus)|READYNAS ULTRA 4 PLUS (DISKLESS)|EOL
Message 1 of 4
mdgm-ntgr
NETGEAR Employee Retired

Re: Share /var/log

Why do you want to share this directory?

 

What you're trying to do is not supported.

Message 2 of 4
teddybeer
Aspirant

Re: Share /var/log

Yes indeed, so many things are unsupported...
I'm using my NAS as a remote syslog for my different devices, so accessing those logs is easier for me this way.
Message 3 of 4
StephenB
Guru

Re: Share /var/log

You could try creating a logs share on the C volume, and then replace the folder on the data volume with a symlink to /var/log

Message 4 of 4
Top Contributors
Discussion stats
  • 3 replies
  • 2241 views
  • 0 kudos
  • 3 in conversation
Announcements