similar to: Can rsync assume that the destination directory is empty ?

Displaying 20 results from an estimated 4000 matches similar to: "Can rsync assume that the destination directory is empty ?"

2016 Jun 09
2
Can rsync assume that the destination directory is empty ?
Actually, don't do --ignore-times. Even if it did prevent the stat calls it would also tell rsync to not care about matching files in the --link-dest dir which would be very bad. On 06/09/2016 06:27 AM, Kevin Korb wrote: > There isn't an option for that and it isn't actually required that the > target directory be empty (just a good idea). Plus it has to do the > stat calls
2016 Jun 09
0
Can rsync assume that the destination directory is empty ?
There isn't an option for that and it isn't actually required that the target directory be empty (just a good idea). Plus it has to do the stat calls on the other end anyway so I doubt there would be much performance benefit. Maybe --ignore-times would cause it to not look but I kinda doubt it and I am too tired to do an strace right now ;) On 06/09/2016 05:32 AM, Arnaud Aujon
2016 Jun 09
0
Can rsync assume that the destination directory is empty ?
Thanks for your answer, I ran some more test and it show that the lstat calls are only responsible for 3.7 % of the total time. So we could avoid about a third of them (the errors numbers), which will be about 1%, not very interesting :) % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 3.74 1.792339
2006 Nov 06
3
Lstat & Dovecot
I am chasing a problem with dovecot generating an error: lstat(/var/spool/virtual_mailboxes/[domain dir]/[user dir]/Maildir/cur) failed: Permission denied I first tried making the directory world readable, same error. Them tried to lstat [the path] at the console and receive the error: lstat: command not found I have a manpage on lstat, but no file. "Yum provides" showed the
2014 Nov 19
2
New mailserver problems
Well, in part we will see if you get this and I get the return. I JUST launched my new mail server after a few miscues. Actually the OS is Redsleeve6, which is the arm port of Centos 6, and perhaps some of my problems may come down to porting problems. But first, it may be that despite my testing, I missed something in the configurations. First clamd problems: Nov 19 08:09:54 z9m9z
2020 Aug 26
2
[supermin PATCH] rpm: check for SQLite-based RPM DB
Fedora 33 switched the DB of RPM to SQLite, so no more Packages/Name/etc files. Because any missing file exception is ignored when checking for --if-newer, the lack of the Package files was not properly noticed, so the appliance was always considered out out date. Check for the SQLite-based DB first, falling back to the old format. Signed-off-by: Pino Toscano <ptoscano@redhat.com> ---
2010 Aug 13
26
DO NOT REPLY [Bug 7618] New: symlinks and --link-dest
https://bugzilla.samba.org/show_bug.cgi?id=7618 Summary: symlinks and --link-dest Product: rsync Version: 3.0.7 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned at samba.org ReportedBy: the_majkl at seznam.cz QAContact:
2017 Sep 14
5
Confusing lstat() performance
Hi, I have a gluster 3.10 volume with a dir with ~1 million small files in them, say mounted at /mnt/dir with FUSE, and I'm observing something weird: When I list and stat them all using rsync, then the lstat() calls that rsync does are incredibly fast (23 microseconds per call on average, definitely faster than a network roundtrip between my 3-machine bricks connected via Ethernet). But
2013 Nov 08
1
[PATCH 2/3] syscalls: Add syscalls needed by arm64
On 11/08/2013 09:12 AM, Steve Capper wrote: > diff --git a/usr/klibc/lstat.c b/usr/klibc/lstat.c > new file mode 100644 > index 0000000..0282eec > --- /dev/null > +++ b/usr/klibc/lstat.c > @@ -0,0 +1,17 @@ > +#include <fcntl.h> > +#include <unistd.h> > +#include <sys/types.h> > +#include <sys/stat.h> > +#include <sys/syscall.h> > +
2020 Aug 27
1
Re: [supermin PATCH] rpm: check for SQLite-based RPM DB
On Wednesday, 26 August 2020 21:15:36 CEST Richard W.M. Jones wrote: > On Wed, Aug 26, 2020 at 06:57:43PM +0200, Pino Toscano wrote: > > Fedora 33 switched the DB of RPM to SQLite, so no more Packages/Name/etc > > files. Because any missing file exception is ignored when checking for > > --if-newer, the lack of the Package files was not properly noticed, so > > the
2016 Oct 12
5
rsync: connection unexpectedly closed
On Wed, 2016-10-12 at 13:30 +1300, Henri Shustak wrote: > Have you tried performing a copy to a known good local device?  If a > local copy fails, then I would start checking the file system of the > source and also the hardware of that system. That's a good idea. I just tried that and it copied no problem. -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail
2016 Mar 09
4
mkdir-dup test flapping
We looked at this some more, and Andrew seemed to understand and wrote the attached patch. > > We got the logs by forcing smbd to run with -d10 by patching > file_server/fileserver.c. The issue appears to be in this call: 3638 /* Ensure there was no race condition. */ 3639 if (!check_same_stat(&smb_dname->st, &fsp->fsp_name->st)) { 3640
2017 Dec 05
1
Slow seek times on stat calls to glusterfs metadata
Hi all, I have a distributed / replicated pool consisting of 2 boxes, with 3 bricks a piece. Each brick is mounted via a RAID 6 array consisting of 11 6 TB disks. I'm running CentOS 7 with XFS and LVM. The 150 TB pool is loaded with about 15 TB of data. Clients are connected via FUSE. I'm using glusterfs 3.12.1. I've found that running large rsyncs to populate the pool are taking a
2002 Oct 12
2
Can't make a shadow direcory
Hi, I'm trying to make a shadow directory, and followed the instructions out of the Wine manual, but it doesn't work. I should do this: ~>cd / />mkdir c_shadow />cd c_shadow /c_shadow>ln -s /c_/* . /c_shadow>rm windows AnApp /c_shadow>cp -R /c_/{windows,AnApp} . /c_shadow>chmod -R 777 windows AnApp /c_shadow>perl -p -i -e 's|/c$|/c_shadow|g'
2018 Feb 04
2
Very slow rsync to gluster volume UNLESS `ls` or `find` scan dir on gluster volume first
An update, and a very interesting one! After I started stracing rsync, all I could see was lstat calls, quite slow ones, over and over, which is expected. For example: lstat("uploads/2016/10/nexus2cee_DSC05339_thumb-161x107.jpg", {st_mode=S_IFREG|0664, st_size=4043, ...}) = 0 I googled around and found https://gist.github.com/nh2/1836415489e2132cf85ed3832105fcc1, which is seeing this
2013 Nov 08
1
[PATCH 3/3] arm64: Introduce arm64 support
On 11/08/2013 09:12 AM, Steve Capper wrote: > -<!ppc64> int stat64,stat::stat(const char *, struct stat *); > -<!ppc64> int lstat64,lstat::lstat(const char *, struct stat *); > +<!arm64,ppc64> int stat64,stat::stat(const char *, struct stat *); > +<!arm64,ppc64> int lstat64,lstat::lstat(const char *, struct stat *); This should have been part of the previous
2014 Mar 08
9
supermin and dpkg-divert
While trying to run libguestfs tests after building with "--enable-appliance --with-supermin-extra-options=--use-installed", I ran into a peculiar error message in the c-api test: ,---- | libguestfs: error: strings: /abssymlink: strings: error while loading | shared libraries: libbfd-2.24-multiarch.so: cannot open shared object | file: No such file or directory `---- The problem here
2017 Jan 09
2
Trouble removing files in chrooted sftp
Hi, I have trouble setting up chrooted SFTP for our user. I got the basic SFTP chroot working, user is chrooted to its home directory, I've added /home/userb/etc directory with dummy passwd, group and localtime files. The problem is that instead of only accessing its own files, I need the user to be able to remove another users files. I have web application which runs as different user, the
2017 Sep 06
2
Disallow some sftp commands
Hello, Couple of days ago, I received a request from a customer. He wants to provide sftp users access to a directory tree containing files. The users must have full rights, but he also wants to avoid moving or deleting directories. This is mostly to prevent mistakenly drag and drop from user's graphical client (Filezilla). Said differently, he wants to protect the directories organization.
2010 Feb 25
2
error using pvcm() on unbalanced panel data
Dear all I am trying to fit Variable Coefficients Models on Unbalanced Panel Data. I managed to fit such models on balanced panel data (the example from the "plm" vignette), but I failed to do so on my real, unbalanced panel data. I can reproduce the error on a modified example from the vignette: > require(plm) > data("Hedonic") > Hed <- pvcm(mv ~ crim + zn + indus