Swift swap hard drive out for new drive

asked 2014-07-03 05:52:45 -0500

blazesurfer gravatar image

Hi looking to remove z1-10.48.40.153/sdb1 and z1-10.48.40.153/sdc1

account.builder, build version 47
262144 partitions, 2.000000 replicas, 1 regions, 2 zones, 8 devices, 12.50 balance
The minimum number of hours before a partition can be reassigned is 1
Devices:    id  region  zone      ip address  port      name weight partitions balance meta
             0     1     1      10.48.40.153  6012      sdb1 1250.00      49986   12.50
             1     1     1      10.48.40.153  6012      sdc1 1500.00      58871   10.42
             2     1     1      10.48.40.153  6012      sdd1 2000.00      76644    7.81
             3     1     1      10.48.40.153  6012      sde1 2000.00      76643    7.81
             4     1     2    10.112.22.131  6002      sdb1 2000.00      65536   -7.81
             5     1     2    10.112.22.131  6002      sdc1 2000.00      65536   -7.81
             6     1     2    10.112.22.131  6002      sdd1 2000.00      65536   -7.81
             7     1     2    10.112.22.131  6002      sde1 2000.00      65536   -7.81

does it look like i am going about it right. gradually dropping their weight?

ie swift-ring-builder account.builder set_weight z110.48.40.153/sdb1 decreased value by 250 wait a day and then do it again

copy rings out to all nodes each time i do it

edit retag flag offensive close merge delete