ZFS NFS export: netcred already exists for given addr/mask

Hello!

I have several resources defined in variables "sharenfs".

Code:
>zfs list
space/backup/openstack                                         363M  15,0T   363M  /space/backup/openstack
space/voip                                                    3,78T  15,0T   176K  /space/voip
space/voip/smg                                                 190M   834M   190M  /space/voip/smg
space/voip/voipmonitor                                        3,76T   246G  3,76T  /space/voip/voipmonitor


Code:
>cat /etc/zfs/exports
# !!! DO NOT EDIT THIS FILE MANUALLY !!!

/space/backup/openstack    -alldirs -maproot=0 10.240.33.57 10.240.35.57
/space/voip/smg    -alldirs -maproot=0 10.222.0.212 10.240.33.144
/space/voip/voipmonitor    -alldirs -maproot=0 10.240.33.144


Code:
>zfs get sharenfs space/backup/openstack
NAME                    PROPERTY  VALUE                                        SOURCE
space/backup/openstack  sharenfs  alldirs,maproot=0,10.240.33.57,10.240.35.57  local

The problem occurs after a reboot:

Code:
 mountd[884]: can't change attributes for /space/voip/voipmonitor: netcred already exists for given addr/mask

Workarround - redefine variables "sharenfs" after reboot. How to solve this problem?
 
Back
Top