-
Committer:
James Page
-
Author(s):
Chuck Short
-
Date:
2016-04-20 20:32:46 UTC
-
Revision ID:
james.page@ubuntu.com-20160420203246-og65cmwedn3tklzn
Ensure ZFS pool management is idempotent
As block device configuration is called from the
config-changed hook, it's vital that the code for
managing the zfs pool is idempotent.
Add a helper to query pool information and ensure
that the ZFS pool does not already exist before
attempting creation.
Change-Id: I4f4ad9c4cdb73b77e8b3a9367b81ec1566bacd59
Signed-off-by: Chuck Short <chuck.short@canonical.com>