montrush Posted January 21 Share Posted January 21 "My Unraid suddenly lost all user shares one day, and I found out that /mnt/user was not mounted. I already have a lot of data in my array. What should I do to make user shares reappear?" tower01-diagnostics-20240121-1633.zip Quote Link to comment
itimpi Posted January 21 Share Posted January 21 You should reboot. This can happen if the process that supports User Shares crashes for some reason (not common, but not unknown). If that does not help for any reason then post back here. Quote Link to comment
montrush Posted January 21 Author Share Posted January 21 it does not work by rebooting. I did not know what to do, I made a new USB disk, it did not work yet. Share User remained missing Quote Link to comment
itimpi Posted January 21 Share Posted January 21 Not sure what to suggest then. The diagnostics that you posted show that you DID have a /mnt/user at the point they were taken. shfs 157T 43T 114T 28% /mnt/user0 shfs 157T 43T 114T 28% /mnt/user The system also seems to think all your shares are there: appdata shareUseCache="yes" # Share exists on disk1 D-----T shareUseCache="only" # Share exists on ubuntu domains shareUseCache="yes" # Share exists on disk1 I-O shareUseCache="only" # Share exists on ubuntu isos shareUseCache="yes" # Share exists on disk1 M---e shareUseCache="yes" # Share exists on cache, disk1, disk2, disk4, disk5, disk6, disk7 M----s shareUseCache="no" # Share exists on disk2 M---c shareUseCache="yes" # Share exists on disk9, disk10, disk11, disk12 system shareUseCache="yes" # Share exists on cache, disk1 u-----------------1 shareUseCache="no" # Share exists on disk1 VM shareUseCache="only" # Share exists on ubuntu, disk1 It just might be worth running a check filesystem on all drives in case there is file system corruption somewhere causing problems although I did not spot anything in the diagnostics. BTW: Not your current problem, but you normally want the appdata and system shares to be set up so that they are all on the cache to maximise performance of docker containers and to avoid keeping array drives pun up when not needed. Your current settings say move these to the array if possible. Quote Link to comment
Solution Frank1940 Posted January 21 Solution Share Posted January 21 Post up screenshots of these two commands run in the GUI Terminal: ls -al /mnt ls -al /mnt/user If you are concerned about privacy, you can crop the directory names off of the second one when you do the screenshot. Quote Link to comment
montrush Posted January 21 Author Share Posted January 21 I also suspect it might be a file permission issue.Thanks,how to repair this? Quote Link to comment
montrush Posted January 21 Author Share Posted January 21 39 minutes ago, Frank1940 said: Post up screenshots of these two commands run in the GUI Terminal: ls -al /mnt ls -al /mnt/user If you are concerned about privacy, you can crop the directory names off of the second one when you do the screenshot. I run the command,and the pic is up there,anyway thanks. Quote Link to comment
itimpi Posted January 21 Share Posted January 21 Those permissions are definitely wrong. Not sure what could be setting the permissions wrong at the /mnt level as those are set up dynamically when Unraid boots as I would have thought should be the ones at the /mnt/user level. However you could run the New Permissions tool against User Shares at that level to see if it changes things. If it does you will need to identify what could have set the permissions wrong in the first place to stop it happening again. Quote Link to comment
Frank1940 Posted January 21 Share Posted January 21 Also try booting up in the Safe Mode (An option on the Unraid Boot Menu during bootup)... Quote Link to comment
trurl Posted January 21 Share Posted January 21 25 minutes ago, Frank1940 said: Also try booting up in the Safe Mode (An option on the Unraid Boot Menu during bootup)... Also disable Docker and VM Manager in Settings before rebooting in SAFE mode, then post new diagnostics, and the output of those commands again 1 hour ago, Frank1940 said: ls -al /mnt ls -al /mnt/user Quote Link to comment
montrush Posted January 24 Author Share Posted January 24 thanks all,it is the permission problems. after changed it ,everything got right Quote Link to comment
trurl Posted January 24 Share Posted January 24 11 hours ago, montrush said: thanks all,it is the permission problems. after changed it ,everything got right How did you change permissions? Have you rebooted since then to make sure the problem doesn't come back? Quote Link to comment
Recommended Posts
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.