Package: coreutils
Version: 5.97-5.3
Severity: important

Really funny things happening:

virtual:~# mount | grep /backup
/dev/sdc1 on /backup type ext3 (ro)
127.0.0.1:/backup/vz/104 on /var/lib/vz/root/104/backup type nfs 
(ro,soft,nolock,port=2049,mountport=2049,noudp,tcp,addr=127.0.0.1)
virtual:~# uname -a
Linux virtual 2.6.18+openvz #1 SMP Sun Mar 23 19:15:17 CET 2008 x86_64 
GNU/Linux
mount /backup -o remount,rw; cp -al /backup/vz/104/backup.0 
/backup/vz/104/backup.TEST; mount /backup -o remount,ro
cp: cannot create hard link 
`/backup/vz/104/backup.TEST/scratch/news/articles/fr/comp/developpement/agl/windev/63260'
 
to 
`/backup/vz/104/backup.TEST/scratch/news/articles/fr/comp/developpement/agl/windev/63260':
 
No such file or directory

Yes, that file is missing on the copy.
Thus I can hardlink it by hand:

virtual:~# mount /backup -o remount,rw; cp -al 
/backup/vz/104/backup.0/scratch/news/articles/fr/comp/developpement/agl/windev/63260
 
/backup/vz/104/backup.TEST/scratch/news/articles/fr/comp/developpement/agl/windev/63260;
 
mount /backup -o remount,ro

and this is reproductible *each time*. Note the bizarre error message 
above (hardlinking over itself).

Do it once more:


virtual:~# mount /backup -o remount,rw; cp -al /backup/vz/104/backup.0 
/backup/vz/104/backup.TEST2; mount /backup -o remount,ro
cp: cannot create hard link 
`/backup/vz/104/backup.TEST2/scratch/news/articles/fr/comp/developpement/agl/windev/63260'
 
to 
`/backup/vz/104/backup.TEST2/scratch/news/articles/fr/comp/developpement/agl/windev/63260':
 
No such file or directory

look at the file more carefully:

virtual:~# ls -lai 
/backup/vz/104/backup.0/scratch/news/articles/fr/comp/developpement/agl/windev/63260
14354482 -rw-rw-r-- 9 news news 1877 Jan 21 11:13 
/backup/vz/104/backup.0/scratch/news/articles/fr/comp/developpement/agl/windev/63260

virtual:~# lsattr 
/backup/vz/104/backup.0/scratch/news/articles/fr/comp/developpement/agl/windev/63260
------------------ 
/backup/vz/104/backup.0/scratch/news/articles/fr/comp/developpement/agl/windev/63260

If I remove that file and start the cp -al over to a new destination, 
the error disappears.


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18+openvz
Locale: LANG=C, LC_CTYPE=fr_CH.ISO-8859-1 (charmap=ISO-8859-1)

Versions of packages coreutils depends on:
ii  libacl1                2.2.41-1          Access control list shared library
ii  libc6                  2.3.6.ds1-13etch8 GNU C Library: Shared libraries
ii  libselinux1            1.32-3            SELinux shared libraries

coreutils recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to