similar to: Preventing an atomic copy

Displaying 20 results from an estimated 20000 matches similar to: "Preventing an atomic copy"

2008 Dec 05
0
rsync patch to allow content from one device file to be synced to another device file
I noticed that this topic appeared from time to time on the mailing list and that one patch exists (copy-devices.diff) from a previous thread which allowed rsync to operate with a source device file. The patch below, when combined with the 'copy-devices' patch, allows rsync to be operate between two device files. In our environment this is being used, along with LVM snapshots, to
2013 May 21
2
rsync behavior on copy-on-write filesystems
I have been doing some experiments with rsync on btrfs, a copy-on-write file system that is approaching or having just achieved production-ready status depending on your requirements. For my purposes the reliability appears by almost all accounts to be there, and the compression alone makes it very compelling. However the following two experiments show rsync behaviors that are disappointing to
2007 Oct 28
2
DO NOT REPLY [Bug 5051] New: --copy-dest copies should use a temporary file unless --inplace
https://bugzilla.samba.org/show_bug.cgi?id=5051 Summary: --copy-dest copies should use a temporary file unless -- inplace Product: rsync Version: 3.0.0 Platform: x86 OS/Version: Linux Status: NEW Severity: minor Priority: P3 Component: core AssignedTo: wayned@samba.org
2007 Dec 10
1
What is happening here - rsync can't copy where cp can, Input/Output errors
I am using rsync version 2.6.9 protocol version 29 on a Fedora 7 system to backup files to a network drive. rsync is getting I/O errors when copying maildir files (I'm not sure if the error is happening with other files but these are the only ones I have found so far). I have done some tests on one particular directory, "cp -R" succeeds but "rsync -r" fails:- home#
2013 Oct 06
1
Rsync copies more than the changes
I use rsync on an SSD which is slow at writing, but very fast at reading, so it is important to me to avoid writing data. I had hoped rsync would only write changes in files when using --inplace, but it seems not: # Make a 1 GB file $ perl -e 'print "x"x1000000000' > 1g # rsync it (as expected this costs 1 GB writes) $ ./rsync-3.1.0/rsync --progress --inplace -cva 1g 1g.copy
2015 Dec 26
1
[Bug 11651] New: Can we allow --inplace and --sparse to coexist when --whole-file is in play?
https://bugzilla.samba.org/show_bug.cgi?id=11651 Bug ID: 11651 Summary: Can we allow --inplace and --sparse to coexist when --whole-file is in play? Product: rsync Version: 3.1.2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 Component: core
2007 Dec 04
2
backup / compressed copy
Hi, I think about buying a NAS-server from Sun. To backup this server I want to use our central to-tape backup. For whatever reason ppl are asking me to make one compressed copy to disk and only backup this copy. So to reduce load I'd like to have a script that: identifies changed files only (using md5?) copies them and compresses them storeBackup.pl does something similar, but keeps
2006 Feb 28
1
scp and SGI DMF
Hello, For some time now, our users have been encountering a problem when using scp to overwrite files on our mass-storage system, which uses SGI's DMF product. I don't have any data as to whether or not any other HSMs would be similarly affected. The scenario is that a user is overwriting a file (via scp) that has previously been migrated to tape. The scp opens the file for writing, but
2004 Apr 27
1
[PATCH] Inplace option for rsync
Hi, I have written a 'smallish' patch to implement the --inplace option as discussed on this mailing list at various points in the past. It makes a small modification to the sender algorithm so that it won't ask the receiver to relocate blocks from earlier in the file when running with the --inplace option. I would appreciate any testing and feedback people can provide! I
2014 Dec 14
0
rsync not copy all information for font file
Hi Ram, In OS X, some font types (not all) put the font payload in the resource fork. Netatalk provides AFP filesharing, imitating the resource forks by creating secondary files in ?.Appledouble? folders within each folder. Netatalk tracks the resource forks, and other metadata, by keeping a ?Desktop database? at the root of the shared volume ? look for .AppleDesktop, and .AppleDB. You can
2009 Jan 24
2
rsync with --copy-devices patch and device-target with --write-batch doesnt work
Hi List! I want to use rsync to create differential backups of my lvm-snapshots. fullbackup-filename: /mnt/sdc1/snapshotvergleich/rootbackup1.img current snapshot: /dev/vg0/rootbackup note: compiled-in --copy-devices-patch root@xp8main3:/usr/local/src/rsync# ./rsync --version rsync version 3.1.0dev protocol version 31.PR5 Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and
2008 May 19
1
DO NOT REPLY [Bug 5474] New: extended attributes only copy if ACLs are copied on a Mac
https://bugzilla.samba.org/show_bug.cgi?id=5474 Summary: extended attributes only copy if ACLs are copied on a Mac Product: rsync Version: 3.0.3 Platform: x86 OS/Version: Other Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org
2008 Sep 17
0
corrupt copy a 10GB file with sparse option
Hi, Filesystem is a XFS. The source file isn't a sparse file, but have big chunks of \0's. $ ls -lh probeta.vdi -rw------- 1 djgera djgera 11G 2008-09-14 02:47 probeta.vdi $ ls -l probeta.vdi -rw------- 1 djgera djgera 10737459712 2008-09-14 02:47 probeta.vdi $ du -h probeta.vdi 11G probeta.vdi when copy with $ rsync -aSv --progress probeta.vdi test-sparse.vdi sending incremental
2007 Dec 14
0
Rsync lets user corrupt dest by applying non-inplace batch in inplace mode
Wayne, I noticed that rsync will let me apply a non-inplace batch file in inplace mode. This corrupts the destination file if the batch file copies any data forward (from earlier offsets to later ones). Of course, the post-transfer checksum detects the corruption and gives the "ERROR: <file> failed verification" message, but rsync doesn't give the user a clue why the
2019 Jun 26
2
Allow "--in-place" as an alternative option name for "--inplace"
Hi! As I commonly spell --inplace as --in-place, I'd like to suggest this simple patch: commit 5689f99b702788044a45e13582559832cf986328 Author: Jan-Benedict Glaw <jbglaw at lug-owl.de> Date: Wed Jun 26 22:49:31 2019 +0200 Allow "--in-place" as an alternative option name for "--inplace". diff --git a/options.c b/options.c index e5b0cb68..7ff0c51d 100644 ---
2008 Jan 14
7
DO NOT REPLY [Bug 5201] New: Rsync lets user corrupt dest by applying non-inplace batch in inplace mode
https://bugzilla.samba.org/show_bug.cgi?id=5201 Summary: Rsync lets user corrupt dest by applying non-inplace batch in inplace mode Product: rsync Version: 3.0.0 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo:
2007 Jul 30
2
DO NOT REPLY [Bug 4834] New: --inplace with --backup --backup-dir does not work
https://bugzilla.samba.org/show_bug.cgi?id=4834 Summary: --inplace with --backup --backup-dir does not work Product: rsync Version: 2.6.9 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: joost@seat-ibiza.nl
2001 Jan 22
1
How to copy encoded channels?
Hi, Having worked on a 4 channel encode/decode system, which works just fine (using 4 channel audio on SGI systems). I now would like to think a little further about how 'n' channel encodes may be used for network collaboration in music. Let's imagine a 16 channel codec, and let's say we are working in a simple stereo in/out environment (i.e. like most consumer devices out
2006 Jun 20
0
inplace assignment: solution
I worked this out over the weekend. I appreciate that using temporary variables would be simpler but I think this makes for quite readable code: # in RProfile.site inplace <- function (f, arg=1) eval.parent(call("<-",substitute(f)[[arg+1]], f),2) # examples in code inplace(foo[bar,baz] *2) # or inplace(paste(foo[bar,baz], 1:10)) # or inplace(sub("blah",
2014 Dec 26
0
--link-dest --inplace updates files without unlinking. What to do?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --inplace and --append-verify are essentially irrelevant when - --link-dest is in play. With --link-dest in play the target system must write an entirely new file even for a change in permissions or timestamps so any potential benefit by these options are out the window from the start. The only thing they can do is add the possibility of