[ceph-users] Re: CephFS: Revert snapshot

2024-12-05 Thread Gregory Farnum
On Thu, Dec 5, 2024 at 1:37 PM Andre Tann  wrote:

> Hi all,
>
> in CephFS, creating and removing a snapshot is as easy as
>
> - mkdir .snap/SNAPSHOT_NAME
> - rmdir .snap/SNAPSHOT_NAME
>
> Both steps are completed in no time, because no data has to be moved
> around.
>
> However, what I cannot find is a way to revert to a snapshot. The only
> way I see is to
>
> rsync … .snap/SNAPSHOT_NAME/ .
>
> In this case all the data has to be moved around, with two main
> disadvantages:
>
> - takes forever
> - consumes double the space than before
>
> Is there a better way to do this?


Unfortunately, there is not. Ceph snapshots are read only and I don’t think
we will ever provide a “revert” functionality. What we would like to do is
provide the ability to clone from a snapshot into a portion of the live
filesystem (conceptually similar to an rbd clone). This is a big project
but it’s on the road map.
-Greg


>
> Cheers
> --
> Andre Tann
> ___
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
>
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] CephFS: Revert snapshot

2024-12-05 Thread Andre Tann

Hi all,

in CephFS, creating and removing a snapshot is as easy as

- mkdir .snap/SNAPSHOT_NAME
- rmdir .snap/SNAPSHOT_NAME

Both steps are completed in no time, because no data has to be moved around.

However, what I cannot find is a way to revert to a snapshot. The only 
way I see is to


rsync … .snap/SNAPSHOT_NAME/ .

In this case all the data has to be moved around, with two main 
disadvantages:


- takes forever
- consumes double the space than before

Is there a better way to do this?

Cheers
--
Andre Tann
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] When 18.2.5 will be released?

2024-12-05 Thread wojiaowugen
Hi,  everyone, It's an honor to ask questions here.
can I ask when 18.2.5 will be released?

___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io