blob: 039a875cd46ae85418f3c78a0245c77194c9d691 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/bash
description="# glusterfs server crash on trying to copy a file to glusterfs mount"
comments="# cp -fv filename mountpoint"
source ../../init
start_glusterfs
sleep 5
cp -fv /etc/shadow $MOUNTDIR/client1 > /dev/null
if [ $(ls $EXPORTDIR/export2 | wc -l) -ne 0 ];then
ok $description
else
not_ok $description
comment $comments
fi
cleanup_glusterfs
|