From: Greg Farnum Date: Thu, 25 Jul 2013 18:04:50 +0000 (-0700) Subject: samba: run lsof and fuser after shutdown X-Git-Tag: 1.1.0~2040 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a0b51b1f318e8f2294eed34e2dc2cf5ad7c272f7;p=teuthology.git 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 --- diff --git a/teuthology/task/samba.py b/teuthology/task/samba.py index 52a37a2a..4c229499 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