On Sun, Jul 19, 2020 at 5:56 PM John D Groenveld <groenv...@acm.org> wrote:

> In message <
> cab7kt3gohx0+2_stwrpa_zhgwahmbftwh3kd6yqfjdtdlvt...@mail.gmail.com>
> , Judah Richardson writes:
> >*NFS Server*
> >
> >OpenIndiana Hipster PC, IP address 192.168.0.71
> >
> >*ZFS filesystem to be shared*
> >
> >rpool1, mounted at /rpool1
> >
> >*NFS Client*
> >
> >Raspberry Pi 3 Model B+ running Raspberry Pi OS Stable, hostname
> >RaspberryPi3ModelPlus.lan (The .lan is the standard fill-in domain name
> for
> >networks that don't have an FQDN, such as a home network like mine). IP
> >address is 192.168.0.107
> >
> >*NFS Server Config*
> >
> >I ran the following:
> >
> ># zfs set sharenfs='rw=192.168.0.107,root=RaspberryPi3ModelBPlus.lan'
> rpool1
>
> oi# zfs set sharenfs=rw=@192.168.0.107/32,root=@192.168.0.107/32 rpool1
>
Thanks. Is there something I need to run after this to update the NFS
server daemon with the new settings, or does that happen automatically?

>
> >*NFS Client Mount*
> >
> >I ran # mount -t nfs -o proto=tcp,port=2049 192.168.0.71:/ /mnt as the
> >official docs say. rpool1 mounts just fine; but I can't browse it, even as
> >root on the Pi:
> >
> ># cd rpool1
> >bash: cd: rpool1: Permission denied
>
> pi# showmount -e 192.168.0.71
>
# showmount -e 192.168.0.71
Export list for 192.168.0.71:
/rpool1 192.168.0.107/32

pi# mount -t nfs -o vers=4 -v 192.168.0.71:/rpool1
>
I already had the folder mounted via

# mount -t nfs -o proto=tcp,port=2049 192.168.0.71:/ /mnt/DellOptiPlex390

Unmounted via

# umount -f -l /mnt/DellOptiPlex390

Then tried it your way:

# mount -t nfs -o vers=4 -v 192.168.0.71:/rpool1 /mnt/DellOptiPlex390
mount.nfs: timeout set for Sun Jul 19 18:33:13 2020
mount.nfs: trying text-based options
'vers=4,addr=192.168.0.71,clientaddr=192.168.0.107'
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 192.168.0.71:/rpool1

To be clear, my issue is not that the share isn't mounting, but rather that
I can't read it once it's mounted.

>
> John
> groenv...@acm.org
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>
_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to