Skip to content
This repository was archived by the owner on Feb 26, 2020. It is now read-only.
This repository was archived by the owner on Feb 26, 2020. It is now read-only.

rsync resync already synced files  #71

@grimlokason

Description

@grimlokason

Hello,

I'm encountering an issue with rsync.

Context

  • svfs version : 0.6.3
  • storage provider : Hubic/ default container
  • product : hubic

Steps to reproduce this issue :

  1. Sync the folder /mnt/ with hubic linux application & kill the application once done
  2. mount.svfs hubic /mnt/hubic2 -o hubic_auth=***,hubic_token=***,container=default,extra_attr=true,debug=true

3.Rsync one of the folder in /mnt (here, /mnt/mp3 ) to the folder in the mount point (here, /mnt/hubic2/mp3 )
Commande used : rsync -rtW --bwlimit=50 --inplace --progress --delete /mnt/mp3/ /mnt/hubic2/mp3/

Results you expected :

Sync only new file on the source.

Results you observed :

Resync everything.
Below in the log. some files under "/mnt/mp3/Dossier maison" which were already synced with Hubic application.

Debug log :

Dossier maison/work/grande maison/pdf/Maison 01- Annexes - Servitudes.pdf
         32,768   6%   50.08kB/s    0:00:09  
2016/06/07 23:47:44 FUSE: <- Write [ID=0x12df Node=0x3e Uid=0 Gid=0 Pid=31940] 0x1 130592 @2097152 fl=WriteLockOwner lock=13395936597978780243 ffl=OpenWriteOnly
2016/06/07 23:47:44 FUSE: -> [ID=0x12df] Write 130592
2016/06/07 23:47:44 FUSE: <- Write [ID=0x12e0 Node=0x3e Uid=0 Gid=0 Pid=31940] 0x1 1676 @2227744 fl=WriteLockOwner lock=13395936597978780243 ffl=OpenWriteOnly
         65,536  12%   49.08kB/s    0:00:09
 2016/06/07 23:47:44 FUSE: -> [ID=0x12e0] Write 1676
