-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfio-single-disks.sh
executable file
·35 lines (26 loc) · 1.12 KB
/
fio-single-disks.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
#!/bin/sh
# full tests in order for pool of 8,7,6,5,4,3,2,1 single-disk vdevs
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 8 | xargs zpool create -oashift=12 test
./fio-8x-only.pl
zpool destroy test
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 7 | xargs zpool create -oashift=12 test
./fio-8x-only.pl
zpool destroy test
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 6 | xargs zpool create -oashift=12 test
./fio-8x-only.pl
zpool destroy test
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 5 | xargs zpool create -oashift=12 test
./fio-8x-only.pl
zpool destroy test
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 4 | xargs zpool create -oashift=12 test
./fio-8x-only.pl
zpool destroy test
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 3 | xargs zpool create -oashift=12 test
./fio-8x-only.pl
zpool destroy test
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 2 | xargs zpool create -oashift=12 test
./fio-8x-only.pl
zpool destroy test
ls /dev/disk/by-id | grep ST12 | grep -v part | head -n 1 | xargs zpool create -oashift=12 test
./fio-8x-only.pl
zpool destroy test