Re: CephFS: Revert snapshot

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

 



On Thu, Dec 5, 2024 at 1:37 PM Andre Tann <atann@xxxxxxxxxxxx> 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@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[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