After upgrade from 13.x to 15.0, I can't get NFSv3 to actually export?

Hello all!

I've been upgrading an ancient system from 13.x to 15.0 and I THOUGHT I had everything working hunky dory.. But I don't.

This is MOSTLY in use as a media server NAS to RPi media player clients. Data was shared via NFS from various zfs data sets.

After struggling with mysql (woops - data be lost there! can't upgrade from 5.6 to 8.0, have a nice day) I got things semi-rusurected.. But I still can't get my media players to work becuase nothing can mount my exported shares..

[etimberl@laatikko:/etc/zfs]% cat exports
# !!! DO NOT EDIT THIS FILE MANUALLY !!!

/tank/media/movies -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.255.0
/tank/media/movies_ldo -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.255.0
/tank/media/music -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.255.0
/tank/media/musicvideo -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.255.0
/tank/media/pictures -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.255.0
/tank/media/tvshows -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.255.0
/tank/media/tvshows_ldo -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.255.0
/tank/media/backup -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.255.0
/tank/media/kodisupport -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.255.0
[etimberl@laatikko:/etc/zfs]% sudo service nfsd status
nfsd is running as pid 7374 7375.
[etimberl@laatikko:/etc/zfs]% grep nfs /etc/rc.conf
##nfsv4_server_enable="YES"
nfsuserd_enable="YES"
nfs_server_flags="-u -t -n 6 -h 192.168.100.27"
nfs_server_enable="YES"
[etimberl@laatikko:/etc/zfs]%
[etimberl@laatikko:/etc/zfs]% zfs get all | grep mapall=
tank/media/backup sharenfs -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.255.0 local
tank/media/kodisupport sharenfs -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.255.0 local
tank/media/movies sharenfs -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.255.0 local
tank/media/movies_ldo sharenfs -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.255.0 local
tank/media/music sharenfs -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.255.0 local
tank/media/musicvideo sharenfs -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.255.0 local
tank/media/pictures sharenfs -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.255.0 local
tank/media/tvshows sharenfs -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.255.0 local
tank/media/tvshows_ldo sharenfs -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.255.0 local
[etimberl@laatikko:/etc/zfs]%


I am TOTALLY stumped.. As far as I can see, I should be able to mount these data sets remotely, yet I cannot. Been throwing myself at this for some hours now and figure other minds would have some better suggestions for me to attempt..

I'm hoping this is just some "stupid" thing I am overlooking.. I didn't change much as part of the upgrade - the nfsv4 line was throwing an error, so I commented it out:

[etimberl@laatikko:/var/log]% sudo tail -f messages
...

Mar 29 19:50:30 laatikko mountd[2666]: NFSv4 requires at least one V4: line
Mar 29 19:50:30 laatikko syslogd: last message repeated 3 times

Other than that and the MYSQL and borked boot loader fiasco I didn't see coming, the upgrade was relatively smooth as such things go..

Thanks so much!!
 
Hi Vladi! Well, I don't really NEED v4, and wasn't sure about the "editability" of /etc/zfs/exports based on the first line which says "don't edit directly" - but ignoring that for the time being..

[etimberl@laatikko:/etc/zfs]% grep V4 exports
V4: /tank/media -mapall=etimberl -alldirs -network 192.168.100.0 -mask 255.255.25
[etimberl@laatikko:/etc/zfs]% grep nfs /etc/rc.conf
nfsv4_server_enable="YES"
nfsuserd_enable="YES"
nfs_server_flags="-u -t -n 6 -h 192.168.100.27"
nfs_server_enable="YES"
[etimberl@laatikko:/etc/zfs]% sudo service nfsd restart
Stopping nfsd.
Waiting for PIDS: 7374 7375.
NFS on reserved port only=YES
Starting nfsd.
[etimberl@laatikko:/etc/zfs]% sudo service nfsd status
nfsd is running as pid 12688 12689.
[etimberl@laatikko:/etc/zfs]%

Still can't connect..

Thanks so much for the suggestion - I should have explored it more on my own, first..

Anyway, something still amiss - PROBABLY super stupid, but I'm too tired to enjoy critical thinking right now..

-ET-
 
Back
Top