Hi, For over two years I am experiencing the same problem when hardlinking large amounts of data. However, on my servers it is /not/ reproducible. The error occurs in an automated process and concerns different files every time. Furthermore, it does not occur every day.
> cp: cannot create hard link > `/backups/HIS/history//2009-04-13_13h00m01s/xxx/xxx/berichten/xxx/klaar/24681' > to > `/backups/HIS/history//2009-04-13_13h00m01s/xxx/xxx/berichten/xxx/klaar/24681': > No such file or directory According to the error message, cp tries to hard link a file right over itself. This is unexpected, especially since cp was called like this: > cp -lar /backups/HIS/latest/* /backups/HIS/history/2009-04-13_13h00m01s/ Needless to say, the file does not exists in the destination directory: > # ls -la > /backups/HIS/history/2009-04-13_13h00m01s/xxx/xxx/berichten/xxx/klaar/24681 > ls: cannot access > /backups/HIS/history/2009-04-13_13h00m01s/xxx/xxx/berichten/xxx/klaar/24681: > No such file or directory At the time of creating the hardlinked copy, the server was idle. So I don't think we're dealing with some kind of race condition. As you might expect, this file is being hardlinked again the next day: > cp -lar /backups/HIS/latest /backups/HIS/history/2009-04-13_13h00m01s Which works like a charm: > # ls -la > /backups/HIS/history/2009-04-14_13h00m01s/xxx/xxx/berichten/xxx/klaar/24681 > -rw-r--r-- 17 rsync nogroup 1110 2009-03-25 11:51 > /backups/HIS/history/2009-04-14_13h00m01s/xxx/xxx/berichten/xxx/klaar/24681 If anyone has seen this problem before (and maybe even solved it), please report it! I'd really appreciate finding a solution for this... -- Bas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org