Re: CephFS Snapshot questions

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

 



On Wed, Jun 7, 2017 at 11:46 PM, McFarland, Bruce
<Bruce.McFarland@xxxxxxxxxxxx> wrote:
> I have a couple of CephFS snapshot questions
>
> -          Is there any functionality similar to rbd clone/flatten such that
> the snapshot can be made writable?  Or is that as simple as copying the
> .snap/<dirname> to another cluster?

No, there's no cloning.  You don't need another cluster though -- you
can "cp -r" your snapshot anywhere on any filesystem, and you'll end
up with fresh files that you can write to.

>
> -          If the first object write since the snapid was created is a user
> error how is that object recovered if it isn’t added to the snapid until
> it’s 1st write after snapid creation?

Don't understand the question at all.  "user error"?

> -          If I want to clone the .snap/<dirname>/ and not all objects have
> been written since .snap/<dirname>/ was created how do I know if or get all
> objects into the snap if I wanted to move the snap to another cluster?

There's no concept of moving a snapshot between clusters.  If you're
just talking about doing a "cp -r" of the snapshot, then the MDS
should do the right thing in terms of blocking your reads on files
that have dirty data in client caches -- when we make a snapshot then
clients doing buffered writes are asked to flush those buffers.

John

>
>
> I might not be making complete sense yet and am in the process of testing to
> see how CephFS snapshots behave.
>
>
>
>
> _______________________________________________
> 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