-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
61 lines (54 loc) · 1.81 KB
/
README
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
Test scripts for dm-multipath
=============================
How to run
----------
# cd mptest
# ./runtest
..
(verbose outputs)
..
** summary **
PASSED: test_00_no_failure test_02_sdev_delete test_03_dm_failpath
FAILED: test_01_sdev_offline
Or './runtest tests/test_01_sdev_offline', for example, to run a
specific test.
Required tools
--------------
- dmsetup
- fio
- targetcli (if MULTIPATH_BACKEND_MODULE=tcmloop)
- scsi_debug.ko (if MULTIPATH_BACKEND_MODULE=scsidebug)
Improvements needed
-------------------
- More realistic ALUA setups
* Multiple TPGs
* Optimized/Non-optimized groups
* Prefered bit
- More realistic transports and failure modes
* iSCSI
* FC
- More varieties of I/Os
* blk pcs
- Validation tests of dm table/status
* whether dm-mpath.ko can handle various dm table pattern correctly
* whether dm-mpath.ko outputs dm status correctly
- Better udev avoidance
* a lot of uevents are generated during the test, that unintendedly
ends up with stress testing of udev subsystem
* dmsetup might fail and/or stall if the avoidance is not done
correctly
- Integration test with udev and multipath-tools
* for realistic testing, tests involving udev and multipathd are
also necessary
Issues
------
- When run from non-interactive mode, targetcli might emit python
exception when called:
Traceback (most recent call last):
File "/usr/bin/targetcli", line 121, in <module>
main()
File "/usr/bin/targetcli", line 111, in main
shell.run_interactive()
File "/usr/lib/python2.7/site-packages/configshell_fb/shell.py", line 899, in run_interactive
readline.set_completer(old_completer)
NameError: global name 'readline' is not defined