Bug #5287
closedthe permission of file in CephFS
0%
Description
Hi all,
I used the CephFS v0.56.3 to store VMs. There're 8 nodes of my cluster, and I mount the cephFS in every node.
If I want to do live migration in my cluster, then I have to change the mode of VMs to enable another nodes to rw the VM files.
Is the CephFS can give the specified nodes the permission to write the files?
e.g. node 1 generated a VM, then the VM was migrated to node 2, the own of VM should be changed to node 2 in mount point.
The permission of data in CephFS is in MDS, right? If so, how to operate MDS to let annother nodes can write other's file?
Any better solutions about the file permission instead of chmod file?
Is there some method like NFS to mapping user-id during live migration?
BR
Updated by Zheng Yan almost 11 years ago
- Status changed from New to 4
The short answer is no better solution so far. If a given node can mount the FS, it can access to the data pool directly. So checking permission in MDS does not work.
Updated by chen atrmat almost 11 years ago
Zheng Yan wrote:
The short answer is no better solution so far. If a given node can mount the FS, it can access to the data pool directly. So checking permission in MDS does not work.
The node1 and 2 can access to the default pool data both. But in the mount point, one file's owner is node1, so node2 can't access to write the file, how to change the file's owner in CephFS?
Updated by John Spray over 7 years ago
- Project changed from Ceph to CephFS
- Category deleted (
11)
Bulk updating project=ceph category=ceph-fuse issues to move to fs project so that we can remove the ceph-fuse category from the ceph project