Displaying 20 results from an estimated 792 matches for "hardlink".
Did you mean:
hardlinks
2004 Dec 01
1
rsync transfers whole content when a new hardlink is created
Hi,
I detected a silly behaviour of rsync when new hardlinks of already synced
files are created:
Scenario:
There are a local directory and a equal remote directory created by former run
of rsync.
Create a hardlink from a already existing file (both inside the local
directory).
If this hardlink has a filename with comes before the original filename whe...
2012 Apr 15
0
Bug#666024: rsync --link-dest can incorrectly hardlink together destination files
...tached Debian bug report, which includes a helpful
bug-reproducing shell script; I've confirmed this still happens with
3.0.9.
Paul Slootman
On Tue 27 Mar 2012, Ian Jackson wrote:
> Package: rsync
> Version: 3.0.7-2
>
> With rsync --link-dest, if two different source files (not hardlinked
> to each other) are both candidates for being hardlinked from files of
> the same name in the link-dest directory, both of them may be so
> hardlinked. The effect is that on the destination the two files
> become hardlined to each other even though they are not hardlinked
> toget...
2015 Nov 30
4
Questions about hardlinks, alternate storage and compression]
On 30 Nov 2015, at 10:21, Gionatan Danti <g.danti at assyoma.it> wrote:
>
> So, let me do a straigth question: is someone using dovecot/LMTP with hardlinking? To me, this seems a _very_ important feature, and I wonder if I am doing something wrong or if the feature (hardlink+sieve) simply does not exists.
Hardlink+Sieve has never worked. The fix is a bit complicated. Here's my TODO entry about it:
- remove mail_deliver_session after all, do al...
2019 Dec 19
2
Dovecot, pigeonhole and hardlinks
Hi list,
many moons ago I asked about preserving hardlink between identical
messages when pigeonhole (for sieve filtering) was used.
The reply was that, while hardlink worked well for non-filtered
messages, using pigeonhole broke the hardlink (ie: some message-specific
data was appended to the actual mail file). Here you can find the
original thread:...
2002 Mar 28
1
rsync-2.5.5rc1: two problems on Apple Darwin (== MacOS X)
...ame(foo-887)
recv_file_name(foo-75)
received 6 names
recv_file_list done
get_local_name count=6 /local/build/rsync-2.5.5rc1/testtmp.chgrp/to/
mkdir /local/build/rsync-2.5.5rc1/testtmp.chgrp/to/ : No such file or directory (1)
unexpected EOF in read_timeout
----- chgrp log ends
FAIL chgrp
----- hardlinks log follows
+ fromdir=/local/build/rsync-2.5.5rc1/testtmp.hardlinks/from
+ todir=/local/build/rsync-2.5.5rc1/testtmp.hardlinks/to
+ mkdir /local/build/rsync-2.5.5rc1/testtmp.hardlinks/from
+ name1=/local/build/rsync-2.5.5rc1/testtmp.hardlinks/from/name1
+ name2=/local/build/rsync-2.5.5rc1/testtmp....
2013 Aug 02
2
hardlinking and -R (multiple source directories)
Hi,
hardlinking (-H) works perfectly while using a syntax like -avhxSDH <SRC>
<DEST>
Now I have to mirror multiple SRC directories which contain hardlinks. e.
g: src1/a is a hardlink to src2/b
-RavhxSDH SRC1 SRC2 DEST
does not preserve hardlink a and b in DEST. Is there any chance to do that?
Th...
2015 Nov 27
2
[g.danti@assyoma.it: Re: Questions about hardlinks, alternate storage and compression]
...ftware
Hi,
does it means that when you use before_sieve and after_sieve in your
dovecot configuration the hard-linking part works?
I don't need help to upgrade to CentOS 7.x, but before going this route
I would understand if this is how dovecot/pigenhole are expected to work
(don't use hardlinks) or if I misconfigured something.
RedHat / CentOS are a very common base OS, so I wonder if I am the only
one hitting this problem or no.
Thanks.
--
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti at assyoma.it - info at assyoma.it
GPG public key ID: FF5F32A8
2015 Jun 27
2
Questions about hardlinks, alternate storage and compression
Hi all,
I have some questions about hardlinks, alternate storage and
compression. I already scanned the list for related information and I
have an idea of how things works, but I would like to have a definite
answer.
System spec:
- CentOS 6.6 x64
- dovecot-2.0.9-8.el6_6.4.x86_64 RPM package/version
- sdbox mail store
1) About hardlinks:...
2020 Jan 02
3
Dovecot, pigeonhole and hardlinks
Il 23-12-2019 12:04 Gionatan Danti ha scritto:
> On 19/12/19 11:08, Gionatan Danti wrote:
>> Hi list,
>> many moons ago I asked about preserving hardlink between identical
>> messages when pigeonhole (for sieve filtering) was used.
>>
>> The reply was that, while hardlink worked well for non-filtered
>> messages, using pigeonhole broke the hardlink (ie: some
>> message-specific data was appended to the actual mail f...
2015 Jul 13
2
Questions about hardlinks, alternate storage and compression
Hi Javier,
thanks for your reply.
I already checked SIS and, while interesting, is not what I want, because:
1) it can be difficult to restore a single message/attachment from a backup
2) only the attachments, and not the entire messages, are deduped.
Message-based hardlinks really exists for a reason. The good news is
that I found _why_ they are not working: it depends from how dovecot and
its sieve plugin (pigenhole) interact. Basically, if I define anything
for the before_sieve and after_sieve variables, dovecot stops creating
hardlinks for multiple copies of t...
2007 Jan 14
4
feature request, hardlink progress......
I'm copying a partition that has a bunch of hardlink
based snapshots (-aPH). I think there's about
250,000 files in each backup and between 100 and 200
snapshots.
Earlier today, I saw the files had completed and it
was making all the hardlinks. I thought it would be
"not long" but it's been making hardlinks for 12
hours (at least)...
2015 Nov 30
0
Questions about hardlinks, alternate storage and compression]
Hi all,
I have some updates on the hard-link discussion.
First, let me explain that I installed a test machine with CentOS 7.1
and dovecot/pigeonhole version 2.2.10-4 and the results where identical
on what I had on CentOS 6.7 and dovecot 2.0.9-19
The bottom line is that hardlinking works only when no, or at most only
one, RCPT have sieve filtering. For example:
- if no RCPT has sieve filters, hardlink is OK
- if only one RCPT has sieve filters, hardlink is OK
- if two or more RCPTs have sieve filters, hardlink is NOT working.
Some time ago I reported that, when disabling...
2003 Nov 26
2
Test case for hard link failure
The rsync 2.5.6 TODO file mentions the need for hard link test cases.
Here is one in which a linked file is unnecessarily transferred in full.
# Setup initial directories
mkdir src dest
dd if=/dev/zero bs=1024 count=10000 of=src/a 2>/dev/null
rsync -a src/. dest/.
ln src/a src/b
# At this point, a & b exist in src; only a exists in dest.
rsync -aHv src/. dest/.
2013 Mar 28
1
[Bug 9749] New: hardlinkes files are copies instat of make a link
https://bugzilla.samba.org/show_bug.cgi?id=9749
Summary: hardlinkes files are copies instat of make a link
Product: rsync
Version: 3.0.9
Platform: x86
OS/Version: Linux
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy...
2007 Apr 26
1
rsync mirroring and hardlink issues
I'm running a mirror of several repositories that are fetched using
separate rsync runs. Since some of those repositories are hosting
related files, I'm using the hardlink utility[1] in order to save disk
space.
However, I've noticed an issue that may lead to potential file metadata
inconsistencies when using hardlink.
Consider the following scenario:
- two repositories (rep_a and rep_b) are mirrored that initially have a
file in common.
- after rsync mirrored...
2016 Feb 08
2
Lots of zero-byte hard link files in cur (and new/tmp), cannot see messages in folder
...r, and they are using maildir.
There are about 24,000 messages in there (non-zero-byte files). This
number sounds about right. All other folders (including INBOX, Sent,
etc) are still working fine.
The problem, though, is there are over 815,000 zero-byte-files in the
cur directory, all showing as hardlinks (looks like maybe a whole bunch
of duplicates for each of the real message files in the cur directory).
There are also 43 non-zero-byte message files in the new directory, and
1,515 of these zero-byte hardlinks (to message files in the new directory).
There are also no non-zero-byte message fil...
2012 Aug 10
1
Serious issue: rsync and hardlinks are dangerous...
...--inplace --delete --delete-excluded
- --stats --progress -v --itemize-changes SOURCE DESTINATION
"""
I detected the following issue when RSYNCing a bunch of Mercurial
repositories. It is very dangerous, because it will corrupt files.
When cloning a local repository, Mercurial uses hardlinks for
performance and disk use. When one of the clones updates a file, the
file is "unlinked" and replaced by a new file, so history can diverge
gracefully.
The problem can be trivially reproduced like this:
1. Create a text file "a.txt" with a bunch of caracters inside.
2. Cr...
2015 Jul 14
3
Questions about hardlinks, alternate storage and compression
On 14/07/15 08:17, Steffen Kaiser wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Mon, 13 Jul 2015, Gionatan Danti wrote:
>
>> On the other hand, private (per-user) sieve file works without
>> interfering with hardlinks. In a similar manner, disabling sieve also
>> permits dovecot to create multiple hardlinks for a single message.
>>
>> Does someone know if newer dovecot versions change anything in this
>> regard?
>
> LMTP adds Delivered-To header, so all delivered messages are uniqu...
2007 Jan 23
1
--link-dest copying modified files
Hi!
It's me again with another --link-dest issue:
I am using dirvish (www.dirvish.org) to create daily backup on disk
images.
dirvish is using rsync with --link-dest pointing to the last good image.
This creates images with hardlinks to unmodified files. So far so good.
Now I want to create a "current" filetree with hardlinks pointing to the
last image.
rsync -vaH --delete --stats --numeric-ids -x --link-dest=/path/to/lastimg /path/to/lastimg /path/to/current
This works except when an existing file has been modifi...
2020 Jul 17
0
[OT] What is the max hardlink number for a single file on XFS
Hi list,
I have a little script that uses rysnc and hardlink to perform backups.
Some days ago a friend told me that rsync could crash if the hardlink
limit is reached. I know (and tested) that for ext4 the max number of
hardlink for a single file is 65000 but I can't get a limit on XFS.
Due to the fact that I can't get good resources from google...