2016/06/07 23:47:44 FUSE: <- Getxattr [ID=0x12e1 Node=0x3e Uid=0 Gid=0 Pid=31940] "security.capability" 0 @0
2016/06/07 23:47:44 FUSE: -> [ID=0x12e1] Getxattr error=operation not supported
2016/06/07 23:47:44 FUSE: <- Setattr [ID=0x12e2 Node=0x3e Uid=0 Gid=0 Pid=31940] size=2229420 handle=0x1 lockowner
2016/06/07 23:47:44 FUSE: -> [ID=0x12e2] Setattr valid=1m0s ino=12779141155271523807 size=2229420 mode=-rwx------
2016/06/07 23:47:44 FUSE: <- Flush [ID=0x12e3 Node=0x3e Uid=0 Gid=0 Pid=31940] 0x2 fl=0x0 lk=0xb9e7ed5c742e1253
2016/06/07 23:47:44 FUSE: -> [ID=0x12e3] Flush
2016/06/07 23:47:44 FUSE: <- Flush [ID=0x12e5 Node=0x3e Uid=0 Gid=0 Pid=31940] 0x1 fl=0x0 lk=0xb9e7ed5c742e1253
2016/06/07 23:47:44 FUSE: -> [ID=0x12e5] Flush
2016/06/07 23:47:44 FUSE: <- Release [ID=0x12e4 Node=0x3e Uid=0 Gid=0 Pid=0] 0x2 fl=OpenReadOnly rfl=0x2 owner=0x309efb12
2016/06/07 23:47:44 FUSE: -> [ID=0x12e4] Release
2016/06/07 23:47:44 FUSE: <- Release [ID=0x12e6 Node=0x3e Uid=0 Gid=0 Pid=0] 0x1 fl=OpenWriteOnly rfl=0x2 owner=0x765addb9
2016/06/07 23:47:44 FUSE: <- Getattr [ID=0x12e7 Node=0x1c Uid=0 Gid=0 Pid=31940] 0x0 fl=0
2016/06/07 23:47:44 FUSE: -> [ID=0x12e7] Getattr valid=1m0s ino=15692796082419027574 size=4096 mode=drwx------
2016/06/07 23:47:44 FUSE: <- Lookup [ID=0x12e8 Node=0x1c Uid=0 Gid=0 Pid=31940] "Dossier maison"
2016/06/07 23:47:47 FUSE: -> [ID=0x12e6] Release
2016/06/07 23:47:47 FUSE: -> [ID=0x12e8] Lookup 0xb2 gen=1319 valid=1m0s attr={valid=1m0s ino=3829645112550507829 size=4096 mode=drwx------}
2016/06/07 23:47:47 FUSE: <- Lookup [ID=0x12e9 Node=0x1c Uid=0 Gid=0 Pid=31940] "Dossier maison"
2016/06/07 23:47:47 FUSE: -> [ID=0x12e9] Lookup 0xb2 gen=1319 valid=1m0s attr={valid=1m0s ino=3829645112550507829 size=4096 mode=drwx------}
2016/06/07 23:47:47 FUSE: <- Forget [ID=0x12ea Node=0xb2 Uid=0 Gid=0 Pid=0] 1
2016/06/07 23:47:47 FUSE: -> [ID=0x12ea] Forget
2016/06/07 23:47:47 FUSE: <- Lookup [ID=0x12eb Node=0xb2 Uid=0 Gid=0 Pid=31940] "work"
2016/06/07 23:47:47 FUSE: <- Forget [ID=0x12ed Node=0x50 Uid=0 Gid=0 Pid=0] 1
2016/06/07 23:47:47 FUSE: -> [ID=0x12ed] Forget
2016/06/07 23:47:47 FUSE: <- Forget [ID=0x12ec Node=0x3e Uid=0 Gid=0 Pid=0] 1
2016/06/07 23:47:47 FUSE: -> [ID=0x12ec] Forget
2016/06/07 23:47:47 FUSE: <- Forget [ID=0x12ee Node=0x5c Uid=0 Gid=0 Pid=0] 1
2016/06/07 23:47:47 FUSE: -> [ID=0x12ee] Forget
2016/06/07 23:47:47 FUSE: <- Forget [ID=0x12ef Node=0x1cd Uid=0 Gid=0 Pid=0] 1
2016/06/07 23:47:47 FUSE: -> [ID=0x12ef] Forget
2016/06/07 23:47:47 FUSE: <- Forget [ID=0x12f1 Node=0x1ac Uid=0 Gid=0 Pid=0] 1
2016/06/07 23:47:47 FUSE: -> [ID=0x12f1] Forget
2016/06/07 23:47:47 FUSE: <- Forget [ID=0x12f0 Node=0xad Uid=0 Gid=0 Pid=0] 1
2016/06/07 23:47:47 FUSE: -> [ID=0x12f0] Forget
2016/06/07 23:47:47 FUSE: <- Forget [ID=0x12f2 Node=0x1ab Uid=0 Gid=0 Pid=0] 1
2016/06/07 23:47:47 FUSE: -> [ID=0x12f2] Forget
2016/06/07 23:47:50 FUSE: -> [ID=0x12eb] Lookup 0x1ab gen=1320 valid=1m0s attr={valid=1m0s ino=5852907921579740158 size=4096 mode=drwx------}
2016/06/07 23:47:50 FUSE: <- Lookup [ID=0x12f3 Node=0x1ab Uid=0 Gid=0 Pid=31940] "grande maison"
2016/06/07 23:47:50 FUSE: -> [ID=0x12f3] Lookup 0xad gen=1321 valid=1m0s attr={valid=1m0s ino=12378415527306575926 size=4096 mode=drwx------}
2016/06/07 23:47:50 FUSE: <- Lookup [ID=0x12f4 Node=0xad Uid=0 Gid=0 Pid=31940] "pdf"
2016/06/07 23:47:52 FUSE: -> [ID=0x12f4] Lookup 0x1ac gen=1322 valid=1m0s attr={valid=1m0s ino=15580995423387974541 size=4096 mode=drwx------}
2016/06/07 23:47:52 FUSE: <- Lookup [ID=0x12f5 Node=0x1ac Uid=0 Gid=0 Pid=31940] "Maison 01- Annexes - Risques Naturel.pdf"
2016/06/07 23:47:53 FUSE: -> [ID=0x12f5] Lookup 0x1cd gen=1323 valid=1m0s attr={valid=1m0s ino=12779141155271523807 size=2229420 mode=-rwx------}
2016/06/07 23:47:53 FUSE: <- Setattr [ID=0x12f6 Node=0x1cd Uid=0 Gid=0 Pid=31940] atime=2016-06-07 23:47:53.618856384 +0200 CEST atime=now mtime=2015-07-29 23:50:26.131995282 +0200 CEST handle=INVALID-0x0
2016/06/07 23:47:54 FUSE: -> [ID=0x12f6] Setattr valid=1m0s ino=12779141155271523807 size=2229420 mode=-rwx------
2016/06/07 23:47:54 FUSE: <- Lookup [ID=0x12f7 Node=0x1ac Uid=0 Gid=0 Pid=31940] "Maison 01- Annexes - Servitudes.pdf"
2016/06/07 23:47:54 FUSE: -> [ID=0x12f7] Lookup 0x5c gen=1324 valid=1m0s attr={valid=1m0s ino=11666334856350208706 size=517111 mode=-rwx------}
2016/06/07 23:47:54 FUSE: <- Open [ID=0x12f8 Node=0x5c Uid=0 Gid=0 Pid=31940] dir=false fl=OpenReadOnly
2016/06/07 23:47:54 FUSE: -> [ID=0x12f8] Open 0x1 fl=0
2016/06/07 23:47:54 FUSE: <- Open [ID=0x12f9 Node=0x5c Uid=0 Gid=0 Pid=31940] dir=false fl=OpenWriteOnly
2016/06/07 23:47:54 FUSE: -> [ID=0x12f9] Open 0x2 fl=OpenDirectIO+OpenNonSeekable
        262,144  50%   18.75kB/s    0:00:13
