How to do CIFS Mount?

Added by Karsten Salewski about 1 year ago

Hi Folks,

I am trying to mount a Nexenta Share via CIFS. I do the following command:

mount -t cifs -o username=admin,password=xxxxxxx //192.168.2.103/raid1/backup /nas_backup

It responds:

Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

The IP Number is the Nexenta NAS. Ping does work. ssh to the server also works. No Firewall in between. I don't see anything within the CIFS Log. Any idea how to debug this problem?

Regards,

Karsten


Replies

RE: How to do CIFS Mount? - Added by Roman Strashkin about 1 year ago

It seem you tried to mount incorrect path.

Please show output of "show share" in NMC.

RE: How to do CIFS Mount? - Added by Karsten Salewski about 1 year ago

It says:

nmc@smbnas:~$ show share
FOLDER CIFS NFS RSYNC FTP WEBDAV
raid1/backup Yes - - - -
raid1/media Yes - - - -

nmc@smbnas:~$

RE: How to do CIFS Mount? - Added by Roman Strashkin about 1 year ago

If you did not set another name to your share, then it can be mounted as:

mount -t cifs -o username=admin,password=xxxxxxx //192.168.2.103/raid1_backup /nas_backup

RE: How to do CIFS Mount? - Added by Karsten Salewski about 1 year ago

Yes, it works! Thank you for the response!

Regards,

Karsten

RE: How to do CIFS Mount? - Added by Karsten Salewski about 1 year ago

problem parsing wiki text: Bad markdown format near "./lan_test.tar': Inp": No "`" found before end
original text: 
Hi,

I can mount the share now and I can write to it. But just a few ;-)
I can create an empty directory. But when I try to copy a file I get an error.

"cp: closing `./lan_test.tar': Input/output error"

As far as I understand there is no space limitation (quota) on the share but only on the user or group. I did mount the share as user 'root'. I did not assign a quota to the user 'root'. Do I have to?
Can somebody tell me why I can't write a file to the share?

Regards,

Karsten