WARNING WARNING WARNING
Sorry for the above message, but I have just been the victim of my own testing, and I don't want anybody to do the same
From Drutt's post above
We also have this problem that is the mount fails, you'll be stuck until you reboot or delete the share folder, so watch out for that - its because its creating the share folder but not removing it
While testing to get the mount to work, I was following the info in the above quote
When the mount failed, I would make changes to the SMB folder config and then delete the shared folder, and allowing the mount to be recreated using the new changes I had made
While I was doing all this, I must have inadvertently corrected the issue and the mount worked
BUT, I didn't realise that the mount had worked and I deleted the shared folder
Luckily my NAS is next to my PC and I heard the hard drives in the NAS suddenly go mental, and I quickly realised that by deleting the shared folder, it was actually deleting the files and folders on my NAS
I quickly pulled out the power cord to my switch, which stopped the HDR from accessing the NAS
Luckily I have a backup of my NAS, so I'm now copying the deleted files back, but in the 3 or 4 seconds that the deleting was going on, it removed over 50GB of files
Once it is all completed, I will investigate what I did to get the mount to work
So the morale of the story is:-
If the mount is created successfully, DO NOT deleted the shared folder or otherwise you will be deleting the files on your NAS
Is it possible to to have a message appear if you try to delete the shared folder that has been successfully mounted
Something like "If you deleted this folder, YOU WILL DELETE all the files and folder inside the folder"