blob: a646aa88014946854842a910f381a4a1d32ca2d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/bin/bash
#Testcase:
#On snapshot, notify changelog reconfigure upon explicit rollover
#irrespective of any failures and send error back to barrier if any.
. $(dirname $0)/../../include.rc
. $(dirname $0)/../../snapshot.rc
cleanup;
TEST verify_lvm_version
TEST glusterd;
TEST pidof glusterd;
TEST setup_lvm 1
## Create a volume
TEST $CLI volume create $V0 $H0:$L1
## Start volume and verify
TEST $CLI volume start $V0
TEST $CLI volume set $V0 changelog.changelog on
##Wait for changelog init to complete.
sleep 1
## Take snapshot
TEST $CLI snapshot create snap1 $V0
cleanup;
|