Hi Mathias, I have noticed in the past the moving directories within the same mount point can take a very long time using the system mv command. I use a python script to archive old user directories by moving them to a different part of the filesystem which is not exposed to the users. I use the rename method of a python Path object which is atomic. In your case I would expect a copy and unlink because the operation is across different mount points. Is this operation a one off or a regular occurance? If it is a one off then I would do it as adminstrator. If it is a regular occurance I would look into re-arranging the filesystem layout to make this possible. Regards magnus On Wed, 2022-05-18 at 13:34 +0000, Kuhring, Mathias wrote: > This email was sent to you by someone outside the University. > You should only click on links or attachments if you are certain that > the email is genuine and the content is safe. > > Dear Ceph community, > > Let's say I want to make different sub-directories of my CephFS > separately available on a client system, > i.e. without exposing the parent directories (because it contains > other > sensitive data, for instance). > > I can simply mount specific different folders, as primitively > illustrated here: > > CephFS root: > - FolderA > - FolderB > - FolderC > > Client mounts: > - MountA --> cephfs:/FolderA > - MountB --> cephfs:/FolderB > > Now I'm wondering what actually happens in the background when I move > (not copy) data from MountA to MountB. > In particular, is CephFS by chance aware of this situation and > actually > performs an atomic move internally? > Or is more like a copy and unlink operation via the client? > > I appreciate your thoughts. > > Best wishes, > Mathias > > _______________________________________________ > ceph-users mailing list -- ceph-users@xxxxxxx > To unsubscribe send an email to ceph-users-leave@xxxxxxx The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336. _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx