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 <greg@inktank.com>
This commit is contained in:
Greg Farnum 2013-07-25 11:04:50 -07:00
parent f19bcfc9df
commit a0b51b1f31

View File

@ -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