Quote:
I have read a few bits about using an image file or using lvm on the target. Being when proxmox connects you connect as iscsi and then create and lvm, I take it that I can use an image file on the Target as lvm will be taken care of by proxmox. Would this be correct?
|
My knowledge of iscsi is intermediate and mostly on rpm based OSs. You can share a block device (such as an unused LVM partition), fileIO (essentially a chunk of space reserved on a big file),pscsi or ramdisk storage over the ethernet which would emulate a scsi device for the iscsi initiator.
I do not understand what you mean by "an image file on the target", but you are free to create a large enough file (as per your requirement), name it whatever you want (even image.iso
) and you should be able to share it from your iscsi target (ubuntu) using fileIO.
Once the initiator(proxmox) detects it as a scsi device (it should report as a new disk such as sdb/sdc/..sdN, check in dmesg), you are free to treat it the same way (invoke fdisk, make partitions, create PV-VG-LV, create filesystem, make a mountpoint).
Iscsi devices are advised to be mounted on the initiator with "_netdev" option. Give it a shot and let us know.