summaryrefslogtreecommitdiffstats
path: root/dvm/2501/testcase
blob: 4702b003dd73ff174390abb5a85dd1a26bae357b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

source $cwd/regression_helpers

VOLNAME="vol$global_bug_id";

$GLUSTERFSDIR/gluster volume create $VOLNAME $(hostname):$EXPORT_DIR/$global_bug_id/export1 2>/dev/null 1>/dev/null;

$GLUSTERFSDIR/gluster volume start $VOLNAME 2>/dev/null 1>/dev/null;

$GLUSTERFSDIR/gluster volume set $VOLNAME mem-factor 20 2>/dev/null 1>/dev/null;

$GLUSTERFSDIR/gluster volume info $VOLNAME | grep -i "nfs.mem-factor: 20" 2>/dev/null 1>/dev/null;


exit $?;