Jason White wrote: > Package: coreutils > Version: 8.0-2 > > ja...@vrtl:~$ touch testfile > ja...@vrtl:~$ cp --reflink testfile testfile2 > cp: failed to clone `testfile2': Invalid argument > > I am running kernel 2.6.32 with a Btrfs root file system under KVM, x86-64 > architecture. > > It was suggested on the Btrfs mailing list that I test file cloning by running > the bcp demonstration script provided as part of btrfs-progs (available from > a Btrfs Git repository). In my test, bcp was able to clone a file, > suggesting that this may be a Coreutils bug rather than a kernel issue.
Thanks for the report. Can you rerun that via strace and send the log at least to the bug-coreutils list (Cc'd)? strace -o log cp --reflink testfile testfile2 Even better, can you do that using stock upstream coreutils-8.2, assuming it still fails? ftp://ftp.gnu.org/gnu/coreutils/coreutils-8.2.tar.xz ftp://ftp.gnu.org/gnu/coreutils/coreutils-8.2.tar.gz -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org