From d3dd137cad896c7f741592e88f076acab2636a3c Mon Sep 17 00:00:00 2001 From: Tomas Matlocha Date: Tue, 5 Jan 2016 12:32:50 +0100 Subject: [PATCH] Additional info log message for drive-audit An additional info log message was added for case of running drive-audit without failed device unmounting. Change-Id: I11abee40a712b6c6de65e63626b6f7f0a9c9f4c7 --- bin/swift-drive-audit | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/swift-drive-audit b/bin/swift-drive-audit index a0a1fbac35..013bc20226 100755 --- a/bin/swift-drive-audit +++ b/bin/swift-drive-audit @@ -200,6 +200,10 @@ if __name__ == '__main__': (mount_point)) comment_fstab(mount_point) unmounts += 1 + else: + logger.info("Detected %s with %d errors " + "(Device not unmounted)" % + (mount_point, count)) recon_errors[mount_point] = count total_errors += count recon_file = recon_cache_path + "/drive.recon"