Whamcloud - gitweb
LU-3264 tests: import ZFS pool which has file-based vdev
authorJian Yu <jian.yu@intel.com>
Thu, 16 May 2013 13:36:39 +0000 (21:36 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 21 May 2013 05:37:59 +0000 (01:37 -0400)
commit3dffd5b5c4c95f29e718cab63e8ef1c7da0c1f8b
treeb8a843083836ed41e87cdfd3adc4aa26d30ba962
parent97e4e04e031f1009514b6f2f145460f2b2f2c3b9
LU-3264 tests: import ZFS pool which has file-based vdev

For "zpool import" command, if the -d option is not specified,
the command will only search for devices in "/dev". However,
for the pool which was created with file-based virtual device,
we need explicitly specify the search directory otherwise the
import command will not find the device.

Signed-off-by: Jian Yu <jian.yu@intel.com>
Change-Id: I63ac141fdefcace99a1cf7c366e15f0067fa2a56
Reviewed-on: http://review.whamcloud.com/6358
Tested-by: Hudson
Reviewed-by: Li Wei <wei.g.li@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/test-framework.sh