Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Share showing wrong content when mounted via NFS

Featured Replies

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

Solved by itimpi

  • Community Expert
  • Solution

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.

  • Author
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

You can't control the fsid.  Unraid takes care of it for you.  Have you tried a reboot?  Post the /etc/exports file content after a reboot.

 

You may have run into a bug.  I'll do some testing and see if there is a problem.

  • Author

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

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.

  • Author

I did edit before reboot to 104, but after reboot it was the old fsid. Let me do again to validate after some hours of sleep thank you

  • Author

i edited /boot/config/shares/ron.cfg to fsid 104 and restarted the array - seem to work. 

 

but then i created another new share, just for test purpose, enabled nfs export -> id received again a duplicate, already used fsid !

I would turn off export on each of your shares and then turn them on one at a time and see if the fsid duplicates again as you re-assign them.

  • Author

now it messed up the system rights ... 

shares with the same name as an old share have the old fsid when recreated -> duplicate

so i used new names, but the new shares are not listed under users, i cannot set the rights for them :(

  • Author

sure, thanks !

715915253_newshares.thumb.PNG.40ea978e223d07e2b94840561fc7b659.PNG

permissions.png

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.