Re: CephFS Snapshots in Mimic

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

 



Thanks David and John,

That sounds logical now. When I did read "To make a snapshot on directory “/1/2/3/”, the client invokes “mkdir” on “/1/2/3/.snap” directory (http://docs.ceph.com/docs/master/dev/cephfs-snapshots/)" it didn't come to mind I should create subdirectory immediately.

Thanks, it works now!

K


On 31/07/18 17:06, John Spray wrote:
On Tue, Jul 31, 2018 at 3:45 PM Kenneth Waegeman
<kenneth.waegeman@xxxxxxxx> wrote:
Hi all,

I updated an existing Luminous cluster to Mimic 13.2.1. All daemons were
updated, so I did ceph osd require-osd-release mimic, so everything
seems up to date.

I want to try the snapshots in Mimic, since this should be stable, so i ran:

[root@osd2801 alleee]# ceph fs set cephfs allow_new_snaps true
enabled new snapshots

Now, when I try to create a snapshot, it is not working:

[root@osd2801 ~]# mkdir /mnt/bla/alleee/aaas
[root@osd2801 ~]# mkdir /mnt/bla/alleee/aaas/.snap
mkdir: cannot create directory ‘/mnt/bla/alleee/aaas/.snap’: File exists

I tried this using ceph-fuse and the kernel client, but always get the
same response.
The .snap directory always exists.  To create a snapshot, you create
subdirectory of .snap with a name of your choice.

John

Should I enable something else to get snapshots working ?


Thank you!


Kenneth

_______________________________________________
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