diff options
Diffstat (limited to '113/regr')
-rw-r--r-- | 113/regr/spec_files/client1.vol | 30 | ||||
-rw-r--r-- | 113/regr/spec_files/server1.vol | 23 | ||||
-rw-r--r-- | 113/regr/spec_files/server2.vol | 23 | ||||
-rw-r--r-- | 113/regr/spec_files/server3.vol | 23 | ||||
-rwxr-xr-x | 113/regr/testcase | 19 |
5 files changed, 118 insertions, 0 deletions
diff --git a/113/regr/spec_files/client1.vol b/113/regr/spec_files/client1.vol new file mode 100644 index 0000000..a493ee0 --- /dev/null +++ b/113/regr/spec_files/client1.vol @@ -0,0 +1,30 @@ +volume remote1 + type protocol/client + option transport-type tcp/client + option remote-port 9352 + option remote-host 127.0.0.1 + option remote-subvolume brick +end-volume + +volume remote2 + type protocol/client + option transport-type tcp/client + option remote-port 9353 + option remote-host 127.0.0.1 + option remote-subvolume brick +end-volume + +volume remote3 + type protocol/client + option transport-type tcp/client + option remote-port 9354 + option remote-host 127.0.0.1 + option remote-subvolume brick +end-volume + +volume stripe + type cluster/stripe + option block-size 1MB + subvolumes remote1 remote2 remote3 +end-volume + diff --git a/113/regr/spec_files/server1.vol b/113/regr/spec_files/server1.vol new file mode 100644 index 0000000..3a28d72 --- /dev/null +++ b/113/regr/spec_files/server1.vol @@ -0,0 +1,23 @@ +volume posix + type storage/posix + option directory /share/tickets/113/regr/export/export1 +end-volume + +volume locks + type features/locks + subvolumes posix +end-volume + +volume brick + type performance/io-threads + option thread-count 8 + subvolumes locks +end-volume + +volume server + type protocol/server + option transport-type tcp/server + option listen-port 9352 + option auth.addr.brick.allow * + subvolumes brick +end-volume diff --git a/113/regr/spec_files/server2.vol b/113/regr/spec_files/server2.vol new file mode 100644 index 0000000..0092b59 --- /dev/null +++ b/113/regr/spec_files/server2.vol @@ -0,0 +1,23 @@ +volume posix + type storage/posix + option directory /share/tickets/113/regr/export/export2 +end-volume + +volume locks + type features/locks + subvolumes posix +end-volume + +volume brick + type performance/io-threads + option thread-count 8 + subvolumes locks +end-volume + +volume server + type protocol/server + option transport-type tcp/server + option listen-port 9353 + option auth.addr.brick.allow * + subvolumes brick +end-volume diff --git a/113/regr/spec_files/server3.vol b/113/regr/spec_files/server3.vol new file mode 100644 index 0000000..b362c64 --- /dev/null +++ b/113/regr/spec_files/server3.vol @@ -0,0 +1,23 @@ +volume posix + type storage/posix + option directory /share/tickets/113/regr/export/export3 +end-volume + +volume locks + type features/locks + subvolumes posix +end-volume + +volume brick + type performance/io-threads + option thread-count 8 + subvolumes locks +end-volume + +volume server + type protocol/server + option transport-type tcp/server + option listen-port 9354 + option auth.addr.brick.allow * + subvolumes brick +end-volume diff --git a/113/regr/testcase b/113/regr/testcase new file mode 100755 index 0000000..77e5442 --- /dev/null +++ b/113/regr/testcase @@ -0,0 +1,19 @@ +#!/bin/bash + +description="# (113) mkdir fails on stripe configuration" +comments="# Simple stripe setup is used." + +source ../../init + +start_glusterfs + +sleep 5 + +if [ $(mkdir $MOUNTDIR/client1/1 | grep "Software caused connection abort" | wc -l) -ne 0 ];then + not_ok $description + comment $comments +else + ok $description +fi + +cleanup_glusterfs |