2016/06/07 23:47:58 FUSE: <- Write [ID=0x12fa Node=0x5c Uid=0 Gid=0 Pid=31940] 0x2 130592 @0 fl=WriteLockOwner lock=13395936597978780243 ffl=OpenWriteOnly
        327,680  63%   18.79kB/s    0:00:10
2016/06/07 23:47:59 FUSE: -> [ID=0x12fa] Write 130592
2016/06/07 23:47:59 FUSE: <- Write [ID=0x12fb Node=0x5c Uid=0 Gid=0 Pid=31940] 0x2 131072 @130592 fl=WriteLockOwner lock=13395936597978780243 ffl=OpenWriteOnly
2016/06/07 23:48:00 FUSE: -> [ID=0x12fb] Write 131072
2016/06/07 23:48:00 FUSE: <- Write [ID=0x12fc Node=0x5c Uid=0 Gid=0 Pid=31940] 0x2 480 @261664 fl=WriteLockOwner lock=13395936597978780243 ffl=OpenWriteOnly
2016/06/07 23:48:01 FUSE: -> [ID=0x12fc] Write 480
        517,111 100%   24.18kB/s    0:00:20 (xfr#11, ir-chk=1027/1775)
Dossier maison/work/grande maison/pdf/Maison 01- Compromis.pdf
         32,768   0%   60.61kB/s    0:02:13
 2016/06/07 23:48:05 FUSE: <- Write [ID=0x12fd Node=0x5c Uid=0 Gid=0 Pid=31940] 0x2 130592 @262144 fl=WriteLockOwner lock=13395936597978780243 ffl=OpenWriteOnly
         65,536   0%   49.46kB/s    0:02:42
2016/06/07 23:48:05 FUSE: -> [ID=0x12fd] Write 130592
2016/06/07 23:48:05 FUSE: <- Write [ID=0x12fe Node=0x5c Uid=0 Gid=0 Pid=31940] 0x2 124375 @392736 fl=WriteLockOwner lock=13395936597978780243 ffl=OpenWriteOnly
2016/06/07 23:48:07 FUSE: -> [ID=0x12fe] Write 124375
2016/06/07 23:48:07 FUSE: <- Getxattr [ID=0x12ff Node=0x5c Uid=0 Gid=0 Pid=31940] "security.capability" 0 @0
2016/06/07 23:48:07 FUSE: -> [ID=0x12ff] Getxattr error=operation not supported
2016/06/07 23:48:07 FUSE: <- Setattr [ID=0x1300 Node=0x5c Uid=0 Gid=0 Pid=31940] size=517111 handle=0x2 lockowner
2016/06/07 23:48:07 FUSE: -> [ID=0x1300] Setattr valid=1m0s ino=11666334856350208706 size=517111 mode=-rwx------
2016/06/07 23:48:07 FUSE: <- Flush [ID=0x1301 Node=0x5c Uid=0 Gid=0 Pid=31940] 0x1 fl=0x0 lk=0xb9e7ed5c742e1253
2016/06/07 23:48:07 FUSE: -> [ID=0x1301] Flush
2016/06/07 23:48:07 FUSE: <- Flush [ID=0x1303 Node=0x5c Uid=0 Gid=0 Pid=31940] 0x2 fl=0x0 lk=0xb9e7ed5c742e1253
2016/06/07 23:48:07 FUSE: -> [ID=0x1303] Flush
2016/06/07 23:48:07 FUSE: <- Release [ID=0x1302 Node=0x5c Uid=0 Gid=0 Pid=0] 0x1 fl=OpenReadOnly rfl=0x2 owner=0xd288ba14
2016/06/07 23:48:07 FUSE: -> [ID=0x1302] Release
2016/06/07 23:48:07 FUSE: <- Release [ID=0x1304 Node=0x5c Uid=0 Gid=0 Pid=0] 0x2 fl=OpenWriteOnly rfl=0x2 owner=0x36d3e808
2016/06/07 23:48:07 FUSE: <- Setattr [ID=0x1305 Node=0x5c Uid=0 Gid=0 Pid=31940] atime=2016-06-07 23:48:07.171855601 +0200 CEST atime=now mtime=2015-07-29 23:40:20.613020059 +0200 CEST handle=INVALID-0x0
2016/06/07 23:48:08 FUSE: -> [ID=0x1304] Release
2016/06/07 23:48:09 FUSE: -> [ID=0x1305] Setattr valid=1m0s ino=11666334856350208706 size=517111 mode=-rwx------
2016/06/07 23:48:09 FUSE: <- Lookup [ID=0x1306 Node=0x1ac Uid=0 Gid=0 Pid=31940] "Maison 01- Compromis.pdf"
2016/06/07 23:48:09 FUSE: -> [ID=0x1306] Lookup 0x3e gen=1325 valid=1m0s attr={valid=1m0s ino=15604466055060185328 size=8106711 mode=-rwx------}
2016/06/07 23:48:09 FUSE: <- Open [ID=0x1307 Node=0x3e Uid=0 Gid=0 Pid=31940] dir=false fl=OpenReadOnly
2016/06/07 23:48:09 FUSE: -> [ID=0x1307] Open 0x2 fl=0
2016/06/07 23:48:09 FUSE: <- Open [ID=0x1308 Node=0x3e Uid=0 Gid=0 Pid=31940] dir=false fl=OpenWriteOnly
2016/06/07 23:48:09 FUSE: -> [ID=0x1308] Open 0x1 fl=OpenDirectIO+OpenNonSeekable
        262,144   3%   31.74kB/s    0:04:07
2016/06/07 23:48:13 FUSE: <- Write [ID=0x1309 Node=0x3e Uid=0 Gid=0 Pid=31940] 0x1 130592 @0 fl=WriteLockOwner lock=13395936597978780243 ffl=OpenWriteOnly
        327,680   4%   31.79kB/s    0:04:04
2016/06/07 23:48:13 FUSE: -> [ID=0x1309] Write 130592

Additional information :

Regards

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions