Hi Laurence, On Thu, Nov 02, 2017 at 09:16:04PM -0400, Laurence Oberman wrote: > Hi Ming > I have used Bart's tests on my test bed they should run fine. > Are you using my SRP setup. Yeah, I am using your SRP setup. Once the three directories are created, I saw the new failure, and both ib/srp and dm-mpath has been working well now. Laurence and Bart, do you have receipt for making the test working first? [root@ibclient srp-test]# ./run_tests modprobe: FATAL: Module target_core_mod is in use. [root@ibclient srp-test]# lsmod | grep target iscsi_target_mod 294912 1 ib_isert target_core_mod 352256 2 iscsi_target_mod,ib_isert [root@ibclient srp-test]# lsblk | head -n 10 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdy 65:128 0 3.9G 0 disk └─36001405b2b5c6c24c084b6fa4d55da2f 253:16 0 3.9G 0 mpath sdam 66:96 0 3.9G 0 disk └─360014055f563ebf2abc4609a00a16794 253:11 0 3.9G 0 mpath sdbb 67:80 0 3.9G 0 disk └─36001405f58163b828714988bd2e88358 253:17 0 3.9G 0 mpath sdf 8:80 0 3.9G 0 disk └─36001405fb1402260c1346688f23d07e0 253:7 0 3.9G 0 mpath sdau 66:224 0 3.9G 0 disk Thanks, Ming > > Thanks > Laurence > > > On Nov 2, 2017 8:48 PM, "Bart Van Assche" <Bart.VanAssche@xxxxxxx> wrote: > > > On Fri, 2017-11-03 at 08:15 +0800, Ming Lei wrote: > > > On Thu, Nov 02, 2017 at 11:54:57PM +0000, Bart Van Assche wrote: > > > > On Fri, 2017-11-03 at 07:48 +0800, Ming Lei wrote: > > > > > Could you please share your srp-tests script? I may find a IB/SRP > > system > > > > > to see if I can reproduce this issue and figure out one solution. > > > > > > > > Please have a look at https://github.com/bvanassche/srp-test. > > > > > > Could you provide me the exact command line for the reproduction? > > > > > > I simply run ./run_tests, and looks it doesn't work. > > > > > > [root@ srp-test]# ./run_tests > > > df: ‘/home/ming/git/srp-test/mnt2’: No such file or directory > > > df: ‘/home/ming/git/srp-test/mnt2’: No such file or directory > > > Unmounting /home/ming/git/srp-test/mnt2 from > > > umount: /home/ming/git/srp-test/mnt2: mountpoint not found > > > df: ‘/home/ming/git/srp-test/mnt2’: No such file or directory > > > Error: unmounting /home/ming/git/srp-test/mnt2 failed > > > > This means that I have to add the following to the README document: > > > > Run "mkdir mnt1 mnt2 mnt3" before starting the tests. > > > > Bart.