[PVE-User] PVE ZFS Over ISCSI

Gilberto Nunes gilberto.nunes32 at gmail.com
Fri Aug 11 18:14:19 CEST 2017


Update:

In the Debian Linux, I can see the volume that I create with Proxmox:

zfs list
NAME                       USED  AVAIL  REFER  MOUNTPOINT
datastore1                20,6G  94,7G   149K  /datastore1
datastore1/iscsi1         20,6G   115G    43K  -
datastore1/vm-100-disk-1     8K  94,7G     8K  -
datastore1/vm-100-disk-2     8K  94,7G     8K  -
datastore1/vm-100-disk-3     8K  94,7G     8K  -
datastore1/vm-100-disk-4     8K  94,7G     8K  -
datastore1/vm-100-disk-5     8K  94,7G     8K  -
datastore1/vm-101-disk-1     8K  94,7G     8K  -


If I use the command:

qm set 100 -scsi1 ZFS-OVER:vm-100-disk-1
update VM 100: -scsi1 ZFS-OVER:vm-100-disk-1

I can insert the disk with sucess!!!!

But inside web interface I am no able to!

So odd!



Obrigado

Cordialmente


Gilberto Ferreira

Consultor TI Linux | IaaS Proxmox, CloudStack, KVM | Zentyal Server |
Zimbra Mail Server

(47) 3025-5907
(47) 99676-7530

Skype: gilberto.nunes36


konnectati.com.br <http://www.konnectati.com.br/>


https://www.youtube.com/watch?v=dsiTPeNWcSE


2017-08-11 13:09 GMT-03:00 Gilberto Nunes <gilberto.nunes32 at gmail.com>:

> Hi guys
>
> I set up a Linux Debian Box, with istgt installed. Here's the config for
> istgt:
>
> [Global]
>   Comment "Global section"
>   NodeBase "iqn.2017-08.iscsi2.homegiba.com.br"
>   PidFile /var/run/istgt.pid
>   AuthFile /etc/istgt/auth.conf
>   MediaDirectory /var/istgt
>   LogFacility "local7"
>   Timeout 30
>   NopInInterval 20
>   DiscoveryAuthMethod Auto
>   MaxSessions 16
>   MaxConnections 4
>   MaxR2T 32
>   MaxOutstandingR2T 16
>   DefaultTime2Wait 2
>   DefaultTime2Retain 60
>   FirstBurstLength 262144
>   MaxBurstLength 1048576
>   MaxRecvDataSegmentLength 262144
>   InitialR2T Yes
>   ImmediateData Yes
>   DataPDUInOrder Yes
>   DataSequenceInOrder Yes
>   ErrorRecoveryLevel 0
> [UnitControl]
>   Comment "Internal Logical Unit Controller"
>  Portal UC1 127.0.0.1:3261
>   Netmask 127.0.0.1
> [PortalGroup1]
>   Comment "PVE"
>   Portal DA1 10.1.1.200:3260
> [InitiatorGroup1]
>   Comment "Initiator Group1"
>   InitiatorName "ALL"
> [LogicalUnit1]
>   Comment "Hard Disk Sample"
>   TargetName disk1
>   TargetAlias "Data Disk1"
>   Mapping PortalGroup1 InitiatorGroup1
>   AuthMethod Auto
>   AuthGroup AuthGroup1
>   UseDigest Auto
>   UnitType Disk
>   LUN0 Storage /dev/zvol/datastore1/iscsi1 Auto
>
>
> I have set up the ssh key as well and I can log in using that key.
>
> Indee, I have sucessful add the ZFS Over iSCSI storage and I can see the
> disks.
>
> But when I try to add some disk when I create a VM I get the erro below:
>
>
> No configuration found. Install istgt on 10.1.1.200 at
> /usr/share/perl5/PVE/Storage/LunCmd/Istgt.pm line 99. (500)
>
> My istgt is running and up!
>
> What can I doing wrong in this case???
>
> Thanks for any help.
>



More information about the pve-user mailing list