mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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 <don.brady@intel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: David Quigley <david.quigley@intel.com> Signed-off-by: Sydney Vanda <sydney.m.vanda@intel.com> Closes #5774
This commit is contained in:
committed by
Brian Behlendorf
parent
4859fe796c
commit
ec0e24c232
@@ -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, "")
|
||||
|
||||
Reference in New Issue
Block a user