Device not found

Software-based VM-centric and flash-friendly VM storage + free version
Post Reply
lam2026
Posts: 1
Joined: Thu Jul 16, 2026 2:48 am

Thu Jul 16, 2026 3:05 am

Hi everyone,

I am a new StarWind VSAN Free user and I am currently learning the ropes with VSAN technology.

I only have a single node right now. I have set up a Windows Server 2025 environment and installed the StarWind VSAN Free Windows application (bare-metal, not using the CVM). I successfully created a standalone device named imagefile1 and added it to a target.

When I list the targets using the enumDevicesTargets.ps1 script, it shows up correctly:
Target:
Name : iqn.2008-08.com.starwindsoftware:abbotthost1.cluster.local-vsan1
Id : 0x000001237E9FE540
Alias : vsan1
IsClustered : True
Devices : imagefile1
However, when I try to test other scripts, specifically MaintenanceMode.ps1/ CheckMaintenanceMode.ps1, the CLI returns the following warning:

WARNING: Device {imagefile1} not found
For reference, here are the parameters I am using in the script:

Code: Select all

param($addr="127.0.0.1", $port=3261, $user="root", $password="starwind",
	  $deviceName="imagefile1",
	  $enable=$true,
	  $force=$false)
And here is the corresponding device entry from my starwind.cfg:

Code: Select all

<device name="imagefile1" header="Headers\img1\img1.swdsk" node="0"/>
Does anyone know why the maintenance script might be failing to find the device, or if I am formatting the $deviceName parameter incorrectly? or if there is no maintance mode to enable because I am a standalone node? Any guidance would be greatly appreciated!

Thanks in advance.
Post Reply