Gentoo Archives: gentoo-user

From: Harry Putnam <reader@×××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Rsync backup problem2
Date: Thu, 09 Mar 2006 18:27:18
Message-Id: 871wxbiiwz.fsf@newsguy.com
In Reply to: Re: [gentoo-user] Re: Rsync backup problem2 by Paul Stear
1 Paul Stear <gentoo@××××××××××××.com> writes:
2
3 > On Thursday 09 Mar 2006 15:36, Harry Putnam wrote:
4 >> Paul <gentoo@××××××××××××.com> writes:
5 >> > All files copy with no errors but symlinks always fail with the message:
6 >> > symlink "/mnt/network/usr/lib/libgstinterfaces-0.8.so.0" ->
7 >> > "libgstinterfaces-0.8.so.0.1.0" failed: Operation not supported
8
9 >> > I am wondering if this is a permissions problem.
10 >> > My network usb server will not let me have a user called root so I have
11 >> > set user paul with the 'can do anything' previlege.
12 >> > The mount and rsync commands are using user root
13
14 The receiving fs does not support symlinks .. not the comments
15 further along.
16
17 [...]
18
19 > I am mounting the network usb drive using cifs
20 > The network storage unit is a LINKSYS Network Storage Link for USB 2.0 Disk
21 > Drives. I don't know what file system is used but the discs had to be
22 > formatted by the linksys setup program. I have just looked at some files on
23 > the backup disc and the owner and permissions seem to be intact.
24
25 Those would be fat32 or NSFS almost certainly I'd think.
26
27 About permissions...:
28 It may not be so easy to tell.. here is what a ls -l on a NSFS
29 (winXP) mounted from gentoo looks like:
30
31 -rwxrwSrwt 1 root root 258 Oct 28 22:11 cdiag.txt
32
33 cdiag.txt is a simple text file.
34
35 I don't get an error here but when next mounted the permission I set
36 with chmod have disappeared and -rwxrwSrwt is back
37
38 Neither NSFS or fat32 support unix like permissions... not sure why I
39 get no error maybe cifs mount suppresses them.
40
41 About the symlink issue notice the similar output I get when
42 attempting to rsync symlinks to an NSFS file system:
43
44 Note too that mounted winXP fs does not support symlinks in unix
45 fashion. Nor does it support unix like permissisons.
46
47 Yours:
48
49 >> > All files copy with no errors but symlinks always fail with the message:
50 >> > symlink "/mnt/network/usr/lib/libgstinterfaces-0.8.so.0" ->
51 >> > "libgstinterfaces-0.8.so.0.1.0" failed: Operation not supported
52
53 Mine:
54 ls -l test/ (wrapped for mail.. (these are synlinks)):
55 lrwxrwxrwx 1 root root 38 Mar 9 11:58 db.192.168.1 ->
56 /cvsb/reader/var/bind/pri/db.192.168.1
57 lrwxrwxrwx 1 root root 38 Mar 9 11:58 db.local.lan ->
58 /cvsb/reader/var/bind/pri/db.local.lan
59
60 Rsyncing from gentoo box to winXP:
61 rsync -avv ./test/ /mnt/harvey-c/test/
62 rsync: symlink "/mnt/harvey-c/test/db.127.0.0" ->
63 "/cvsb/reader/var/bind/pri/db.127.0.0" failed: Operation not
64 supported (95)
65
66 So that is the source of that problem. There are various ways to
67 handle this.... investigate the different symlink flags in man rsync.
68 One way is to have rsync copy the actual file the symlink is pointing
69 too.
70
71 > This is the error when copying the Mail directory
72 > mkstemp
73 > "/mnt/network/home/paul/Mail/Gimp/cur/.1133608028.9158.nxwHc:2,S.CDg1dQ"
74 > failed: Not a directory
75
76 This one is more insteresting
77
78 You might change your command line to include another -v and an STDERR
79 outlet to file like this:
80
81 rsync -Cavv --delete --progress --exclude '*tmp*' --exclude
82 '*Trash*' /usr /mnt/network 2>er.log
83
84 That will kind of help see the errors seperated from general output.
85 Inspect both tty output and contents of file er.log
86
87 I kind of doubt if the extra -v will show much more about this error.
88 It is a puzzler to me too.
89
90
91
92 --
93 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: Rsync backup problem2 Harry Putnam <reader@×××××××.com>
Re: [gentoo-user] Re: Rsync backup problem2 Paul Stear <gentoo@××××××××××××.com>