[sheepdog-users] resize of sheepdog device

Valerio Pachera sirio81 at gmail.com
Tue Dec 11 17:19:58 CET 2012


Ok, this is something that should not happen, but I wanted to test it anyway:

Situation:
  3 nodes.
  1 partition of 1G for each node.

I was curios to see what was going to happen to a guest with a large
virtual space (10G) when it reaches the end of phisical space (2.8G):

  # collie node info
  Id      Size    Used    Use%
   0      920 MB  916 MB   99%
   1      920 MB  916 MB   99%
   2      978 MB  976 MB   99%
  Total   2.8 GB  2.7 GB   99%

Note: the guest was able to write 923M.

Sheepdog doesn't seem to give any warning in the logs.
The guest start creying wih I/O errors as I was aspecting.

But I wish to focus on another thing:
  I stoped the cluster
  Resized the partitions to 10G
  restarted the cluster

*I still get a cluster of 2.8G!*

# collie node info
  Id      Size    Used    Use%
   0      920 MB  916 MB   99%
   1      920 MB  916 MB   99%
   2      978 MB  976 MB   99%
  Total   2.8 GB  2.7 GB   99%

Do I have to re-run collie cluster format?
Am I going to loose vdi disks?



More information about the sheepdog-users mailing list