rollback fail?

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

 



Hello,

I follow these steps trying to rollback a snapshot but it seems fail, the files are lost.

root@ceph3:/mnt/ceph-block-device# rbd snap create rbd/bar@snap1
root@ceph3:/mnt/ceph-block-device# rbd snap ls rbd/bar
SNAPID NAME      SIZE
     2 snap1 10240 MB
root@ceph3:/mnt/ceph-block-device# rm -f test.file hosts
root@ceph3:/mnt/ceph-block-device# rbd snap rollback rbd/bar@snap1
Rolling back to snapshot: 100% complete...done.
root@ceph3:/mnt/ceph-block-device# ls
root@ceph3:/mnt/ceph-block-device# cd
root@ceph3:~# umount /mnt/ceph-block-device
root@ceph3:~# mount /dev/rbd0 /mnt/ceph-block-device/
root@ceph3:~# cd /mnt/ceph-block-device/
root@ceph3:/mnt/ceph-block-device# ls
root@ceph3:/mnt/ceph-block-device#

Can you help? Thanks.
_______________________________________________
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