<div dir="ltr"><div><div>This may be the case of a node removed from cluster for maintenance.<br></div><div>During maintenance one or more vdi get deleted.<br></div>The node gets inserted backup in the cluster without clearing all its objects (most of them can be reused).<br>
<br>Sheepdog daemon version 0.8.0_223_ge4735ba<br><br>dog node list<br> Id Host:Port V-Nodes Zone<br> 0 <a href="http://192.168.10.4:7000">192.168.10.4:7000</a> 100 67807424<br> 1 <a href="http://192.168.10.5:7000">192.168.10.5:7000</a> 209 84584640<br>
2 <a href="http://192.168.10.6:7000">192.168.10.6:7000</a> 101 101361856<br> 3 <a href="http://192.168.10.7:7000">192.168.10.7:7000</a> 101 118139072<br><br></div><div>dog cluster format<br></div>
<div><br>dog vdi create -P test 10G<br><br>dog node kill 3<br><br>dog vdi delete test<br></div><div><br>Insert backup node id 3<br><br>After recovery node id 3 still has data that I consider to be garbage.<br><br>dog node info<br>
Id Size Used Avail Use%<br> 0 217 GB 0.0 MB 217 GB 0%<br> 1 452 GB 0.0 MB 452 GB 0%<br> 2 220 GB 0.0 MB 220 GB 0%<br> 3 220 GB 6.8 GB 213 GB 3%<br>Total 1.1 TB 6.8 GB 1.1 TB 0%<br>
<br></div><br><div><br></div></div>