Jump to content

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

Archived

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

×
×
  • Create New...