system dataset -> syslog setting not honored

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Have a look at zfs mount -l | grep log

and ls -l /var

That will probably tell you that it's doing what you thought.
 

jaaassh

Dabbler
Joined
Apr 23, 2015
Messages
49
Thanks! However, I don't understand why /mnt/volume0/.system doesn't exist. Shouldn't it be there if that's where /var/db/system/syslog-... is mounted?

freenas% zfs mount -l | grep log
volume1/iocage/log /mnt/volume1/iocage/log
volume1/.system/syslog-9a9c823ea6d045b2b2330e3252de4f8d /mnt/volume1/.system/syslog-9a9c823ea6d045b2b2330e3252de4f8d
backup1/volume1/iocage/log /mnt/backup1/volume1/iocage/log
volume0/.system/syslog-9a9c823ea6d045b2b2330e3252de4f8d /var/db/system/syslog-9a9c823ea6d045b2b2330e3252de4f8d

freenas% ls /mnt/volume0/.system
ls: /mnt/volume0/.system: No such file or directory
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
why /mnt/volume0/.system doesn't exist
It isn't mounted.

zfs get mountpoint volume0/.system

Legacy means that ZFS won't try to mount it and leaves that to other tools to do it (but there's no part of TrueNAS that wants to, so it isn't done).
 
Top