On 03/11/2018 09:49 PM, Carlos E. R. wrote:
Hi,
I tried to setup NFS as client first using YaST. I told it to open the firewall port (it does not stick when I fire YaST again), then to browse the network for hosts: finds none. So I type the IP.
yast2-nfs-client has never had the ability to find NFSv4 hosts, they don't announce themselves like NFSv3 hosts did. That's not specific to Leap15 or the firewall.
Then I try to select directories: finds none.
Then I tick "NFSv4share": it finds some (and incorrect, IMO):
/ /data /home_aux /var
They are incorrect, I think, because the exports file on the server has:
/data/storage_c/repositorios_zypp/ .... /home/ ... /home1/ ... /home_aux/ ... /data/storage_b/ ... /var/spool/news/ ...
I tried with /data, and did not work:
linux-9vao:~ # mount -v /data/data_nfs_tc/ mount.nfs4: timeout set for Sun Mar 11 14:15:33 2018 mount.nfs4: trying text-based options 'vers=4.2,addr=192.168.1.14,clientaddr=192.168.1.128' mount.nfs4: mount(2): Device or resource busy linux-9vao:~ # mount -v /data/data_nfs_tc/ mount.nfs4: timeout set for Sun Mar 11 14:16:54 2018 mount.nfs4: trying text-based options 'vers=4.2,addr=192.168.1.14,clientaddr=192.168.1.128' mount.nfs4: mount(2): Device or resource busy linux-9vao:~ #
I later copied an entry from fstab from another install, and it worked instantly.
Why doesn't YaST work, is it a bug, or work in progress, or a firewall problem somewhere, or what?
As Andrei replied. That's how NFSv4 works. You should see exactly the same behavior with any version of yast2-nfs-client talking to an NFSv4 server. No matter whether you are using Leap 42.X, Leap 15 or openSUSE 13.X. NFSv4 will only return one level at a time and yast2-nfs-client has never had the ability to browse down the reported tree. That being said, there are other things regarding NFS and versioning that has changed between 42.X and 15, so copying entries may still have an slightly different behavior. We plan to adjust yast2-nfs-client to make those changes obvious enough. When done, it will be explained in one of our usual blog post. ;-) Cheers. -- Ancor González Sosa YaST Team at SUSE Linux GmbH -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org