Re: [ceph-users] move directories in cephfs

2018-12-12 Thread Zhenshi Zhou
Hi Thanks for the explanation. I did a test few moments ago. Everything goes just like what I expect. Thanks for your helps :) Konstantin Shalygin 于2018年12月12日周三 下午4:57写道: > Hi > > Than means, the 'mv' operation should be done if src and dst > are in the same pool, and the client should have

Re: [ceph-users] move directories in cephfs

2018-12-12 Thread Konstantin Shalygin
Hi Than means, the 'mv' operation should be done if src and dst are in the same pool, and the client should have same permission on both src and dst. Do I have the right understanding? Yes. k ___ ceph-users mailing list ceph-users@lists.ceph.com

Re: [ceph-users] move directories in cephfs

2018-12-11 Thread Zhenshi Zhou
rmissions on the > pools. How can I explain a user that if they move files between 2 > specific folders that they should not mv but cp. Now I have to > workaround this buy apply separate mounts. > > > -Original Message- > From: Andras Pataki [mailto:apat...@flatiron

Re: [ceph-users] move directories in cephfs

2018-12-11 Thread Marc Roos
es. Then the data > is not moved(copied), which I think should be done. This should be > changed, because no one will expect a symlink to the old pool. > > > > > -Original Message- > From: Jack [mailto:c...@jack.fr.eu.org] > Sent: 10 December 2018 15:14 > To:

Re: [ceph-users] move directories in cephfs

2018-12-10 Thread Andras Pataki
d, because no one will expect a symlink to the old pool. -Original Message- From: Jack [mailto:c...@jack.fr.eu.org] Sent: 10 December 2018 15:14 To: ceph-users@lists.ceph.com Subject: Re: [ceph-users] move directories in cephfs Having the / mounted somewhere, you can simply "

Re: [ceph-users] move directories in cephfs

2018-12-10 Thread Zhenshi Zhou
k should be done. This should be > changed, because no one will expect a symlink to the old pool. > > > > > -Original Message- > From: Jack [mailto:c...@jack.fr.eu.org] > Sent: 10 December 2018 15:14 > To: ceph-users@lists.ceph.com > Subject: Re: [ceph-users]

Re: [ceph-users] move directories in cephfs

2018-12-10 Thread Marc Roos
2018 15:14 To: ceph-users@lists.ceph.com Subject: Re: [ceph-users] move directories in cephfs Having the / mounted somewhere, you can simply "mv" directories around On 12/10/2018 02:59 PM, Zhenshi Zhou wrote: > Hi, > > Is there a way I can move sub-directories outside the direct

Re: [ceph-users] move directories in cephfs

2018-12-10 Thread Zhenshi Zhou
Hi Jack, That means I simply execute "mv" operation on the client side and modify the auth permission on the server side. Just like a "mv" on normal filesystem, only the metadata(inode) changed? I will give it a try, thanks! :) Jack 于2018年12月10日周一 下午10:14写道: > Having the / mounted somewhere, y

Re: [ceph-users] move directories in cephfs

2018-12-10 Thread Jack
Having the / mounted somewhere, you can simply "mv" directories around On 12/10/2018 02:59 PM, Zhenshi Zhou wrote: > Hi, > > Is there a way I can move sub-directories outside the directory. > For instance, a directory /parent contains 3 sub-directories > /parent/a, /parent/b, /parent/c. All these

[ceph-users] move directories in cephfs

2018-12-10 Thread Zhenshi Zhou
Hi, Is there a way I can move sub-directories outside the directory. For instance, a directory /parent contains 3 sub-directories /parent/a, /parent/b, /parent/c. All these directories have huge data in it. I'm gonna move /parent/b to /b. I don't want to copy the whole directory outside cause it w