QNAP NFS share cannot be mounted in Ubuntu 20.04

Discussion about using NAS on Linux and Unix OS.
Post Reply
Tonatiuh
Starting out
Posts: 15
Joined: Tue Jul 17, 2018 10:49 am

QNAP NFS share cannot be mounted in Ubuntu 20.04

Post by Tonatiuh »

OS: Ubuntu 10.04
QNAP: TVS1282T3
QTS: 4.3.5
Connectivity; Intel Ethernet 10Gbps

I had everything configured in my QNAP NAS and in my Ubuntu 20.04.
I connected using command: sudo mount.nfs <NAS_IP>:/NAS-Shared-Folder /mnt/MyLocalFolder

After an Ubuntu update (not upgrade to 22.04) Connectivity to NAS stopped working.

I reinstalled my Ubuntu OS but I can no longer mount NAS NFS shares. Command seems to work now, it it never ends and never return the Terminal prompt
I can ping the NAS network successfully.
Hosts allowed to mount NAS NFS shares are there (they were already configured before this issue).
Other Ubuntu computer in the list of allowed hosts (connecting through wifi) to mount this share is mounting it immediately.

Any idea?

Best Regards.
FSC830
Experience counts
Posts: 2043
Joined: Thu Mar 03, 2016 1:11 am

Re: QNAP NFS share cannot be mounted in Ubuntu 20.04

Post by FSC830 »

Other computers also running this Ubuntu version?
Some weeks ago the was a thread that in a newer kernel version some was changed.
Cant remember the details, as far a I remember something with the nfs parameters...

Regards

Edit: This is not the thread I mentioned, but I guess it addresses the problem: nfs issue.
Tonatiuh
Starting out
Posts: 15
Joined: Tue Jul 17, 2018 10:49 am

Re: QNAP NFS share cannot be mounted in Ubuntu 20.04

Post by Tonatiuh »

This computer was mouting the QNAP NFS shares (in Ubuntu 20.04).
And the other computer mouting the share immediately is also running Ubuntu 20.04.

Regards,
FSC830
Experience counts
Posts: 2043
Joined: Thu Mar 03, 2016 1:11 am

Re: QNAP NFS share cannot be mounted in Ubuntu 20.04

Post by FSC830 »

Just started my NAS and the Ubuntu VM, no problems here.
Upper mount is QTS is 5.0.1.2194, lower mount is QTS is 4.3.4.
No 4.3.6 for testing availabe here.

Code: Select all

root@ubuntu-virtual-machine:~# showmount -e 192.168.1.90
Export list for 192.168.1.90:
/VIDEO_DISC *
/ubuntu01   192.168.0.0/16
/homes      192.168.0.0/16
/Web        192.168.0.0/16
/Test01     192.168.0.0/16
/Public     192.168.0.0/16
/Pi50       192.168.0.0/16
root@ubuntu-virtual-machine:~# mount 192.168.1.90://ubuntu01 /mnt

root@ubuntu-virtual-machine:~# ls -al /mnt
total 12
drwxrwxrwx  4 root root 4096 Apr  6  2022 .
drwxr-xr-x 24 root root 4096 Jul  8 08:31 ..
drwxrwxrwx  2 root root 4096 Okt  4 15:10 @Recycle
root@ubuntu-virtual-machine:~# uname -a
Linux ubuntu-virtual-machine 5.15.0-40-generic #43-Ubuntu SMP Wed Jun 15 12:54:21 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu-virtual-machine:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy


root@ubuntu-virtual-machine:~# mount -o nfsvers=3 192.168.0.102:/Public /mnt
root@ubuntu-virtual-machine:~# ls -al /mnt
total 82420
drwxrwxrwx  7 root   root      12288 Mär  4  2022  .
drwxr-xr-x 24 root   root       4096 Jul  8 08:31  ..
-rw-rw-rw-  1 root   root    1469974 Jan 10  2020  20200110.csv
-rw-rw-rw-  1 root   root    1965445 Jan 22  2020  20200122-1.csv
-rw-rw-rw-  1 root   root    2062342 Jan 22  2020  20200122-2.csv
-rw-rw-rw-  1 root   root    2115970 Jan 22  2020  20200122-3.csv
-rw-rw-rw-  1 root   root    1485076 Jan 22  2020  20200122.csv
-rw-rw-rw-  1 root   root    1578665 Jan 23  2020  20200123-10.csv
-rw-rw-rw-  1 root   root    1547349 Jan 23  2020  20200123-11.csv
-rw-rw-rw-  1 root   root    1596361 Jan 23  2020  20200123-12.csv
-rw-rw-rw-  1 root   root    1408014 Jan 23  2020  20200123-13.csv
So my guess is an individual problem, but no idea, if at NAS or at host. :S

Regards
Tonatiuh
Starting out
Posts: 15
Joined: Tue Jul 17, 2018 10:49 am

Re: QNAP NFS share cannot be mounted in Ubuntu 20.04

Post by Tonatiuh »

The thread that you mentioned solved my problem.

Thank you FSC830 !!
Post Reply

Return to “Linux & Unix (NFS)”