Bases: cinder.volume.drivers.san.san.SanISCSIDriver
Executes commands relating to Solaris-hosted ISCSI volumes.
Basic setup for a Solaris iSCSI server:
pkg install storage-server SUNWiscsit
svcadm enable stmf
svcadm enable -r svc:/network/iscsi/target:default
pfexec itadm create-tpg e1000g0 ${MYIP}
pfexec itadm create-target -t e1000g0
Then grant the user that will be logging on lots of permissions. I’m not sure exactly which though:
zfs allow justinsb create,mount,destroy rpool
usermod -P’File System Management’ justinsb
usermod -P’Primary Administrator’ justinsb
Also make sure you can login using san_login & san_password/san_private_key
Creates a volume.
Deletes a volume.
Synchronously recreates an export for a logical volume.
Removes an export for a logical volume.