OpenIndina: resize an iSCSI LUN exported to Microsoft Windows 2008

Just as a reference for future needs.

To resize a zvol exported as an iSCSI LUN to a Windows OS, you need to change the zvol size, then change the “iSCSI backend” the LUN changed size and then do a disk rescan on your Windows initiator.

Commands are:

  1. zfs set volsize=1T tank/volume
  2. sbdadm modify-lu -s 1T <GUID of the volume>
  3. Then on Windows, go to Server manager, choose Storage, right click on Disk management and select rescan. You should see some allocated space on the disk.


This entry was posted in Computer, Microsoft, OpenIndiana, Solaris, Storage, ZFS. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *