Article 50QRK NFS server/client issue between desktop Debian and RPi raspbian server

NFS server/client issue between desktop Debian and RPi raspbian server

by
Thomas Korimort
from LinuxQuestions.org on (#50QRK)
Hi!

I have a Raspbian Raspberry Pi 4 nfs server running with the following exports:

Quote:
/mnt/hd 192.168.1.XX(rw,no_root_squash,sync,subtree_check) 192.168.1.0/24(ro,sync,subtree_check)
/mnt/D01 192.168.1.XX(rw,no_root_squash,sync,subtree_check) 192.168.1.0/24(ro,sync,subtree_check)
/mnt/D02 192.168.1.XX(rw,no_root_squash,sync,subtree_check)
/mnt/D03 192.168.1.XX(rw,no_root_squash,sync,subtree_check)
/mnt/D04 192.168.1.XX(rw,no_root_squash,sync,subtree_check)
showmount -e 192.168.1.YY lists
Quote:
/mnt/D04 192.168.1.XX
/mnt/D03 192.168.1.XX
/mnt/D02 192.168.1.XX
/mnt/D01 192.168.1.0/24,192.168.1.XX
/mnt/hd 192.168.1.0/24,192.168.1.XX
I have a 4 disk harddisk case with currently 3 disks inside since one broke and i am waiting for the replacement. On my 192.168.1.XX Linux desktop i mount the disks in fstab via

Quote:
192.168.1.YY:/mnt/hd /mnt/hdnfsrw,auto,nofail,_netdev0 2
192.168.1.YY:/mnt/D01/mnt/D01nfsrw,auto,nofail,_netdev02
192.168.1.YY:/mnt/D02/mnt/D02nfsrw,auto,nofail,_netdev02
192.168.1.YY:/mnt/D03/mnt/D03nfsrw,auto,nofail,_netdev02
#192.168.1.YY:/mnt/D04/mnt/D04nfsrw,auto,nofail,_netdev02
The idea is to have hd and D01 as read-only disks for my media library available on the whole network and to have all exports available rw on my desktop 192.168.1.XX. It works except one strange phenomenon: On my desktop hd,D01,D02 are mounted correctly, but D03 is simply a remount of D01. How could this have happened? As i mentioned D04 is currently out of my 4-disk-case-JBOD. On my 192.168.1.YY nfs server the drives are mounted completely correctly. On my desktop both the terminal and the GNOME file explorer show the wrong assigment, so i guess something went wrong while mounting the nfs share or while advertising and exporting it in the network.latest?d=yIl2AUoC8zA latest?i=903QEL58V-c:y-64ZWtgQw0:F7zBnMy latest?i=903QEL58V-c:y-64ZWtgQw0:V_sGLiP latest?d=qj6IDK7rITs latest?i=903QEL58V-c:y-64ZWtgQw0:gIN9vFw903QEL58V-c
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments