search for: reflink

Displaying 20 results from an estimated 72 matches for "reflink".

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....
2009 May 03
6
[RFC] The reflink(2) system call.
Hi everyone, I described the reflink operation at the Linux Storage & Filesystems Workshop last month. Originally implemented as an ocfs2-specific ioctl, the consensus was that it should be a syscall from the get-go. Here's some first-cut patches. For people who have not seen reflink, either at LSF or on the ocfs2 wiki, the...
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 t...
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...
2013 Oct 16
0
[BUG] Reflinking fails for files >2GB on 32-bit platform
I want to make you aware of a possible bug in the reflink handling of btrfs: When I reflink a file larger 2GB (on the same subvol), the reflinking fails. But it works fine for files smaller 2GB in size. I was able to track this down to btrfs with great support of Martin Raiber who created a small demo code: Source: https://urbackup.atlassian.net/secure/...
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 at...
2012 Apr 01
19
cross-subvolume cp --reflink
Glück Auf! I know its been discussed more then ones, but as a user I really would like to see the patch for allowing this in the kernel. Some users tested this patch successfully for weeks or months in 2 or 3 kernel versions since then, true? I''d say by creating a snapshot, it''s nothing else in the end. More then one file or tree sharing the same data on disc, or am I wrong?
2012 Mar 27
13
Create subvolume from a directory?
Hi all, Just a quick question but can''t find an obvious answer. Can I create/convert a existing (btrfs) directory into a subvolume? It would be very helpful when transferring ''partitions'' into btrfs. I found a similar question way back in google, but that site is down now generally. Thanks in advance. -- To unsubscribe from this list: send the line
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...
2013 Nov 22
4
Fwd: [virt-devel] btrfs NOCOW for VM disk images
...QEMU we''re discussing patches that set the NOCOW flag on disk image files. We''re told that this increases btrfs performance greatly since the file system will modify data in-place like ext4/xfs. During testing I found that the NOCOW flag prevents file cloning from working. cp --reflink fails with EINVAL when the source file has the NOCOW flag set. It is not possible to toggle NOCOW back and forth later on since it can only be set when no data has been allocated for the file yet. This leaves us with the choice between performance (NOCOW) and snapshots (default). Both are import...
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 f...
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 heared that the suse people plan to backport the latest ocfs2 into the sles11. Is there any more detaied info...
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 far are known limitations, for exa...
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/refcou...
2016 Oct 27
2
Samba and BTRFS server-side copy
...copy can be requested using smbclient, using > the "scopy" command. > > It's a simple: > > scopy source dest Thanks but I just tested and it doesn't trigger BTRFS_IOC_CLONE_RANGE. The server-side copy is working all right, but the file is not copied through BTRFS reflink (cp --reflink=auto). It is quite noticeable on large file, where it should be nearly instantaneous. My configuration: - client: Debian Stable + smbclient 4.4.6 (coming from Testing) + kernel 4.7 (amd64) - server: Debian Stable + samba 4.2.10 + kernel 4.7 (amd64)
2016 Oct 27
2
Samba and BTRFS server-side copy
...> > > > > > It's a simple: > > > > > > scopy source dest > > > > Thanks but I just tested and it doesn't trigger > > BTRFS_IOC_CLONE_RANGE. The server-side copy is working all right, > > but the file is not copied through BTRFS reflink (cp > > --reflink=auto). It is quite noticeable on large file, where it > > should be nearly instantaneous. > > > > My configuration: > > - client: Debian Stable + smbclient 4.4.6 (coming from Testing) + > > kernel 4.7 (amd64) > > - server: Debian Sta...
2018 Mar 14
2
rsync of a reflink from OCFS2
...n: The file which hosts the disk from the vm is a dynamic one, that means it grows with the need from the guest os, up to a limit. While creating the guest the file is not completely allocated, although "ls -la" shows already the maximum size. The snapshot OCFS2 creates (in Oracle terms a reflink) has immediately after creation also the maximum size. Indeed it allocates at the creation no disk space, and grows with changes in the source file (COW). A reflink shares in the beginning the sectors with the source file. Just to illustrate: ha-idg-1:/cluster/guests/servers_alive # ls -ls total...
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
2012 Feb 29
0
Copy and remove performance impacted by COW reflink rewrite (2)
...ad to clean things up... The intention of this post is to hopefully be useful and point out some performance numbers that devs can use for testing and hopefully get some tips to improve performance of cp and rm. The test: 1. Create a 10GB file A 2. Make 40000 writes of a few bytes each. 3. Make a reflink of A as B. 4. Remove A 5. Iterate steps 2-4 and use new B as A for each iteration. Ideally each iteration would take trivial time and run equally for each test and no or little CPU would be used. I observed increased CPU usage with each cp and rm after every iteration. One of the users pointed ou...
2010 Jan 27
1
Re: cp --reflink with Btrfs
* Sage Weil (sage@newdream.net) [091216 17:55]: > On Wed, 16 Dec 2009, Li Dongyang wrote: > > > Have a look at line 998, ioctl.c, inside btrfs_ioctl_clone(), > > the src->i_size(the size of the testfile created by touch) is just 0, and this > > will cause btrfs_ioctl_clone just return -EINVAL. > > I''m not sure if it makes sense to clone a file which