[pve-devel] [PATCH] Added missing 'import-lu' command to refactored ZFSPlugin.

Pablo Ruiz García pablo.ruiz at gmail.com
Mon Apr 14 01:11:14 CEST 2014


Signed-off-by: Pablo Ruiz García <pablo.ruiz at gmail.com>
---
 PVE/Storage/ZFSPlugin.pm |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm
index ac8eb0a..d310a8c 100644
--- a/PVE/Storage/ZFSPlugin.pm
+++ b/PVE/Storage/ZFSPlugin.pm
@@ -41,6 +41,9 @@ sub run_lun_command {
     } elsif ($method eq 'delete-lu') {
         $guid = $params[0];
         $helper .= "$guid";
+    } elsif ($method eq 'import-lu') {
+        $lundev = $params[0];
+        $helper .= "$lundev ";
     } elsif ($method eq 'resize-lu') {
         $size = $params[0];
         $guid = $params[1];
-- 
1.7.1



More information about the pve-devel mailing list