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.

Mounting a NFS share mounts a completely different directory

Featured Replies

All right, this is extremely weird.

root@server:~# showmount -e
Export list for server:
/mnt/user/qbittorrent *
/mnt/user/discord     *
/mnt/user/backups     *

Tested from multiple CentOS VMs, if I mount /mnt/user/discord, it actually mounts /mnt/user/backups. However, if I mount /mnt/user/discord/something, it correctly mounts the discord sub-folder. I've seen weird things but this...

 

What I've tried: restarting the NFS service, rebooting the VMs, manually mounting the NFS vs using /etc/fstab, disabling the discord NFS share and reenabling it... that doesn't work. What works however is disabling the backups NFS share. If I disable it, without even having to umount /mnt/user/discord, it now correctly points to the correct directory. If I enable the backups NFS share again? /mnt/user/discord mounted on my VM now points on the backups share. I'm so confused.

 

Have you ever seen something like that? Is there some sort of file on unRAID I can see more info about NFS share configuration?

Edited by dnLL

  • Author

It seems like they have the same ID.

 

root@server:~# exportfs -v
/mnt/user/backups
                <world>(rw,async,wdelay,hide,no_subtree_check,fsid=100,anonuid=99,anongid=100,sec=sys,insecure,root_squash,all_squash)
/mnt/user/discord
                <world>(rw,async,wdelay,hide,no_subtree_check,fsid=100,anonuid=99,anongid=100,sec=sys,insecure,root_squash,all_squash)
/mnt/user/qbittorrent
                <world>(rw,async,wdelay,hide,no_subtree_check,fsid=101,anonuid=99,anongid=100,sec=sys,insecure,root_squash,all_squash)

 

How is that possible? can it be fixed without deleting the share and/or rebooting?

  • Author

Hotfixed the mounted share by editing the fsid directly into /boot/config/shares/*.cfg files. However if I create a new NFS share it takes the fsid 101, no matter what I have in /boot/config/share.cfg. There must be something somewhere else?

  • Author

Potential solution: 

I assume the /boot/config/share.cfg is loaded in RAM so editing it there without restarting the array doesn't quite fix it completely for newly created shares. I assume.

Archived

This topic is now archived and is closed to further replies.

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.