11.2M5 mount -t cifs terribly slow

I used command as followings. nothing special.

mount -t cifs //192.168.55.53/windows$/Home /mnt/ -o user=username%password

It works well after mounted. But mounting itself takes 1-2 minutes terribly.
After mounted successfully, file transfer speed looks to be normal.

I used command as followings. nothing special.

mount -t cifs //192.168.55.53/windows$/Home /mnt/ -o user=username%password

It works well after mounted. But mounting itself takes 1-2 minutes terribly.

How to fix slow mount?

I used command as followings. nothing special.

mount.cifs //192.168.55.53/windows$ /mnt -o user=username%password

It works well after mounted. But mounting itself takes 1-2 minutes terribly.

How to fix slow mount?

> mount.cifs //192.168.55.53/windows$ /mnt -o user=username%password

i do not know why, but your format is very different from those given
in a set of how-tos by a well respected member of this forum
(“swerdna”)…he offers several different incantation, for different
purposes, this is for a temporary mount, all on one line:

mount -t cifs -o username=server_user,password=server_password
//192.168.44.100/share_name /path_to/mount_point

cite: http://opensuse.swerdna.org/susesambacifs.html

see his more general samba offerings in the upper left quadrant of
http://opensuse.swerdna.org/index.html

where google couldn’t find a single instance of “mount.cifs” when
using this search string:
site:opensuse.swerdna.org “mount.cifs”


goldie

I’am trying mount -t cifs //192.168.55.53/windows$ /mnt -o user=username,password=password
And I get the same result :frowning: still very long mounting.

About mount.cifs: From manpage mount:

Mount options for cifs
See the options section of the mount.cifs(8) man page (cifs-mount pack-
age must be installed)

about format of username from manpage mount.cifs:

user=arg
specifies the username to connect as. If this is not given, then
the environment variable USER is used. This option can also take
the form “user%password” or “workgroup/user” or
“workgroup/user%password” to allow the password and workgroup to be
specified as part of the username.

i can’t help you, sorry…but perhaps some other can if you include
some more info…like

the system/version/update status in use on the MS machine, and the one
you are sending from…and, how are you connected…

do you have a network sniffer to see if the delay is caused by a
delayed response from the distant machine…or is the slowness
entirely in your machine? (you say 1 - 2 minutes, was it ever 1 - 2
seconds?)

have you had this problem all along, or did it follow the last kernel
update, etc? like: have you made any changes to the network settings
on either maching? DNS changes? router setup changes?

have you tried it after booting from a Live CD? what have you tried
which didn’t bring happiness?


goldie

I see, but i have bad english :frowning:

I have this trouble only on that shares where need enter login anf password. On guest shares work all fine. This trouble exist on 11.1 and on 11.2M4 and 11.2M5 (others not tested)

Use –verbose flag and post the results here (exclude any IP addresses or potentially user-identifiable information).

It should output debug information that may prove useful to solving what it’s trying to do (for example negociate NTLMv2 security).

I tried it

lnxvrxstd:/home/xvirex # mount.cifs //192.168.0.52/share$ /mnt -o user=virex%virex_password --verbose
parsing options: user=virex%virex_password

mount.cifs kernel mount options unc=//192.168.0.52\share$,pass=virex_password,ver=1,user=virex,
[here we waiting 3 min 10 sec, after that we get console and mounted share]
lnxvrxstd:/home/xvirex # ls -la /mnt
итого 1560885
drwxrwxrwx 1 root root 0 Авг 25 00:24 .
drwxr-xr-x 20 root root 4096 Авг 25 09:59 …
-rwxrwSrwx 1 root root 0 Авг 19 17:27 AUTOEXEC.BAT
-r-xr-Sr-x 1 root root 4952 Апр 15 2008 Bootfont.bin

If i try to mount guest share on other it is gone ok

lnxvrxstd:/home/xvirex # mount.cifs //192.168.0.3/exchange /mnt --verbose
Password: (here i just put enter)

mount.cifs kernel mount options unc=//192.168.0.3\exchange,user=root,pass=,ver=1

lnxvrxstd:/home/xvirex # ls -la /mnt
итого 4
drwxrwxrwx 13 21 root 0 Авг 24 16:48 .
drwxr-xr-x 20 root root 4096 Авг 25 09:59 …
drwxrwxrwx 5 21 root 0 Авг 24 16:48 Ethernet
drwxrwxrwx 3 21 root 0 Авг 22 13:36 Games

[It work fine without delay]

In this case 192.168.0.3 - is FreeBSD with Samba, 192.168.0.52 - Windows XP SP3 without firewall with Guest user

If same doing trought the konqueror
string smb://virex@192.168.0.52/share$
then connection is up during 1 min 10 sec

Can anybody say how to obtain debug information about negociate NTLMv2 security ?

I used command as followings. nothing special.

