Re: [CentOS] smbmount: mount() syscall gone bad ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, 9 Oct 2006 12:37:15 -0300 Rodrigo Barbosa wrote:
> I have seen a weird problem in one of my clients. The reported that
> when issuing a smbmount command (both client and server are CentOS 4.4),
> it would take up to 30 second for the mount to complete.
> 
> [...]
> 
> Anyone seen this before ?
> 

I have noticed this problem too.

For me, whether the delay occurs or not depends on which mount
options I use. The behavior below has been 100% reproducible for
me so far.

(My client is Centos 4.4, but the fileserver is running Win2003 SP1.)


This combination of options always takes 30 seconds to mount:

# date; mount -t smbfs //WINSERVER/TestShare /mnt/TestShare -o ro,ip=192.168.1.9,workgroup=TESTNET,username=guest,password=; date
Sat Oct 14 06:49:54 EDT 2006
Sat Oct 14 06:50:24 EDT 2006

# umount /mnt/TestShare/


However, if I add certain extra options (e.g. nodev, dmask/fmask, etc)
the delay vanishes:

# date; mount -t smbfs //WINSERVER/TestShare /mnt/TestShare -o ro,nodev,ip=192.168.1.9,workgroup=TESTNET,username=guest,password=; date
Sat Oct 14 06:51:34 EDT 2006
Sat Oct 14 06:51:34 EDT 2006

# umount /mnt/TestShare/

# date; mount -t smbfs //WINSERVER/TestShare /mnt/TestShare -o
ro,dmask=750,fmask=640,ip=192.168.1.9,workgroup=TESTNET,username=guest,password=; date
Sat Oct 14 06:52:19 EDT 2006
Sat Oct 14 06:52:19 EDT 2006

# umount /mnt/TestShare/


Taking out those extra options, the delay returns:

# date; mount -t smbfs //WINSERVER/TestShare /mnt/TestShare -o ro,ip=192.168.1.9,workgroup=TESTNET,username=guest,password=; date
Sat Oct 14 06:52:52 EDT 2006
Sat Oct 14 06:53:22 EDT 2006

# umount /mnt/TestShare/


I had assumed the problem had to be on the Windows side of things. :-)

Best Regards,
PWR


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux