On 02/03/2015 12:59 PM, Wolfgang Link wrote:
@@ -419,6 +419,14 @@ sub volume_snapshot_rollback {
sub activate_storage {
my ($class, $storeid, $scfg, $cache) = @_;
+
+my @param = ('-o', 'name', '-H');
+
+my $text = zfs_request($class, $scfg, undef, 'zpool_list', @param);
+
+
On 02/09/2015 12:24 PM, Wolfgang Link wrote:
ctivate_storage is inherted by ZFSPlugin, so we cannot do that! So please
overwrite it inside ZFSPlugin.pm.
ahead in this patch I override it in ZFSPlugin.pm
Sorry, you are correct! I just applied your patch.
On 02/09/2015 12:07 PM, Dietmar Maurer wrote:
On 02/03/2015 12:59 PM, Wolfgang Link wrote:
@@ -419,6 +419,14 @@ sub volume_snapshot_rollback {
sub activate_storage {
my ($class, $storeid, $scfg, $cache) = @_;
+
+my @param = ('-o', 'name', '-H');
+
+my $text =
this is necessary, because after a reboot all pools except rpool are gone
Signed-off-by: Wolfgang Link w.l...@proxmox.com
---
PVE/Storage/ZFSPlugin.pm |5 +
PVE/Storage/ZFSPoolPlugin.pm | 10 +-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git