Hi All,
I modified my NFS shares and now I see error on bootup about duplicated entries.
root@jacksbox3:~# exportfs -a
exportfs: No host name given with /export/ (), suggest *() to avoid warning
exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/export/".
Assuming default behaviour ('no_subtree_check').
NOTE: this default has changed since nfs-utils version 1.0.x
exportfs: No host name given with /export (ro,fsid=0,root_squash,no_subtree_check,hide), suggest *(ro,fsid=0,root_squash,no_subtree_check,hide) to avoid warning
exportfs: incompatible duplicated export entries:
exportfs: *:/export (0x2425) [IGNORED]
exportfs: *:/export (0x425)
exportfs: duplicated export entries:
exportfs: 192.168.1.0/255.255.255.0:/export
exportfs: 192.168.1.0/255.255.255.0:/export
exportfs: duplicated export entries:
exportfs: 192.168.1.0/255.255.255.0:/export
exportfs: 192.168.1.0/255.255.255.0:/export
when I look at /etc/exports I see some kind of duplicated entries but when I delete them, they come back after reboot. (entries below NFSv4 )
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/export/ ()
/export/TVopnames 192.168.1.0/255.255.255.0(rw,async,insecure,no_subtree_check,no_root_squash)
/export/Muziek 192.168.1.0/255.255.255.0(rw,async,insecure,no_subtree_check,no_root_squash)
/export/Fotos 192.168.1.0/255.255.255.0(rw,async,insecure,no_subtree_check,no_root_squash)
# NFSv4 - pseudo filesystem root
/export (ro,fsid=0,root_squash,no_subtree_check,hide)
/export 192.168.1.0/255.255.255.0(ro,fsid=0,root_squash,no_subtree_check,hide)
/export 192.168.1.0/255.255.255.0(ro,fsid=0,root_squash,no_subtree_check,hide)
/export 192.168.1.0/255.255.255.0(ro,fsid=0,root_squash,no_subtree_check,hide)
Alles anzeigen
Also I don't understand the "/export/ ()" part in /etc/exports.
How can I fix this?