ZFS sharenfs problem - bug?

Radek Krejča radek.krejca at starnet.cz
Thu Aug 16 10:12:05 UTC 2012


Hi again,

I take example line from manual:

zfs set sharenfs='rw=@123.123.0.0/16,root=neo' tank/home

modify it to:

zfs set sharenfs='rw=@pokus.starnet.cz,root=0' storage/pokus

and I got in messagess

Aug 16 12:04:45 storage mountd[1180]: can't get address info for host rw=@pokus.starnet.cz
Aug 16 12:04:45 storage mountd[1180]: bad host rw=@pokus.starnet.cz, skipping
Aug 16 12:04:45 storage mountd[1180]: can't get address info for host root=0
Aug 16 12:04:45 storage mountd[1180]: bad host root=0, skipping
Aug 16 12:04:45 storage mountd[1180]: bad exports list line /usr/local/storage/pokus  rw=@pokus.starnet.cz root=0

my /etc/zfs/exports
# !!! DO NOT EDIT THIS FILE MANUALLY !!!

/usr/local/storage/pokus       rw=@pokus.starnet.cz root=0

.....
pokus.starnet.cz is in dns (reversible dns too), if I use IP address, the situation is the same.

zfs get shows:

storage/pokus  sharenfs              rw=@pokus.starnet.cz,root=0       local
storage/pokus  version               5                                 -

uname:

FreeBSD storage.starnet.cz 9.0-RELEASE-p4 FreeBSD 9.0-RELEASE-p4 #2: Sat Aug 11 17:48:50 CEST 2012     root at storage.starnet.cz:/usr/obj/usr/src/sys/GENERIC  amd64

Where could be a problem? Is it bug or I am wrong but I dont see any mistake....

Thank you
Radek


More information about the freebsd-questions mailing list