Re: [ceph-users] cephfs-fuse: set/getfattr, change pools

2015-02-03 Thread John Spray
http://tracker.ceph.com/issues/10737 John On Tue, Feb 3, 2015 at 10:36 PM, Gregory Farnum wrote: > On Tue, Feb 3, 2015 at 1:30 PM, John Spray wrote: >> On Tue, Feb 3, 2015 at 10:23 PM, Gregory Farnum wrote: If you explicitly change the layout of a file containing data to point to a d

Re: [ceph-users] cephfs-fuse: set/getfattr, change pools

2015-02-03 Thread Gregory Farnum
On Tue, Feb 3, 2015 at 1:30 PM, John Spray wrote: > On Tue, Feb 3, 2015 at 10:23 PM, Gregory Farnum wrote: >>> If you explicitly change the layout of a file containing data to point >>> to a different pool, then you will see zeros when you try to read it >>> back (although new data will be writte

Re: [ceph-users] cephfs-fuse: set/getfattr, change pools

2015-02-03 Thread John Spray
On Tue, Feb 3, 2015 at 10:23 PM, Gregory Farnum wrote: >> If you explicitly change the layout of a file containing data to point >> to a different pool, then you will see zeros when you try to read it >> back (although new data will be written to the new pool). > > That statement sounds really sca

Re: [ceph-users] cephfs-fuse: set/getfattr, change pools

2015-02-03 Thread Daniel Schneller
Understood. Thanks for the details.  Daniel  On Tue, Feb 3, 2015 at 1:23 PM -0800, "Gregory Farnum" wrote: On Tue, Feb 3, 2015 at 1:17 PM, John Spray wrote: > On Tue, Feb 3, 2015 at 2:21 PM, Daniel Schneller > wrote: >> Now, say I wanted to put /baremetal into a different pool, ho

Re: [ceph-users] cephfs-fuse: set/getfattr, change pools

2015-02-03 Thread Gregory Farnum
On Tue, Feb 3, 2015 at 1:17 PM, John Spray wrote: > On Tue, Feb 3, 2015 at 2:21 PM, Daniel Schneller > wrote: >> Now, say I wanted to put /baremetal into a different pool, how would I go >> about this? >> >> Can I setfattr on the /cephfs mountpoint and assign it a different pool with >> e. g. dif

Re: [ceph-users] cephfs-fuse: set/getfattr, change pools

2015-02-03 Thread John Spray
On Tue, Feb 3, 2015 at 2:21 PM, Daniel Schneller wrote: > Now, say I wanted to put /baremetal into a different pool, how would I go > about this? > > Can I setfattr on the /cephfs mountpoint and assign it a different pool with > e. g. different replication settings? This should make it clearer: h

Re: [ceph-users] cephfs-fuse: set/getfattr, change pools

2015-02-03 Thread Daniel Schneller
On 2015-02-03 18:19:24 +, Gregory Farnum said: Okay, I've looked at the code a bit, and I think that it's not showing you one because there isn't an explicit layout set. You should still be able to set one if you like, though; have you tried that? Actually, no, not yet. We were setting up

Re: [ceph-users] cephfs-fuse: set/getfattr, change pools

2015-02-03 Thread Gregory Farnum
On Tue, Feb 3, 2015 at 9:23 AM, Daniel Schneller wrote: >>> We have a CephFS directory /baremetal mounted as /cephfs via FUSE on our >>> clients. >>> There are no specific settings configured for /baremetal. >>> As a result, trying to get the directory layout via getfattr does not >>> work >>> >>>

Re: [ceph-users] cephfs-fuse: set/getfattr, change pools

2015-02-03 Thread Daniel Schneller
We have a CephFS directory /baremetal mounted as /cephfs via FUSE on our clients. There are no specific settings configured for /baremetal. As a result, trying to get the directory layout via getfattr does not work getfattr -n 'ceph.dir.layout' /cephfs /cephfs: ceph.dir.layout: No such attribute

Re: [ceph-users] cephfs-fuse: set/getfattr, change pools

2015-02-03 Thread Gregory Farnum
On Tue, Feb 3, 2015 at 5:21 AM, Daniel Schneller wrote: > Hi! > > We have a CephFS directory /baremetal mounted as /cephfs via FUSE on our > clients. > There are no specific settings configured for /baremetal. > As a result, trying to get the directory layout via getfattr does not work > > getfatt