[sheepdog-users] garbage objects not removed after recovery
Valerio Pachera
sirio81 at gmail.com
Fri Jul 4 13:13:02 CEST 2014
This may be the case of a node removed from cluster for maintenance.
During maintenance one or more vdi get deleted.
The node gets inserted backup in the cluster without clearing all its
objects (most of them can be reused).
Sheepdog daemon version 0.8.0_223_ge4735ba
dog node list
Id Host:Port V-Nodes Zone
0 192.168.10.4:7000 100 67807424
1 192.168.10.5:7000 209 84584640
2 192.168.10.6:7000 101 101361856
3 192.168.10.7:7000 101 118139072
dog cluster format
dog vdi create -P test 10G
dog node kill 3
dog vdi delete test
Insert backup node id 3
After recovery node id 3 still has data that I consider to be garbage.
dog node info
Id Size Used Avail Use%
0 217 GB 0.0 MB 217 GB 0%
1 452 GB 0.0 MB 452 GB 0%
2 220 GB 0.0 MB 220 GB 0%
3 220 GB 6.8 GB 213 GB 3%
Total 1.1 TB 6.8 GB 1.1 TB 0%
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20140704/b9662ff2/attachment-0004.html>
More information about the sheepdog-users
mailing list