I think I may have figured out the problem with the missing shares, it stems from a mismatch between the file systems actual contents and what the Samba server shares config file states. It can be resolved by editing the "Shares.conf" file.
Here is my take on a "How-to" to fix the problem :
DISCLAIMER :
Exercise caution, I don't take any responsibility for your messed up ReadyNas. If you are concerned that you don't understand the "how-to", seek out help from a qualified professional.
ISSUE :
An error is shown the the ReadyNas log file stating :
"The paths for the shares listed below could not be found. Typically, this occurs when the ReadyNAS is unable to access the data volume.
my_missing_user"
There is no user for "
my_missing_user" listed under Frontview.
There is no home directory for "
my_missing_user" showing under HOME or /.
There is no information showing in FrontView (Shares --> Share Listing) for Shares.
Frontview will not allow you to create a new share as user
my_missing_user already exists.
RESOLUTION :
1. Install the SSH addon (if you dont have it already) for your ReadyNAS.
2. SSH into the ReadyNas as root "
ssh root@192.168.X.X" where 192.168.X.X is your ReadyNAS IP address.
3. Change to the etc/frontview/samba directory "
cd /etc/frontview/samba"
4. Backup the file "Shares.conf" by issuing the command "
cp Shares.conf Shares.backup".
5. Look at the contents of "Shares.conf" by issuing the command "
cat Shares.conf"
6. Look for entries that have your missing user share name as identified in the FrontView log file (i.e.
my_missing_user). My Shares.conf file looked like the following :
[some_other_user]
...
[
my_missing_user]
path = /c/my_missing_user
comment = "my_missing_user's Files"
oplocks = 1
admin users = "admin","Administrator"
hosts allow = "my_missing_user"
writeable = 1[/color]
[some_other_user]
...
7. Edit Shares.conf with vi "
vi Shares.conf" and cursor down to the offending entry (in my case "my_missing_user").
8. Delete each line from the first bracket until the first empty line. (using the "
dd" command in VI) (i.e. delete everything in purple)
[some_other_user]
...
[my_missing_user]
path = /c/my_missing_user
comment = "my_missing_user's Files"
oplocks = 1
admin users = "admin","Administrator"
hosts allow = "my_missing_user"
writeable = 1
[some_other_user]
...
9. Save the file "
:wq"
10. Login to your ReadyNas view the Frontview web interface and reboot your ReadyNas.
11. Check your ReadyNas Frontview Log, problem should be gone!
12. Ensure that you have disabled SSH access via the ReadyNas Addon.
I hope this helps others that have suffered from the same problem. If you have any strange issues with Samba you can copy your backup file "
cp Shares.backup Shares.conf" back to the original Shares.conf and you should be back to normal after a reboot.
Good luck!