NFS only share is exporting the wrong directory


glave

Recommended Posts

I have 15 samba shares and 5 nfs shares. Four of the nfs shares are also samba shares, but the 5th one has export off for samba.  I have found that this 5th nfs only share is exporting one of my other 4 nfs shares as a duplicate.

 

NFS Shares

Comics

Movies

TV

backups

temp

 

The backups share is my NFS only share, and when mounted on another machine, it's showing the contents of the Movies nfs share. From the server console itself, I go into /mnt/user/backups, and it is showing that it's empty (correct).

 

I'm on Unraid 6.01

 

EDIT:

https://dl.dropboxusercontent.com/u/189156/arcade-diagnostics-20150901-1709.zip

Link to comment

Here's how to fix this:

1. Edit the file config/shares/Movies.cfg on the usb flash.

Change the line

shareExportNFSFsid="100"

to

shareExportNFSFsid="105"

 

2. Edit the file config/share.cfg on the usb flash.

Change the line

shareNFSFsid="101"

to

shareNFSFsid="106"

 

You can do this by browsing the 'flash' share on your windows PC and use wordpad.  [Does not matter on these files if line endings are windows-style or linux-style.]

 

After making these changes, Stop array and then Start array.

 

Not sure how you got in this state. Maybe the file 'share.cfg' got deleted and then regenerated?

 

Please report back if this solves the problem.

Link to comment
  • 4 months later...
  • 1 year later...

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.