Hello. I am trying to setup a couple of VSANs (free) onto two VM's to be used for a SQL FCI/AG system. I am painfully uneducated on Powershell, so my apologies for the 'basic' questions I'm asking.
After installing StarWind VSAN Free on each VM, I began setting up the LUNs on the first VM (with help from a colleague who is now unavailable) by running the following PS commands, which seemed to be successful:
New-ImageFile -server $server -path "C:\SWStorage" -fileName "Quorum" -size 1 (<--this size is what messed us up)
$device = Add-ImageDevice -server $server -path "C:\SWStorage" -fileName "Quorum"
$target = New-Target -server $server -alias "QuorumTarget" -devices $device.Name
...then, after discovering and connecting to the Target on the iSCSI initiator, we realized that the "1" we provide in the size value means 1 MB, which isn't large enough to do anything with.
So, the problem I have now is how to remove all of this so that I can recreate it with size 1024 (1 GB). I removed it from the iSCSI initiator on the cluster node, but I'm not sure how to remove/undo the target/device/ImageFile in order to start clean. I'm most likely just stuck on syntax, but not sure. Any help is highly appreciated.
The Latest Gartner® Magic Quadrant™Hyperconverged Infrastructure Software