Mount with FSTAb error
I tried to mount a NAS to my FSTAB and when I type
Code:
mount -a Code:
//mirosred2/volume_1/COPSEG /mnt/COPSEG cifs user=admin password=djfuri5675 user,auto,rw 0 0 I just installed samba and cifs from synaptic. |
At a minimum you have syntax errors. After the 'cifs' ( fstype ) starting at user= should be a comma separated list. You have user twice, should only be once.
Other problems, not sure. Here is a link to a how to, with several examples. -->http://opensuse.swerdna.org/susesambacifs.html Hope this helps. |
The user and password are part of the mount-options, which is a comma separated list. You're missing some comma's.
A few notes aside. Next time also show us the error message that you got. It makes it easier to diagnose the problem. I hope you didn't show us the real username and password for the nas box. That seems to be a very bad habit, I've been told. Normally you would only name the host-machine and the share name as the mount source. Like this Code:
//sirius/samba /data/samba cifs cred=/etc/cred.gdj 0 0 |
In addition to the previous comments
Quote:
Quote:
|
Well, I changed password and username.
Problem is the comma separatted list as you told me. I fix it and it works. Thank you very much. What credential file? Give me an example of that file please. ---------- Post added 12-25-12 at 12:46 PM ---------- Well, I changed password and username. Problem is the comma separatted list as you told me. I fix it and it works. Thank you very much. What credential file? Give me an example of that file please. |
It's just text file with the following information:
Code:
username=name Code:
man mount.cifs |
All times are GMT -5. The time now is 06:25 PM. |