ISCSI Configuration on Proxmox 2.2 - How Do I

Coming from Vmware 5.0 adding an iscsi disk is much easier for someone like me who is not profound in this area.
Can someone help me with this? Just need pointers. I am using freenas 8.2 for the target BTW. Im not sure if I even setup freenas correctly. I have used openfiler for 3 years and we would like to migrate to ZFS so freenas was the default choice for testing with.

We when adding a ISCSI Target from the GUI you have these options

ID
Portal
TARGET
Use LUN Directly

is the ID my iqn.freenas1.trickhosting.biz
Is Portal the ip address of the iscsi host with the port? IE 10.0.0.33:3260
What is "Use LUN Directly"?

Thanks for the help
 
ID is the name this iSCSI target is registered with in promox. Eg. choose what ever name you like
PORTAL is the IP or DNS for your iSCSI host. Port is not needed if you use 3260.
Use LUN Directly: If this is active you cannot share the resource with other nodes in your cluster. Eg. no migration of VM's possible if they have disks assigned to this resource.
 
How can I use a .vdmk over iscsi to a freenaz with ZFS?
I would not do that if I was you. iSCSI and ZFS on FreeBSD is severely broken, or iSCSI and FreeBSD for that matter. IMHO you have two ways of solving your problem:
1) Create a shared storage proving access to a filesystem via NFS. On this filesystem you should place your VMDK images.
2) convert your VMDK images to RAW by block copying the bits and share these new RAW images via LVM. See the command qemu-image convert. The steps is
a) lvcreate -L {size} -n vm-{id}-disk-{number} {volume group}
b) qemu-img convert -t writeback -O raw /some/vmdk/image.vmdk /dev/{volume group}/vm-{id}-disk-{number}
 
mir thanks for the suggestions. Ive done the converting of vmdk from a bunch of virtualbox vms so thats not going to be a problem. I just wasn't wanting to take the servers off line for the time to convert the images. I'll setup the NFS mount on freenaz as I hope this is not broken. I didn't know of any problem with iscsi with zfs. If you had time I would like to hear more of whats the problem.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!