Displaying 20 results from an estimated 500 matches similar to: "[BUG] Reflinking fails for files >2GB on 32-bit platform"
2012 Feb 13
1
Cross-subvolume reflink copy (BTRFS_IOC_CLONE over subvolume boundaries)
It''s been nearly a year since the patches needed to implement a reflinked copy
between subvolumes have been posted
(http://permalink.gmane.org/gmane.comp.file-systems.btrfs/9865 ) and I still
get "Invalid cross-device link" error with Linux 3.2.4 while I try to do a cp
--reflink between subvolumes.
This is a *very* useful feature to have (think offline file-level
2013 Sep 27
6
[Bug 10170] New: rsync should support reflink similar to cp --reflink
https://bugzilla.samba.org/show_bug.cgi?id=10170
Summary: rsync should support reflink similar to cp --reflink
Product: rsync
Version: 3.1.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: samba at shubin.ca
2010 Jul 20
4
File cloning across subvolumes with BTRFS_IOC_CLONE ioctl
It seems that the BTRFS_IOC_CLONE ioctl fails when trying to do a
cross-subvolume clone of a file. Chris Mason suggested in the past ([1])
that this should be possible. Am I missing something?
[1] http://kerneltrap.org/mailarchive/linux-btrfs/2010/6/10/6884911
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to
2013 Oct 16
0
[BUG] Reflinking fails for files >2GB on 32-bit platform [SOLVED -> NO BUG]
Please ignore the previous post.
I have to correct myself, this is not a btrfs issue. In fact, the wrong (non 64 bit) calls have been used in the test program.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
2018 Mar 14
2
rsync of a reflink from OCFS2
Hi,
i have some virtual machines running on logical volumes formatted with OCFS2. I'd like to snapshot the running guests
to backup them easily afterwards. The files of the guests are big (100 - 300GB), but the content changes only slowly.
So i thought that rsync would be a great benefit because it justs transfers the difference between the current file and
the one backuped one day before. I
2013 Aug 24
4
check for reflink capability and for shared data
Hi,
how can I do the following in a shell script:
- check whether my file system supports cp --reflink?
- check whether two files share the same data on disk, i.e. one has been
created by cp --reflink of the other?
Thank you!
Thomas Koch
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info
2009 Nov 26
1
Ask for backport reflink feature of the ocfs2 to the sles11
Hellow, everyone
I'm from HuaWei, China. We are looking for the candidate of virtualization platform among several vendors. Learned from Oracle people, the latest version of ocfs2 has integrated reflink feature which was commited to the the linux 2.6.32 kernel. But as we know, the sles11 integrated the linux 2.6.27 kernle, so the relink feature is not avaiable on the sles11 platform.
We
2010 Apr 21
2
[PATCH] ocfs2: Update VFS inode's id info after reflink.
In reflink we update the id info in the disk but forget to update
the corresponding information in the VFS inode. So update them
accordingly in case we want to preserve the attributes.
Reported-by: Jeff Liu <jeff.liu at oracle.com>
Signed-off-by: Tao Ma <tao.ma at oracle.com>
---
fs/ocfs2/refcounttree.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git
2012 Feb 29
0
Copy and remove performance impacted by COW reflink rewrite (2)
Hi All,
(retrying to post again - somehow message got blocked)
I am running 3.2.7-1.fc16.x86_64 (latest FC 16 kernel)
I posted regarding this problem earlier, but after some research and
found improvement with new kernel version. so I decided to repost in
a new thread to clean things up...
The intention of this post is to hopefully be useful and point out
some performance numbers that devs can
2010 Dec 14
0
[PATCH] BTRFS_IOC_TREE_SEARCH: store and use the last key found
Hi all,
following the thread about the BTRFS_IOC_TREE_SEARCH ioctl [1], I made a patch
which try to address the problem of restarting the ioctl.
In the current solution is the application during the restart of the search to
fill the min_* fields in the "struct btrfs_ioctl_search_key". In general the
values set are the last one returned "+1". But doing so we reduce the
2010 Jul 26
6
[PATCH] Btrfs: compressed file size ioctl
Returns a file''s size on disk. Had been posted by Chris Ball over a year ago
(http://article.gmane.org/gmane.comp.file-systems.btrfs/2873). Chris Mason
suggested a couple of improvements back then, which I have implemented in
this version:
- use u64 to return the result
- replaced the loop
while (1) {
struct btrfs_ordered_extent *ordered;
2013 Jul 01
1
[PATCH v2] xfstests: btrfs/316: cross-subvolume sparse copy
This testscript creates reflinks to files on different subvolumes,
overwrites the original files and reflinks, and moves reflinked files
between subvolumes.
Originally submitted as testcase 302, changes are made based on comments
from Eric: http://oss.sgi.com/archives/xfs/2013-03/msg00231.html
Two new common/rc functions used in this script (_require_cp_reflink and
_verify_reflink) have been
2009 Dec 13
4
cp --reflink with Btrfs
I am testing a Btrfs root file system with Debian (kernel 2.6.32) under KVM.
jason@vrtl:~$ touch testfile
jason@vrtl:~$ cp --reflink testfile /tmp
cp: failed to clone `/tmp/testfile'': Invalid argument
This is with GNU Coreutils 8.0 taken from debian Sid.
Is this a Coreutils issue, a Btrfs problem or something in my local
configuration?
All the other issues that I have encountered so
2012 Jun 20
8
[PATCH] Allow cross subvolume reflinks (2nd attempt)
Hello,
This is the second attempt to bring in cross subvolume reflinks into btrfs.
The first attempt was NAKed due to missing vfs mount checks and a clear
description of what btrfs subvolumes are and probably also why cross
subvolume reflinks are ok in the case of btrfs. This version of the patch
comes from David and is in SUSE kernels since a long time, so it is tested
and working. The patch
2024 Feb 15
1
tests for clone-dest
WayneD's clone-dest patch seems to be working for me, it's available here:
https://github.com/WayneD/rsync-patches/blob/master/clone-dest.diff
I've written some very basic tests, which I've attached to this email, in
case they are of use to anyone else. They're also available here:
https://github.com/josephmaher/rsync
Notes:
Tests need to be run as root.
2013 Jul 02
6
[PATCH v3] xfstests: btrfs/316: cross-subvolume sparse copy
This testscript creates reflinks to files on different subvolumes, overwrites the original files and reflinks, and moves reflinked files between subvolumes.
Originally submitted as testcase 302, changes are made based on comments from Eric: http://oss.sgi.com/archives/xfs/2013-03/msg00231.html
Two new common/rc functions used in this script (_require_cp_reflink and _verify_reflink) have been
2016 Oct 27
2
Samba and BTRFS server-side copy
On Thu, 27 Oct 2016 15:39:27 -0700, Jeremy Allison <jra at samba.org>
wrote :
> On Fri, Oct 28, 2016 at 12:08:50AM +0200, Saint Germain via samba
> wrote:
> > On Thu, 27 Oct 2016 14:50:48 -0700, Jeremy Allison <jra at samba.org>
> > wrote :
> > >
> > > Server-side copy can be requested using smbclient, using
> > > the "scopy"
2014 Apr 23
0
[PATCH 001/001] btrfs: Mechanism to modify the permission of a subvolume
From: Ajesh JS <ajesh.js@hp.com>
This patch provides a mechanism to modify the permission of a subvolume in a btrfs file system
This helps to apply a policy of having read-write subvolume inside a read-only subvolume.
One use case is to have the whole root file system as a read-only subvolume and have /etc as a read-write subvolume inside.
Signed-off-by: Ajesh JS <ajesh.js@hp.com>
2016 Oct 27
0
Samba and BTRFS server-side copy
On Fri, Oct 28, 2016 at 01:00:24AM +0200, Saint Germain via samba wrote:
>
> On Thu, 27 Oct 2016 15:39:27 -0700, Jeremy Allison <jra at samba.org>
> wrote :
>
> > On Fri, Oct 28, 2016 at 12:08:50AM +0200, Saint Germain via samba
> > wrote:
> > > On Thu, 27 Oct 2016 14:50:48 -0700, Jeremy Allison <jra at samba.org>
> > > wrote :
> > >
2009 Jun 13
1
[PATCH 1/3] Add ioctl to set per file 'compress' flag
An ioctl is needed to set compress flag (i.e. clear
BTRFS_INODE_NOCOMPRESS flag) on per file basis. This patch adds that.
Introduces a generic function to be used by subsequent patches.
Signed-off-by: Amit Gud <gud@ksu.edu>
Index: newformat2/fs/btrfs/ioctl.c
===================================================================
--- newformat2.orig/fs/btrfs/ioctl.c
+++