1. Gluster Volume Snapshot Rajesh Joseph Raghavendra Bhatt
2. 05/22/15 AGENDA Introduction Supported Configuration
Accessing Snapshot Additional Features Future Work Q&A
3. 05/22/15 Snapshots in Gluster Volume level snapshots LVM2
based Operates only on thin-provisioned volumes Snapshot of a
Gluster volume is a read-only Gluster volume A Gluster volume
snapshot consists of LVM snapshots of the individual bricks making
up the volume Crash consistent
7. 05/22/15 AGENDA Introduction Supported Configuration
Accessing Snapshot Additional Features Future Work Q&A
8. 05/22/15 Supported Volume Configuration Each volume brick
should be on an independent thinly provisioned volume. Brick LVM
should not be used for any other purpose. All the snapshot of the
brick will be created on same thin pool. Thin pool should have
sufficient free space.
9. Older Gluster Volume Configuration Storage devices LV Volume
Group Brick1 Brick2 LV mount
10. New Volume Configuration for Snapshot Storage devices Thin
LV Volume GroupBrick1 Brick2 mount Thin Pool mount Thin LV Thin
Pool mount
12. Accessing Snapshots Snapshots are similar to Gluster volume
and therefore it is mountable. Only fuse mount is supported as of
now Can be mounted even if origin volume is down
mounttglusterfs:/snaps// /
13. User Serviceable Snapshots in Gluster Ease of use - Users
can access snapshots of a volume without admin intervention
Accessible via fuse, NFS and CIFS mount. Configurable feature. By
default it is disabled. cd to .snaps virtual directory anywhere in
the file-system to access your data
14. User Serviceable Snapshots Snap Daemon GFAPI Based CIFS and
NFS Access
15. AGENDA Introduction Supported Configuration Accessing
Snapshot Additional Features Future Work Q&A
16. Snapshot Clone Writable snapshot volume Space-efficient
clone of snapshot. Back-end LVM is shared between the original
Snapshot and the clone Similar to snapshot create
17. Snapshot Scheduling Provide snapshot scheduling capability.
Based on cron Internally uses a meta-volume to manage scheduling
Accepts same syntax as cron snap_scheduler.py provides the
scheduling functionality
18. Other Snapshot Commands Create Delete Info Status Config
Restore
19. Snapshot config Snap-max-hard-limit Beyond witch snapshot
create will fail Snap-max-soft-limit Warning generated if this
limit is crossed Auto-delete If enabled oldest snapshot will be
deleted when snapshot count crosses soft limit Activate-on-create
activate the snapshot on creation
20. AGENDA Introduction Supported Configuration Accessing
Snapshot Additional Features Future Work Q&A
21. Future Work Plug-able snapshot architecture for different
types of back-end. Reduce resource consumption Activate on access.
More options for admin to choose different retention policies.
Migrate to liblvm
22. AGENDA Introduction Supported Configuration Accessing
Snapshot Additional Features Future Work Q&A