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:
However, when I try to test other scripts, specifically MaintenanceMode.ps1/ CheckMaintenanceMode.ps1, the CLI returns the following warning:Target:
Name : iqn.2008-08.com.starwindsoftware:abbotthost1.cluster.local-vsan1
Id : 0x000001237E9FE540
Alias : vsan1
IsClustered : True
Devices : imagefile1
For reference, here are the parameters I am using in the script:WARNING: Device {imagefile1} not found
Code: Select all
param($addr="127.0.0.1", $port=3261, $user="root", $password="starwind",
$deviceName="imagefile1",
$enable=$true,
$force=$false)Code: Select all
<device name="imagefile1" header="Headers\img1\img1.swdsk" node="0"/>Thanks in advance.