Re: cephfs issue with moving files between data pools gives Input/output error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

If I copy the file out6 to out7 in the same location. I can read the 
out7 file on the nfs client.


-----Original Message-----
To: ceph-users
Subject:  cephfs issue with moving files between data pools 
gives Input/output error


Looks like that if I move files between different data pools of the 
cephfs, something is still refering to the 'old location' and gives an 
Input/output error. I assume this, because I am using different client 
ids for authentication. 

With the same user as configured in ganesha, mounting (kernel) erasure 
code cephfs m can create file out4

At nfs4 client, same location m
I can read out4
I can create out5
I can read out5

Mounted root cephfs create file in folder t (test replicated 1) I can 
create out6 I can move out6 to a the folder m (erasure coded) I can read 
out6

At nfs4 client, m location
[@m]# cat out6
cat: out6: Input/output error




[client.cephfs.t]
     key = xxx==
     caps mds = "allow rw path=/t"
     caps mgr = "allow r"
     caps mon = "allow r"
     caps osd = "allow rwx pool=fs_meta,allow rwx pool=fs_data,  allow 
rwx pool=fs_data.r1"

[client.cephfs.m]
     key = xxx==
     caps mds = "allow rw path=/m"
     caps mgr = "allow r"
     caps mon = "allow r"
     caps osd = "allow rwx pool=fs_meta,allow rwx pool=fs_data.ec"


[@ test]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)

[@ test]# rpm -qa | grep ceph | sort
ceph-12.2.8-0.el7.x86_64
ceph-base-12.2.8-0.el7.x86_64
ceph-common-12.2.8-0.el7.x86_64
ceph-fuse-12.2.8-0.el7.x86_64
ceph-mds-12.2.8-0.el7.x86_64
ceph-mgr-12.2.8-0.el7.x86_64
ceph-mon-12.2.8-0.el7.x86_64
ceph-osd-12.2.8-0.el7.x86_64
ceph-radosgw-12.2.8-0.el7.x86_64
ceph-selinux-12.2.8-0.el7.x86_64
collectd-ceph-5.8.0-2.el7.x86_64
libcephfs2-12.2.8-0.el7.x86_64
python-cephfs-12.2.8-0.el7.x86_64

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux