Re: Merging CephFS data pools

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

 



On Thu, Aug 18, 2016 at 12:21 AM, Burkhard Linke
<Burkhard.Linke@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Hi,
>
> the current setup for CephFS at our site uses two data pools due to
> different requirements in the past. I want to merge these two pools now,
> eliminating the second pool completely.
>
> I've written a small script to locate all files on the second pool using
> their file layout attributes and replace them with a copy on the correct
> pool. This works well for files, but modifies the timestamps of the
> directories.
> Do you have any idea for a better solution that does not modify timestamps
> and plays well with active CephFS clients (e.g. no problem with files being
> used)? A simple 'rados cppool' probably does not work since the pool id/name
> is part of a file's metadata and client will not be aware of moved
> files.....

Can't you just use rsync or something that will set the timestamps itself?
-Greg
_______________________________________________
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