[sheepdog-users] resize of sheepdog device

Liu Yuan namei.unix at gmail.com
Wed Dec 12 04:19:52 CET 2012


On 12/12/2012 11:02 AM, Liu Yuan wrote:
>> 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?
> For now, yes. I'll look if live resize of node is possible.
> 

I think you can do following process to resize the node space:

1. 'collie node kill' the node
2. 'rm' all the data in /path/to/store
3. restart the node

Then you'll see the node is resized automatically and data is rebalanced.

Thanks,
Yuan



More information about the sheepdog-users mailing list