Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Look at your "weight" parameter. You have set it to 2000 for the new drives but for the original members it is set to 1 or 0. This will screwup the balance. You can change the weight for those original ones and run the rebalance command and you should be set.

# swift-ring-builder object.builder set_weight z1-127.0.0.1:6010/sdb1 2000 //Change weight for sdb1
# swift-ring-builder container.builder                                     //Verify the changes
# swift-ring-builder container.builder rebalance                           //Commit the changes

You may also want change your ip from 127.0.0.1 to your actual ip address as you will have to do that to have multiple nodes.

Look at your "weight" parameter. You have set it to 2000 for the new drives but for the original members it is set to 1 or 0. This will screwup the balance. You can change the weight for those original ones and run the rebalance command and you should be set.

# swift-ring-builder object.builder set_weight z1-127.0.0.1:6010/sdb1 2000 //Change weight for sdb1
weight
# swift-ring-builder container.builder                                     //Verify the changes
# swift-ring-builder container.builder rebalance                           //Commit the changes

You may also want change your ip from 127.0.0.1 to your actual ip address as you will have to do that to have multiple nodes.

Look at your "weight" parameter. You have set it to 2000 for the new drives but for the original members it is set to 1 or 0. This will screwup the balance. You can change the weight for those original ones and run the rebalance command and you should be set.

# swift-ring-builder object.builder set_weight z1-127.0.0.1:6010/sdb1 2000 //Change weight
# swift-ring-builder container.builder object.builder                                        //Verify the changes
# swift-ring-builder container.builder object.builder rebalance                            //Commit the changes

You may also want change your ip from 127.0.0.1 to your actual ip address as you will have to do that to have multiple nodes.