SOLVED - SHARES: There are no exportable user shares


JDGJr

Recommended Posts

I was renaming/removing files on my stable 6.8.3 server - at some point i wasn't able to access files in a share so i stopped the array and restarted. The Shares tab now says 'There are no exportable user shares".

 

In the Log, i see that /mnt/user already exists when the startup tries to create it:

 

Dec 20 16:08:53 JDGJrMedia emhttpd: shcmd (78948): sync
Dec 20 16:08:53 JDGJrMedia emhttpd: shcmd (78949): mkdir /mnt/user0
Dec 20 16:08:53 JDGJrMedia emhttpd: shcmd (78950): /usr/local/sbin/shfs /mnt/user0 -disks 30 -o noatime,allow_other  |& logger
Dec 20 16:08:53 JDGJrMedia shfs: use_ino: 1
Dec 20 16:08:53 JDGJrMedia shfs: direct_io: 0

Dec 20 16:08:53 JDGJrMedia emhttpd: shcmd (78951): mkdir /mnt/user
Dec 20 16:08:53 JDGJrMedia root: mkdir: cannot create directory '/mnt/user': File exists
Dec 20 16:08:53 JDGJrMedia emhttpd: shcmd (78951): exit status: 1

Dec 20 16:08:53 JDGJrMedia emhttpd: shcmd (78952): /usr/local/sbin/shfs /mnt/user -disks 31 2048000000 -o noatime,allow_other -o remember=330  |& logger
Dec 20 16:08:53 JDGJrMedia shfs: error: main, 3321: Transport endpoint is not connected (107): #012can't chdir: /mnt/user Transport endpoint is not connected
Dec 20 16:08:53 JDGJrMedia emhttpd: shcmd (78952): exit status: 255

 

When I list the contents of /mnt I get this oddity:

 

ls: cannot access '/mnt/user': Transport endpoint is not connected
total 16
drwxrwxrwx 1 nobody users 78 Dec 20 15:35 cache
drwxrwxrwx 3 nobody users 19 Dec 20 15:35 disk1
drwxrwxrwx 4 nobody users 38 Dec 20 15:35 disk2
drwxrwxrwx 5 nobody users 62 Dec 20 15:35 disk3
drwxrwxrwx 3 nobody users 19 Dec 20 15:35 disk4
drwxrwxrwt 3 nobody users 60 Dec 20 16:08 disks
drwxrwxrwt 2 nobody users 40 Dec  9 00:00 remotes

d????????? ? ?      ?      ?            ? user
drwxrwxrwx 1 nobody users 19 Dec 20 15:35 user0

 

I've tried to remove or rename the user directory, but so far I only get the transport endpoint error shown above.

 

I was able to resolve this by 'sudo umount -l user' and then removing the directory

 

all my user shares reappeared on restart.

 

John

 

Edited by JDGJr
resolved problem
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.