I had to upgrade OpenSolaris svn132 to new Oracle Solaris 11 express and this is what i learned.
iSCSI
We use comstar iscsi target which is also in solaris 11. First backup its configurations:
# svccfg export -a stmf > COMSTAR.backup
Bring all initiators offline and export zfs pools. If you get error that zpool is in use, you can delete luns with sbdadm delete-lu GUID ( dont worry, they will be imported later )
Now when you have freshly installed Solaris 11 express, export all the pools and restore the comstar backup:
# svccfg import COMSTAR.backup
Import luns with sbdadm import-lu /dev/zvol/rdsk/zpool/share and verify that the luns are up. After this enable stmf and verify that the target groups are restored from backup with stmfadm list-tg.
If everything is in place, you can start iscsi/target.
Leave a Reply
You must be logged in to post a comment.