Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been trying to make this work with little success. What I am trying to do is mount a file system (fs) share from a NAS to my Ubuntu computer. The share mounts just fine, but I am having issues writing content. I am using the following command to mount the share:
sudo mount //<IP_address>/share_drive/path -t cifs /home/dir/share_folder/ -o "username=XXXXXXXX,password=XXXXXXXXX"
In some occasions I can created files/directories, but suddenly my write access will be lost. I have checked all the permission on the NAS server and the everything looks good there.
I have the same issue with a Windows share that I mount to Ubuntu from a Window Server 2012. I am using the following command to mount the Windows share:
Again I read all the files but not write or create anything new to it. I have also verified the permissions on the share and they work well on other system but not on Linux Ubuntu.
Any ideas or suggestions will be greatly appreciated.
Any particular symptoms when the write access is lost? Every twenty minutes after mounting? Network went south for a second and came back? wpa_supplicant rotated keys? dhcp got a new lease? And various things normally found in the /var/log/ stuff. Perhaps a terminal or two open with tail -f /var/log/dmesg and tail -f /var/log/syslog. And if those "move" when the fail happens, a clue.
What are you using for the NAS? If it supports ssh, you could try sshfs (should only require ssh support on the NAS, you will need sshfs on the client), although this solution may not work for your windows system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.