Ask Your Question
0

increase swift capacity

asked 2013-08-22 21:00:04 -0600

blazesurfer gravatar image

trying to add extra disk to a swift deployment.

i have the following.. single all.

original swit-ring-builder swift-ring-builder object.builder add r1z1-127.0.0.1:6010/sdb1 1000 (enter size–ie 1tb=1000) swift-ring-builder container.builder add r1z1-127.0.0.1:6011/sdb1 1000 swift-ring-builder account.builder add r1z1-127.0.0.1:6012/sdb1 1000

adding disk swift-ring-builder object.builder add r1z1-127.0.0.1:6010/sdc1 1000 (enter size–ie 1tb=1000) swift-ring-builder container.builder add r1z1-127.0.0.1:6011/sdc1 1000 swift-ring-builder account.builder add r1z1-127.0.0.1:6012/sdc1 1000

then when i run ring rebalance on each i get.

no partitions could be reassigned either none neeed to be or none can be due to min_part_hours[1]

any advice or direction to document to re read would be appreciated.. thanks

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2013-08-23 08:37:46 -0600

notmyname gravatar image

When Swift rebalances the rings, it ensures that the partitions don't shuffle around so frequently that end-users will see 404 errors. This is the reason for the min_part_hours setting. Ideally, min_part_hours should be set to at least the time it takes for your replication process to finish to ensure that the data has been successfully moved to its correct location before another rebalance occurs.

Alternatively, the ring isn't being further rebalanced because there isn't really any additional benefit to rebalancing.

If you run swift-ring-builder with no options, you'll get a fairly detailed usage/help message.

edit flag offensive delete link more

Comments

Thank you. the ring i have has no replication on it at present.. data is living on top of a redundant san. and is 3rd copy. so just a test for now. very cool tech and design options. Thanks

blazesurfer gravatar imageblazesurfer ( 2013-08-23 21:34:02 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-08-22 21:00:04 -0600

Seen: 919 times

Last updated: Aug 23 '13