Issue 258 in s3fs: rsync timestamp not working on upload

33 views
Skip to first unread message

s3...@googlecode.com

unread,
Feb 22, 2012, 4:48:19 AM2/22/12
to s3fs-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 258 by hillbill...@gmail.com: rsync timestamp not working on
upload
http://code.google.com/p/s3fs/issues/detail?id=258

I've read that rsync should be working with 1.61 but my experience is it
re-uploads everything and always sets the timestamp to the time of upload.

When you reverse the src and dest, and download from s3fs instead of upload
it will retain the timestamp of the s3fs bucket and repeat running of the
command will not re-download the file.

So seems to be problem in only one direction.

This works :

buntu@host:/mnt/default$ sudo rsync -avz
/mnt/bucket/host3-backup/root/boot/defaults/ ./
sending incremental file list
loader.conf

sent 5062 bytes received 31 bytes 10186.00 bytes/sec
total size is 16148 speedup is 3.17
ubuntu@host:/mnt/default$ sudo rsync -avz
/mnt/bucket/host3-backup/root/boot/defaults/ ./
sending incremental file list

sent 50 bytes received 12 bytes 124.00 bytes/sec
total size is 16148 speedup is 260.45
ubuntu@host:/mnt/default$ sudo rsync -avz
/mnt/bucket/host3-backup/root/boot/defaults/ ./
sending incremental file list

sent 50 bytes received 12 bytes 124.00 bytes/sec
total size is 16148 speedup is 260.45

And this doesn't, keeps re-uploading the file, the time stamp always being
from the last update if you check in the AWS console.


ubuntu@host:/mnt/default$ sudo rsync -avz ./
/mnt/bucket/host3-backup/root/boot/defaults/
sending incremental file list
loader.conf

sent 5062 bytes received 31 bytes 3395.33 bytes/sec
total size is 16148 speedup is 3.17
ubuntu@host:/mnt/default$ sudo rsync -avz ./
/mnt/bucket/host3-backup/root/boot/defaults/
sending incremental file list
loader.conf

sent 5062 bytes received 31 bytes 3395.33 bytes/sec
total size is 16148 speedup is 3.17
ubuntu@host:/mnt/default$ ^Cubuntu@ip-10-238-153-191:/mnt/default$ sudo
rsync -avz ./ /mnt/bucket/host3-backup/root/boot/defaults/
sending incremental file list
loader.conf

sent 5062 bytes received 31 bytes 10186.00 bytes/sec
total size is 16148 speedup is 3.17

This is my /etc/fstab line for mounting the s3fs


s3fs#host3-backup /mnt/bucket/host3-backup fuse
allow_other,url=http://s3-eu-west-1.amazonaws.com 0 0


s3...@googlecode.com

unread,
May 29, 2013, 2:41:05 AM5/29/13
to s3fs-...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 258 by ggta...@gmail.com: rsync timestamp not working
on upload
http://code.google.com/p/s3fs/issues/detail?id=258

Hi

Latest version, I use (rev.430), It seems rsync works good with timestamp.
So some bugs about timestamp and connection etc are fixed, please use
latest version(revision).

I closed this issue so version is older, but if you have a problem yet,
please re-post new issue.

Thanks in advance for your help.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages