[Pkg-samba-maint] DO NOT REPLY [Bug 6159] mount.cifs fails with mount error(22): Invalid argument if server has multiple ip addresses
samba-bugs at samba.org
samba-bugs at samba.org
Wed Mar 11 18:12:46 UTC 2009
https://bugzilla.samba.org/show_bug.cgi?id=6159
shirishp at us.ibm.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |shirishp at us.ibm.com
------- Comment #1 from shirishp at us.ibm.com 2009-03-11 13:12 CST -------
I tried this and mount failed.
# mount -t cifs //cifstest8/smb8 /mnt/smb_a --verbose -o
ip=fe80::214:5eff:fefb:3f7c,noperm,user=root,pass=password
parsing options: rw,ip=fe80::214:5eff:fefb:3f7c,noperm,user=root,pass=password
ip address fe80::214:5eff:fefb:3f7c override specified
ip address specified explicitly
mount.cifs kernel mount options
unc=//cifstest8\smb8,ver=1,rw,ip=fe80::214:5eff:fefb:3f7c,noperm,user=root,pass=root
mount error 22 = Invalid argument
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
cifstest6:~ # dmesg
CIFS VFS: Error connecting to socket. Aborting operation
CIFS VFS: cifs_mount failed w/return code = -22
eventhough I can ping the ipv6 interface on the server
ping6 -I eth0 fe80::214:5eff:fefb:3f7c
PING fe80::214:5eff:fefb:3f7c(fe80::214:5eff:fefb:3f7c) from
fe80::214:5eff:fefb:3f54 eth0: 56 data bytes
64 bytes from fe80::214:5eff:fefb:3f7c: icmp_seq=1 ttl=64 time=3.92 ms
64 bytes from fe80::214:5eff:fefb:3f7c: icmp_seq=2 ttl=64 time=0.146 ms
Do you see any error messages like this?
You can clear syslog buffer
dmesg -c
turn on cifs debugging by doing
echo 7 > /proc/fs/cifs/cifsFYI
issue the mount command and
obtain syslog buffer by doing command
dmesg
and send that output
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
More information about the Pkg-samba-maint
mailing list