SOLVED: iSCSI showed all the Zols on my SSD pool, but not on my hard disk pool

If a ZVol is associated with a VM, it will NOT be available as an iSCSI target and won’t be listed in the drop down.

Sure, this makes sense, but in theory, a ZVol used by a VM that is NOT active could be made available elsewhere. This is a bad idea and that’s why it is not allowed.

In Datasets, the icon on the Zvol Roles tells you whether you’ll be able to use the ZVol as an iSCSI target. If you see the icon of the screen/keyboard, it’s because your ZVol is assigned to a VM, so you won’t be able to assign it as an iSCSI target because even though your VM may not be running, it’s basically going to protect you from getting yourself into deep shit (if two VMs think they have exclusive access to the same ZVol).

Mystery solved.

Hopefully, I’ll save the next person the 15 minutes I spent trying to figure this out.

1 Like