Software-based VM-centric and flash-friendly VM storage + free version
Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)
-
cre8toruk
- Posts: 16
- Joined: Fri Jan 22, 2021 5:17 pm
Fri Jan 22, 2021 11:08 pm
Hi, hopefully a quick question... When I do a Get-devices I get a long list of devices that I previously setup but have subsequently removed (whilst playing around with settings etc).
Is there a way of cleaning out the old devices so I can start with a clean slate?
thanks in advance,
Paul.
-
yaroslav (staff)
- Staff
- Posts: 2338
- Joined: Mon Nov 18, 2019 11:11 am
Sat Jan 23, 2021 8:28 am
Hi,
Yes. Go to StarWind.cfg.
1. Make sure that HA devices are synchronized and available to all client hosts.
2. Pause node in the cluster with roles drain (if that's a Hyper-V cluster)
3. Stop StarWindService.
4. Copy StarWind.cfg.
5. Open original StarWind.cfg.
6. At the end of the file there will be <device image> and <target> entries. Remove those you do not like/need.
7. Start the service.
8. Wait for fast sync and confirm the changes.
9. Repeat for other node(s).
P.s. make sure to delete HA volumes you do not use from the underlying disk.
P.p.s. Please, check the StarWindX/Samples/powershell folder. There should be a removal script.