[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#561225: coreutils: cp --reflink fails with Btrfs file system
From: |
Jim Meyering |
Subject: |
Re: Bug#561225: coreutils: cp --reflink fails with Btrfs file system |
Date: |
Tue, 15 Dec 2009 14:00:01 +0100 |
Jason White wrote:
> Package: coreutils
> Version: 8.0-2
>
> address@hidden:~$ touch testfile
> address@hidden:~$ 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
- Re: Bug#561225: coreutils: cp --reflink fails with Btrfs file system,
Jim Meyering <=