summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorSydney Vanda <[email protected]>2016-09-23 13:51:08 -0700
committerBrian Behlendorf <[email protected]>2017-02-28 16:25:39 -0800
commitec0e24c232cac7afa801ca8d247f212c24eb02a3 (patch)
tree4d9aba2b6be90aea7054ae9f19b6096aff917cf9 /config
parent4859fe796c5b03687a7b2ab3735b882c4f5cad66 (diff)
Add auto-online test for ZED/FMA as part of the ZTS
Automated auto-online test to go along with ZED FMA integration (PR 4673) auto_online_001.pos works with real devices (sd- and mpath) and with non-real block devices (loop) by adding a scsi_debug device to the pool Note: In order for test group to run, ZED must not currently be running. Kernel 3.16.37 or higher needed for scsi_debug to work properly If timeout occurs on test using a scsi_debug device (error noticed on Ubuntu system), a reboot might be needed in order for test to pass. (more investigation into this) Also suppressed output from is_real_device/is_loop_device/is_mpath_device - was making the log file very cluttered with useless error messages "ie /dev/mapper/sdc is not a block device" from previous patch Reviewed-by: Don Brady <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: David Quigley <[email protected]> Signed-off-by: Sydney Vanda <[email protected]> Closes #5774
Diffstat (limited to 'config')
-rw-r--r--config/user-commands.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/config/user-commands.m4 b/config/user-commands.m4
index f7c82667d..01dbf3484 100644
--- a/config/user-commands.m4
+++ b/config/user-commands.m4
@@ -108,6 +108,9 @@ AC_DEFUN([ZFS_AC_CONFIG_USER_COMMANDS_LINUX], [
AC_PATH_TOOL(IOSTAT, iostat, "")
AC_PATH_TOOL(LOCKFS, lsof, "")
AC_PATH_TOOL(LSBLK, lsblk, "")
+ AC_PATH_TOOL(LSMOD, lsmod, "")
+ AC_PATH_TOOL(LSSCSI, lsscsi, "")
+ AC_PATH_TOOL(MODLOAD, modprobe, "")
AC_PATH_TOOL(MODUNLOAD, rmmod, "")
AC_PATH_TOOL(MPSTAT, mpstat, "")
AC_PATH_TOOL(NEWFS, mke2fs, "")