Search
The Best Hyperconverged Infrastructure (HCI) for Enterprise ROBO, SMB & Edge

Changing the LUN number

  • Troubleshooting
  • April 30, 2015

Resolution

Device name cannot be changed since it goes directly from StarWind source code and exist there as a constant value. Editing of the LUN number is available for stand-alone, non-HA basic image file device only.

Below is an instruction to change LUN number for non-HA device:

Open StarWind.cfg file that you can find in the StarWind installation folder.

Find the string of target you are interested in. For example:

<target name=”iqn.2008-08.com.starwindsoftware:sw-dev-pc5.starwind.local-storage3″ devices=”imagefile2,RamDrive1″ alias=”Storage3″ clustered=”Yes”/>

Add LUN numbers after devices names:

<target name=”iqn.2008-08.com.starwindsoftware:sw-dev-pc5.starwind.local-storage3″ devices=”imagefile2:5,RamDrive1:15” alias=”Storage3″ clustered=”Yes”/>

Restart StarWind service.

Request a Product Feature

To request a new product feature or to provide feedback on a StarWind product, please email to our support at support@starwind.com and put “Request a Product Feature” as the subject.

Hey! Looking for a reliable, high-performance, and cost-effective shared storage solution for your production cluster?
Dmytro Malynka
Dmytro MalynkaStarWind Virtual SAN Product Manager
We’ve got you covered! StarWind Virtual SAN (VSAN) is specifically designed to provide highly-available shared storage for Hyper-V, vSphere, and KVM clusters. With StarWind VSAN, simplicity is key: utilize the local disks of your hypervisor hosts and create shared HA storage for your VMs. Interested in learning more? Book a short StarWind VSAN demo now and see it in action!