[pve-devel] [PATCH] add libiscsi support
Stefan Priebe - Profihost AG
s.priebe at profihost.ag
Tue Jul 17 12:55:31 CEST 2012
this fixes it:
git diff
diff --git a/PVE/Storage.pm b/PVE/Storage.pm
index aee37c8..020865f 100755
--- a/PVE/Storage.pm
+++ b/PVE/Storage.pm
@@ -23,6 +23,7 @@ use PVE::Storage::NFSPlugin;
use PVE::Storage::ISCSIPlugin;
use PVE::Storage::RBDPlugin;
use PVE::Storage::SheepdogPlugin;
+use PVE::Storage::ISCSIDirectPlugin;
# load and initialize all plugins
PVE::Storage::DirPlugin->register();
@@ -31,6 +32,7 @@ PVE::Storage::NFSPlugin->register();
PVE::Storage::ISCSIPlugin->register();
PVE::Storage::RBDPlugin->register();
PVE::Storage::SheepdogPlugin->register();
+PVE::Storage::ISCSIDirectPlugin->register();
PVE::Storage::Plugin->init();
my $UDEVADM = '/sbin/udevadm';
Same is needed for nexenta.
Stefan
Am 17.07.2012 12:53, schrieb Stefan Priebe - Profihost AG:
> It seems tjhe plugin isn't loaded:
>
> SectionConfig.pm =>
> warn Dumper($pdata->{plugins});
>
> $VAR1 = {#012 'lvm' => 'PVE::Storage::LVMPlugin',#012 'nfs' =>
> 'PVE::Storage::NFSPlugin',#012 'sheepdog' =>
> 'PVE::Storage::SheepdogPlugin',#012 'rbd' =>
> 'PVE::Storage::RBDPlugin',#012 'iscsi' =>
> 'PVE::Storage::ISCSIPlugin',#012 'dir' =>
> 'PVE::Storage::DirPlugin'#012 };
>
> Stefan
>
> Am 17.07.2012 12:20, schrieb Dietmar Maurer:
>> Ok, updated git and pvetest repository. Please can you test again?
>>
>> - Dietmar
>>
>>> -----Original Message-----
>>> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
>>> bounces at pve.proxmox.com] On Behalf Of Stefan Priebe - Profihost AG
>>> Sent: Dienstag, 17. Juli 2012 11:57
>>> To: pve-devel at pve.proxmox.com
>>> Subject: Re: [pve-devel] [PATCH] add libiscsi support
>>>
>>> Hello Dietmar,
>>>
>>> i keep getting:
>>>
>>> Jul 17 11:23:41 proxmox0 pvedaemon[38541]: WARNING: file
>>> /etc/pve/storage.cfg line 12 (skip section 'vmstorage1'): unsupported
>>> type
>>> 'iscsidirect'
>>>
>>> # cat /etc/pve/storage.cfg
>>>
>>> iscsidirect: vmstorage1
>>> portal 10.0.255.100
>>> target iqn.local.iscsi:target0
>>>
>>> Any ideas?
>>
>>
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list