[Ocfs2-users] reflink status

2011-12-17 Thread richard -rw- weinberger
Hi!

What do I need to use reflinks on OCFS2 1.6?

coreutils 8.4's cp --reflink=always doesn't seem too work.

I found
http://oss.oracle.com/git/?p=jlbec/reflink.git;a=shortlog
and
http://oss.oracle.com/~smushran/reflink-tools/

Both contain a patched and outdated coreutils package.

Are there any plans to merge it upstream?

-- 
Thanks,
//richard

___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users


Re: [Ocfs2-users] reflink status

2011-12-17 Thread Sunil Mushran
First we have to get the new syscall added to the kernel.
The first attempt failed because people overloaded the call with
extraneous stuff. Recently there is another attempt to go back
to the original proposal. Hopefully, next kernel release.

The reflink utility should work. So what it is based on an older
coreutils. It is derived from the hard link (ln) utility.

On 12/17/2011 4:15 AM, richard -rw- weinberger wrote:
 Hi!

 What do I need to use reflinks on OCFS2 1.6?

 coreutils 8.4's cp --reflink=always doesn't seem too work.

 I found
 http://oss.oracle.com/git/?p=jlbec/reflink.git;a=shortlog
 and
 http://oss.oracle.com/~smushran/reflink-tools/

 Both contain a patched and outdated coreutils package.

 Are there any plans to merge it upstream?



___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users


Re: [Ocfs2-users] reflink status

2011-12-17 Thread richard -rw- weinberger
Hi,

On Sat, Dec 17, 2011 at 8:52 PM, Sunil Mushran sunil.mush...@oracle.com wrote:
 First we have to get the new syscall added to the kernel.
 The first attempt failed because people overloaded the call with
 extraneous stuff. Recently there is another attempt to go back
 to the original proposal. Hopefully, next kernel release.

Good to know!

 The reflink utility should work. So what it is based on an older
 coreutils. It is derived from the hard link (ln) utility.

So, building it from http://oss.oracle.com/git/?p=jlbec/reflink.git;a=shortlog
via reflink.spec is the way to go?

-- 
Thanks,
//richard

___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users


Re: [Ocfs2-users] reflink status

2011-12-17 Thread Sunil Mushran
On 12/17/2011 12:05 PM, richard -rw- weinberger wrote:
 The reflink utility should work. So what it is based on an older
 coreutils. It is derived from the hard link (ln) utility.
 So, building it from http://oss.oracle.com/git/?p=jlbec/reflink.git;a=shortlog
 via reflink.spec is the way to go?


For now, yes.

___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users


Re: [Ocfs2-users] reflink status

2011-12-17 Thread richard -rw- weinberger
On Sat, Dec 17, 2011 at 9:11 PM, Sunil Mushran sunil.mush...@oracle.com wrote:
 On 12/17/2011 12:05 PM, richard -rw- weinberger wrote:

 The reflink utility should work. So what it is based on an older
 coreutils. It is derived from the hard link (ln) utility.

 So, building it from
 http://oss.oracle.com/git/?p=jlbec/reflink.git;a=shortlog
 via reflink.spec is the way to go?


 For now, yes.

Okay. Can you please fix the spec file?
It's broken.

---
--- reflink.spec2011-12-17 13:58:17.571010568 +0100
+++ ../rpmbuild/SPECS/reflink.spec  2011-12-17 13:59:26.538354534 +0100
@@ -14,14 +14,14 @@
 Release: 1
 License: GPL
 Group: System Environment/Kernel
-Source: reflink-%{PACKAGE_VERSION}.tar.gz
+Source: reflink-%{version}.tar.gz
 URL: http://oss.oracle.com/git/?p=jlbec/reflink.git;a=summary
 Distribution: Oracle
 Vendor: Oracle
 Packager: nobody nob...@oracle.com
 Exclusiveos: Linux

-BuildRoot: %{_tmppath}/reflink-%{PACKAGE_VERSION}-%{PACKAGE_RELEASE}-root
+BuildRoot: %{_tmppath}/reflink-%{version}-%{release}-root

 %description
 The reflink tool creates a reflink on an ocfs2 filesystem.

-- 
Thanks,
//richard

___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users