diff options
author | Vinayak Papnoi <vpapnoi@redhat.com> | 2018-06-22 15:18:50 +0530 |
---|---|---|
committer | Bala Konda Reddy M <bala12352@gmail.com> | 2020-05-18 12:22:49 +0000 |
commit | f0b1fb7d37843550ad3ab464ebbf20e762227cb1 (patch) | |
tree | f429ae884b981d2c3816b00be5834f121c5c8dfd /glustolibs-gluster/glustolibs | |
parent | 458adc6bba6a8f010e7d9674fa917654142c1fcd (diff) |
[Test] Validate USS after snapshot restore
When a snapshot is restored, that snapshot gets removed.
USS makes use of a '.snaps' directory in the mount point
where all the activated snapshots can be listed.
So the restored snapshot should not be listed under the
'.snaps' directory regardless of it being activated or
deactivated.
Steps:
* Perform I/O on mounts
* Enable USS on volume
* Validate USS is enabled
* Create a snapshot
* Activate the snapshot
* Perform some more I/O
* Create another snapshot
* Activate the second
* Restore volume to the second snapshot
* From mount point validate under .snaps
- first snapshot should be listed
- second snapshot should not be listed
Change-Id: I5630d8aad6b4758d49e8d4f53497073c78a00a6b
Co-authored-by: Sunny Kumar <sunkumar@redhat.com>
Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
Signed-off-by: Vinayak Papnoi <vpapnoi@redhat.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs')
0 files changed, 0 insertions, 0 deletions