Using a FreeBSD box using ZFS, a drive share was setup recently. Standard NFS setup was used, but the share was not working. ZFS requires that sharenfs be enabled before it will work with NFS.
‘zfs sharenfs=”on” tank/yourshare’
…
Using a FreeBSD box using ZFS, a drive share was setup recently. Standard NFS setup was used, but the share was not working. ZFS requires that sharenfs be enabled before it will work with NFS.
‘zfs sharenfs=”on” tank/yourshare’
…
For several years now, I have rebelled against the standard advice in the RH/CentOS world of just setting SELinux to off. However, there are times when leaving it on gets complicated.
Case in point is that I share repos from a RAIDed drive via the web. SELinux will block this from occuring until the context is set on the shared directories. The first command defines the context for the directory.
semanage fcontext -a -t httpd_sys_ra_content_t “/your/share(/.*)?”…
You must be logged in to post a comment.