-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfio-rs4k-run.sh
executable file
·73 lines (60 loc) · 2.97 KB
/
fio-rs4k-run.sh
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/bin/sh
# full tests in order for pool of 4,3,2,1 2n mirror vdevs
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 2 | tail -n 2 | xargs zpool create -oashift=12 test mirror
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 4 | tail -n 2 | xargs zpool add -oashift=12 test mirror
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 6 | tail -n 2 | xargs zpool add -oashift=12 test mirror
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 8 | tail -n 2 | xargs zpool add -oashift=12 test mirror
zfs set recordsize=4k test
./fio-full-test.pl
zpool destroy test
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 2 | tail -n 2 | xargs zpool create -oashift=12 test mirror
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 4 | tail -n 2 | xargs zpool add -oashift=12 test mirror
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 6 | tail -n 2 | xargs zpool add -oashift=12 test mirror
zfs set recordsize=4k test
./fio-full-test.pl
zpool destroy test
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 2 | tail -n 2 | xargs zpool create -oashift=12 test mirror
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 4 | tail -n 2 | xargs zpool add -oashift=12 test mirror
zfs set recordsize=4k test
./fio-full-test.pl
zpool destroy test
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 2 | tail -n 2 | xargs zpool create -oashift=12 test mirror
zfs set recordsize=4k test
./fio-full-test.pl
zpool destroy test
# full test for 2x RAIDz2 4n vdevs
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 4 | xargs zpool create -oashift=12 test raidz2
ls /dev/disk/by-id | grep ST12 | grep -v part | tail -n 4 | xargs zpool add -oashift=12 test raidz2
zfs set recordsize=4k test
./fio-full-test.pl
zpool destroy test
# full tests in order for 1x RAIDz2 8n,7n,6n,5n,4n and 1x RAIDz1 3n
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 8 | xargs zpool create -oashift=12 test raidz2
zfs set recordsize=4k test
./fio-full-test.pl
zpool destroy test
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 7 | xargs zpool create -oashift=12 test raidz2
zfs set recordsize=4k test
./fio-full-test.pl
zpool destroy test
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 6 | xargs zpool create -oashift=12 test raidz2
zfs set recordsize=4k test
./fio-full-test.pl
zpool destroy test
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 5 | xargs zpool create -oashift=12 test raidz2
zfs set recordsize=4k test
./fio-full-test.pl
zpool destroy test
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 4 | xargs zpool create -oashift=12 test raidz2
zfs set recordsize=4k test
./fio-full-test.pl
zpool destroy test
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 3 | xargs zpool create -oashift=12 test raidz1
zfs set recordsize=4k test
./fio-full-test.pl
zpool destroy test
# full test for single disk
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 1 | xargs zpool create -oashift=12 test
zfs set recordsize=4k test
./fio-full-test.pl
zpool destroy test