[lxc-devel] [lxd/master] lvm: log loop device used

brauner on Github lxc-bot at linuxcontainers.org
Fri Mar 3 23:22:17 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170303/3ebc7b2b/attachment.bin>
-------------- next part --------------
From bca8b48cd64a22636e09c3974e2ff150f6f732b5 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Sat, 4 Mar 2017 00:21:46 +0100
Subject: [PATCH] lvm: log loop device used

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 lxd/storage_lvm.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lxd/storage_lvm.go b/lxd/storage_lvm.go
index 972bbc3..a2a9915 100644
--- a/lxd/storage_lvm.go
+++ b/lxd/storage_lvm.go
@@ -671,6 +671,7 @@ func (s *storageLvm) StoragePoolMount() (bool, error) {
 			return false, loopErr
 		}
 		s.loopInfo = loopF
+		shared.LogDebugf("Using loop device \"%s\" for storage pools \"%s\".", loopF.Name(), s.pool.Name)
 	}
 
 	return true, nil


More information about the lxc-devel mailing list