diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index d70cc47e9b6..9dcc4a2b9ca 100644 --- a/teuthology/task/ceph.py +++ b/teuthology/task/ceph.py @@ -773,11 +773,13 @@ def cluster(ctx, config): ] ) - for remote, roles_for_host in osds.remotes.iteritems(): - remote.run( - args=[ 'sudo', 'umount', '-f', '/mnt' ], - check_status=False, - ) + if config.get('tmpfs_journal'): + log.info('tmpfs journal enabled - unmounting tmpfs at /mnt') + for remote, roles_for_host in osds.remotes.iteritems(): + remote.run( + args=[ 'sudo', 'umount', '-f', '/mnt' ], + check_status=False, + ) if ctx.archive is not None: # archive mon data, too