From c6504bab9acb97fd19113fa5c11851f064e613b2 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Tue, 5 Feb 2013 23:28:08 -0800 Subject: [PATCH] nuke: make tmpfs check only umount tmpfs This would catch things like /tmp/cephtest/mnt.client.0, which are used by cfuse, rbd, and kclient. --- teuthology/nuke.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/nuke.py b/teuthology/nuke.py index 4ea5c7b9d1..b94c7b9c69 100644 --- a/teuthology/nuke.py +++ b/teuthology/nuke.py @@ -174,7 +174,7 @@ def remove_osd_tmpfs(ctx, log): from .orchestra import run ctx.cluster.run( args=[ - 'grep', '/mnt', '/etc/mtab', run.Raw('|'), + 'egrep', 'tmpfs\s+/mnt', '/etc/mtab', run.Raw('|'), 'awk', '{print $2}', run.Raw('|'), 'xargs', '-r', 'sudo', 'umount', run.Raw(';'), -- 2.39.5