Share showing wrong content when mounted via NFS


Grobalt
Go to solution Solved by itimpi,

Recommended Posts

I posted this in the german board, but i have to ask here after a few days:

in short - i created a share, mounted this share from another computer (or for test reason via nfs local) and it shows the content of another share. I did this with 2 shares and it was reproducable -> showing the content of 2 old shares. totally crazy and i have no clue.

 

The new shares are "ron" and "scraping" -> ron is showing the content of "aufnahmen" and scraping is showing the content of "download"

 

settings.PNG.44c4762024276cda7b48fc9f681eb383.PNG99754778_neuershare.thumb.png.885c1e252ef061da6e25225bfa22aaca.png1301772979_localmounttotest.thumb.PNG.9c6127b3c516b70b6369454ac6c5e80d.PNG1582618927_inhaltvondownload.thumb.PNG.0793163f64ac6998f61c1024d80a5311.PNG1465867967_falscherinhalt.png.acf01a663bf495bc49413ffc6c29f3bb.pngexport.PNG.16f32b8958460c9b25b7fc59a1831990.PNG

Link to comment
37 minutes ago, itimpi said:

I am not an expert on this, but should the exports not have a unique value for the -fsid option for each share?   The ones that you are saying are going wrong are where they have the same fsid value as another entry.

where can i see this and how to change ? in the gui for share i dont see any fsid to set

Link to comment

root@unraid:/etc# cat exports
# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.

"/mnt/user/aufnahmen" -fsid=100,async,no_subtree_check
"/mnt/user/download" -fsid=101,async,no_subtree_check
"/mnt/user/filme" -fsid=102,async,no_subtree_check *(ro,sec=sys,insecure,anongid                                                                                                                    =100,anonuid=99,all_squash)
"/mnt/user/ron" -fsid=102,async,no_subtree_check *(ro,sec=sys,insecure,anongid=1                                                                                                                    00,anonuid=99,all_squash)
"/mnt/user/serien" -fsid=103,async,no_subtree_check *(ro,sec=sys,insecure,anongi                                                                                                                    d=100,anonuid=99,all_squash)

reboot did not help, still duplicate fsid

Link to comment

Edit the the duplicated share "ron" /flash/config.shares/ folder and change the duplicate to the next in the sequence for fsids.  i.e. change ron to fsid 104.

 

I don't know how you got duplicates.  Can you take your flash drive to a PC and check the file system in case you have a flash issue?

 

Edit: You'll have to reboot or stop and restart the array.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.