[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] CIFS filesystem and symbolic links to other dir
From: |
Ian Jones |
Subject: |
Re: [rdiff-backup-users] CIFS filesystem and symbolic links to other directories |
Date: |
Sun, 06 Jul 2008 16:47:54 +0200 |
User-agent: |
Thunderbird 2.0.0.14 (Windows/20080421) |
Output below. The droboshare is pretty much a closed system, all you can
do is set your login credentials, ip address and share name.
Andrew Ferguson a écrit :
On Jul 6, 2008, at 6:19 AM, Ian Jones wrote:
Hello. I have the following problem.
I am trying to use rdiff-backup to backup from a Linux (Debian lenny)
machine to a CIFS mounted filesystem (which is located on a
Droboshare - http://www.drobo.com.)
Ian,
One more thing: You should find out what version of Samba (I presume)
is running on the Droboshare. I believe there are ways to determine
that when doing the CIFS mount (look in your system logs). It may
require an `echo 1 > /proc/fs/cifs/cifsFYI` and remounting. Google
around for more on that.
I ask because I found this interesting nugget in the CIFS TODO list
under "Known Bugs":
1) existing symbolic links (Windows reparse points) are recognized but
can not be created remotely. They are implemented for Samba and those
that support the CIFS Unix extensions, although earlier versions of
Samba overly restrict the pathnames.
'overly restrict pathnames' sounds a bit like what you are
experiencing...
# cat /proc/fs/cifs/cifsFYI
0
# umount /drobo/
# echo 1 > /proc/fs/cifs/cifsFYI
# cat /proc/fs/cifs/cifsFYI
1
# mount /drobo/
# grep -i "cifs" syslog
Jul 6 10:35:14 mx kernel: CIFS VFS: Send error in SETFSUnixInfo = -5
Jul 6 10:35:14 mx kernel: CIFS VFS: Negotiating Unix capabilities with
the server failed. Consider mounting with the Unix Extensions
Jul 6 10:40:36 mx kernel: fs/cifs/cifsfs.c: Devname:
//DroboShare/drobo flags: 64
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: CIFS VFS: in cifs_mount
as Xid: 18285 with uid: 0
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: Username: drobo
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: UNC: \\DroboShare\drobo
ip: 192.168.71.5
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: Socket created
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: sndbuf 16384 rcvbuf 87380
rcvtimeo 0x7fffffff
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: Demultiplex PID: 6160
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: Existing smb sess not found
Jul 6 10:40:36 mx kernel: fs/cifs/cifssmb.c: secFlags 0x7
Jul 6 10:40:36 mx kernel: fs/cifs/transport.c: For smb_command 114
Jul 6 10:40:36 mx kernel: fs/cifs/transport.c: Sending smb of length 56
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: rfc1002 length 0x63
Jul 6 10:40:36 mx kernel: fs/cifs/cifssmb.c: Dialect: 0
Jul 6 10:40:36 mx kernel: fs/cifs/cifssmb.c: negprot rc 0
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: Security Mode: 0x3
Capabilities: 0x80e3fd TimeAdjust: 25200
Jul 6 10:40:36 mx kernel: fs/cifs/sess.c: sess setup type 2
Jul 6 10:40:36 mx kernel: fs/cifs/transport.c: For smb_command 115
Jul 6 10:40:36 mx kernel: fs/cifs/transport.c: Sending smb: total_len 234
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: rfc1002 length 0x66
Jul 6 10:40:36 mx kernel: fs/cifs/misc.c: Null buffer passed to
cifs_small_buf_release
Jul 6 10:40:36 mx kernel: fs/cifs/sess.c: ssetup rc from sendrecv2 is 0
Jul 6 10:40:36 mx kernel: fs/cifs/sess.c: UID = 100
Jul 6 10:40:36 mx kernel: fs/cifs/sess.c: bleft 57
Jul 6 10:40:36 mx kernel: fs/cifs/sess.c: words left: 0
Jul 6 10:40:36 mx kernel: fs/cifs/sess.c: ssetup freeing small buf
df91d740
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: CIFS Session Established
successfully
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: file mode: 0x5f7 dir
mode: 0x1ff
Jul 6 10:40:36 mx kernel: fs/cifs/transport.c: For smb_command 117
Jul 6 10:40:36 mx kernel: fs/cifs/transport.c: Sending smb of length 88
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: rfc1002 length 0x3a
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: disk share connection
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: Tcon flags: 0x1
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: CIFS Tcon rc = 0
Jul 6 10:40:36 mx kernel: fs/cifs/cifssmb.c: In QFSDeviceInfo
Jul 6 10:40:36 mx kernel: fs/cifs/transport.c: For smb_command 50
Jul 6 10:40:36 mx kernel: fs/cifs/transport.c: Sending smb of length 68
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: rfc1002 length 0x44
Jul 6 10:40:36 mx kernel: fs/cifs/cifssmb.c: In QFSAttributeInfo
Jul 6 10:40:36 mx kernel: fs/cifs/transport.c: For smb_command 50
Jul 6 10:40:36 mx kernel: fs/cifs/transport.c: Sending smb of length 68
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: rfc1002 length 0x50
Jul 6 10:40:36 mx kernel: fs/cifs/cifssmb.c: In QFSUnixInfo
Jul 6 10:40:36 mx kernel: fs/cifs/transport.c: For smb_command 50
Jul 6 10:40:36 mx kernel: fs/cifs/transport.c: Sending smb of length 68
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: rfc1002 length 0x48
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: negotiated posix acl support
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: Negotiate caps 0x2
Jul 6 10:40:36 mx kernel: fs/cifs/cifssmb.c: In SETFSUnixInfo
Jul 6 10:40:36 mx kernel: fs/cifs/transport.c: For smb_command 50
Jul 6 10:40:36 mx kernel: fs/cifs/transport.c: Sending smb of length 82
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: rfc1002 length 0x27
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: invalid transact2 word count
Jul 6 10:40:36 mx kernel: fs/cifs/netmisc.c: Mapping smb error code 31
to POSIX err -5
Jul 6 10:40:36 mx kernel: CIFS VFS: Send error in SETFSUnixInfo = -5
Jul 6 10:40:36 mx kernel: CIFS VFS: Negotiating Unix capabilities with
the server failed. Consider mounting with the Unix Extensions
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: CIFS VFS: leaving
cifs_mount (xid = 18285) rc = 0
Jul 6 10:40:36 mx kernel: fs/cifs/inode.c: CIFS VFS: in
cifs_read_inode as Xid: 18286 with uid: 0
Jul 6 10:40:36 mx kernel: fs/cifs/inode.c: Getting info on
Jul 6 10:40:36 mx kernel: fs/cifs/cifssmb.c: In QPathInfo (Unix) the path
Jul 6 10:40:36 mx kernel: fs/cifs/transport.c: For smb_command 50
Jul 6 10:40:36 mx kernel: fs/cifs/transport.c: Sending smb of length 74
Jul 6 10:40:36 mx kernel: fs/cifs/connect.c: rfc1002 length 0xa5
Jul 6 10:40:36 mx kernel: fs/cifs/inode.c: Old time 0
Jul 6 10:40:36 mx kernel: fs/cifs/inode.c: New time 4197328
Jul 6 10:40:36 mx kernel: fs/cifs/inode.c: Size 0 and blocks 8
Jul 6 10:40:36 mx kernel: fs/cifs/inode.c: Directory inode