LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   NFS warning (https://www.linuxquestions.org/questions/linux-server-73/nfs-warning-4175542685/)

Garrett85 05-15-2015 11:14 AM

NFS warning
 
Here is my /etc/exports file

# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)
# Shared media directories
/home/garrett/Videos * (ro,sync,no_subtree_check)

Here is the warning I get when I boot the server or restart NFS. I don't get it, what's wrong with my settings?

[ ok ] Stopping NFS kernel daemon: mountd nfsd.
[ ok ] Unexporting directories for NFS kernel daemon....
[....] Exporting directories for NFS kernel daemon...exportfs: No options for /home/garrett/Videos *: suggest *(sync) to avoid warning
exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/home/garrett/Videos".
Assuming default behaviour ('no_subtree_check').
NOTE: this default has changed since nfs-utils version 1.0.x

exportfs: No host name given with /home/garrett/Videos (ro,sync,no_subtree_check), suggest *(ro,sync,no_subtree_check) to avoid warning
exportfs: duplicated export entries:
exportfs: *:/home/garrett/Videos
exportfs: *:/home/garrett/Videos

AlucardZero 05-15-2015 12:13 PM

Remove the space between * and (ro


All times are GMT -5. The time now is 01:04 PM.