mount.cifs //192.168.55.53/windows$ /mnt -o user=username%password

It works well after mounted. But mounting itself takes 1-2 minutes terribly.

I have this trouble only on that shares where need enter login anf password. On guest shares work all fine. This trouble exist on 11.1 and on 11.2M4 and 11.2M5 (others not tested)

lnxvrxstd:/home/xvirex # mount.cifs //192.168.0.52/share$ /mnt -o user=virex%virex_password --verbose
parsing options: user=virex%virex_password

mount.cifs kernel mount options unc=//192.168.0.52\share$,pass=virex_password,ver=1,user =virex,
[here we waiting 3 min 10 sec, after that we get console and mounted share]
lnxvrxstd:/home/xvirex # ls -la /mnt
итого 1560885
drwxrwxrwx 1 root root 0 Авг 25 00:24 .
drwxr-xr-x 20 root root 4096 Авг 25 09:59 …
-rwxrwSrwx 1 root root 0 Авг 19 17:27 AUTOEXEC.BAT
-r-xr-Sr-x 1 root root 4952 Апр 15 2008 Bootfont.bin

If i try to mount guest share on other it is gone ok

lnxvrxstd:/home/xvirex # mount.cifs //192.168.0.3/exchange /mnt --verbose
Password: (here i just put enter)

mount.cifs kernel mount options unc=//192.168.0.3\exchange,user=root,pass=,ver=1

lnxvrxstd:/home/xvirex # ls -la /mnt
итого 4
drwxrwxrwx 13 21 root 0 Авг 24 16:48 .
drwxr-xr-x 20 root root 4096 Авг 25 09:59 …
drwxrwxrwx 5 21 root 0 Авг 24 16:48 Ethernet
drwxrwxrwx 3 21 root 0 Авг 22 13:36 Games

[It work fine without delay]

In this case 192.168.0.3 - is FreeBSD with Samba, 192.168.0.52 - Windows XP SP3 without firewall with Guest user

If same doing trought the konqueror
string smb://virex@192.168.0.52/share$
then connection is up during 1 min 10 sec

How to fix slow mount?

I used command as followings. nothing special

mount.cifs //192.168.55.53/windows$ /mnt -o user=username%password

It works well after mounted. But mounting itself takes 1-2 minutes terribly.

I have this trouble only on that shares where need enter login anf password. On guest shares work all fine. This trouble exist on 11.1 and on 11.2M4 and 11.2M5 (others not tested)

lnxvrxstd:/home/xvirex # mount.cifs //192.168.0.52/share$ /mnt -o user=virex%virex_password --verbose
parsing options: user=virex%virex_password

mount.cifs kernel mount options unc=//192.168.0.52\share$,pass=virex_password,ver=1,user =virex,
[here we waiting 3 min 10 sec, after that we get console and mounted share]
lnxvrxstd:/home/xvirex # ls -la /mnt
итого 1560885
drwxrwxrwx 1 root root 0 Авг 25 00:24 .
drwxr-xr-x 20 root root 4096 Авг 25 09:59 …
-rwxrwSrwx 1 root root 0 Авг 19 17:27 AUTOEXEC.BAT
-r-xr-Sr-x 1 root root 4952 Апр 15 2008 Bootfont.bin

If i try to mount guest share on other it is gone ok

lnxvrxstd:/home/xvirex # mount.cifs //192.168.0.3/exchange /mnt --verbose
Password: (here i just put enter)

mount.cifs kernel mount options unc=//192.168.0.3\exchange,user=root,pass=,ver=1

lnxvrxstd:/home/xvirex # ls -la /mnt
итого 4
drwxrwxrwx 13 21 root 0 Авг 24 16:48 .
drwxr-xr-x 20 root root 4096 Авг 25 09:59 …
drwxrwxrwx 5 21 root 0 Авг 24 16:48 Ethernet
drwxrwxrwx 3 21 root 0 Авг 22 13:36 Games

[It work fine without delay]

If same doing trought the konqueror
string smb://virex@192.168.0.52/share$
then connection is up during 1 min 10 sec

How to fix slow mount?

Please don’t double post – it drives people nuts

swerdna wrote:
> Please don’t double post – it drives people nuts

not only that, he posted the same back in March!!

got some answers and requests for more info…which he ignored…

perhaps his FIRST duty should be to learn how to find the answers he
has received.


platinum

I’m seeing the same issue, was this ever solved?

This is an old thread, but since I just ran into the issue and this page shows up in google search I thought I’d add what I found out.

By default, mount cifs tries to access port 445. I’m not sure for which version of windows 445 is the default, but it obviously isn’t the right one for my old window XP machine.
So the long mount time is due to the mount command waiting for a timeout on port 445 before trying port 139.
The solution, specify port 139 in the mount command:

mount -t cifs -o username=xxx,password=xxx,port=139 //server/share /mnt/point