ZFS-local (iSCSI device)

DANILO MONTAGNA

Well-Known Member
Jun 28, 2019
119
12
58
45
Hi,

I know that is possible to use ZFS-local filesystem with proxmox with LOCAL disks.. But if I configure an iscsi LUN via open-iscsi/multipahd locally at proxmox node and than create a ZFS filesystem on top of it, will proxmox recognize this disk/lun as local disk ? or ZFS-local is only supported with local disks attached over a SATA/SAS Controller?
 
In Linux, there is no difference in local or remote block devices. This difference is abstracted at that layer you work with disks, so you can do whatever you want - also creating ZFS on a iSCSI or FC-backed remote LUN. You will however have problems if you present the LUN to other machines. Only one machine can use it at one time, because it is not a cluster-aware system.
 
Do you mean ZFS over iSCSI for Proxmox VE? See the supported storage types.

No, I meant use ZFS-Local over an iSCSI attached device (via open-iscsi/multipathd), I thought the ZFS-local was only supported with SAS attached disks.. but as LnxBil said, there is no difference if the disk is a SAS attached or an iSCSI lun.. once it's not shared to others hosts on SAN will be treated as local disk..

Thanks in advance !!!