From a0b51b1f318e8f2294eed34e2dc2cf5ad7c272f7 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Thu, 25 Jul 2013 11:04:50 -0700 Subject: [PATCH] samba: run lsof and fuser after shutdown The clients are pretty regularly reporting busy on unmount when samba runs above them. This will hopefully give us some info about why. Signed-off-by: Greg Farnum --- teuthology/task/samba.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/teuthology/task/samba.py b/teuthology/task/samba.py index 52a37a2a6e..4c2294993d 100644 --- a/teuthology/task/samba.py +++ b/teuthology/task/samba.py @@ -199,5 +199,21 @@ def task(ctx, config): 'sudo', 'killall', '-9', 'smbd', ], ) + + remote.run( + args=[ + 'sudo', + 'lsof', + backend, + ], + ) + remote.run( + args=[ + 'sudo', + 'fuser', + '-M', + backend, + ], + ) except: pass -- 2.39.5