buy hypertropin

GGTSdotNET

The notes of a madman

Archive for the ‘SUSE’ Category

smbount 2GB limit and cifs “mount error 13”

Posted by grigsby on August 8, 2008

So I needed to copy several GBs of data between a linux compute machine and a windows box. It’s enough data that I don’t want to copy to a file server and then back to the workstation. The linux system is not running Samba, FTP is out, and SCP is slower than molasses in January. First thought share a drive on the WinXP box and mount it on the server.


[root@biglinuxbox data]# mount -t smbfs -o username=user //win_workstation/share /tmpmnt
[root@biglinuxbox data]# cp /local/data/big_data_file.tgz /tmpmnt
[root@biglinuxbox data]#

Cool! Wait. That was awfully fast… Oh. The file on the client side is exactly 2GB. Damn. Quick google and… yup. smbfs has a 2GB limit. Damn.


[root@biglinuxbox ~]# mount -t cifs -o username=my_username //win_workstation/share /tmpmnt
Password:
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
[root@biglinuxbox ~]# mount -t cifs -o username=domain/my_username //win_workstation/share /tmpmnt
Password:
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
[root@biglinuxbox ~]# mount -t cifs -o username=domainmy_username //win_workstation/share /tmpmnt
Password:
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
[root@biglinuxbox ~]# man mount.cifs
[root@biglinuxbox ~]# mount -t cifs -o user=domain/my_username //win_workstation/share /tmpmnt
Password:
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

Okay. Getting mad. After spending a few minutes in the man pages, I find that you can also specify the domain on the options line. Even though the man page says that domain/username should work, it’s not.


[root@biglinuxbox ~]# mount -t cifs -o user=my_username,domain=plm //win_workstation/share /tmpmnt
Password:
[root@biglinuxbox ~]# rm damon.tgz
rm: remove regular file `damon.tgz'? y
[root@biglinuxbox ~]# cp /local/data/big_data_file.tgz /tmpmnt

Sigh.