Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

does this look right?

My rings

srv:/etc/swift # swift-ring-builder container.builder
account.builder, build version 20
262144 partitions, 1.000000 replicas, 1 regions, 1 zones, 4 devices, 0.73 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       127.0.0.1  6012      sdb1   1.00         66    0.73
             1     1     1       127.0.0.1  6012      sdc1   0.00          0    0.00
             2     1     1       127.0.0.1  6012      sdd1 2000.00     131039   -0.00
             3     1     1       127.0.0.1  6012      sde1 2000.00     131039   -0.00
srv:/etc/swift # swift-ring-builder container.builder
container.builder, build version 20
262144 partitions, 1.000000 replicas, 1 regions, 1 zones, 4 devices, 0.79 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       127.0.0.1  6011      sdb1   1.00         65   -0.79
             1     1     1       127.0.0.1  6011      sdc1   0.00          0    0.00
             2     1     1       127.0.0.1  6011      sdd1 2000.00     131040    0.00
             3     1     1       127.0.0.1  6011      sde1 2000.00     131039   -0.00
srv:/etc/swift # swift-ring-builder object.builder
object.builder, build version 17
262144 partitions, 1.000000 replicas, 1 regions, 1 zones, 4 devices, 0.79 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       127.0.0.1  6010      sdb1   1.00         65   -0.79
             1     1     1       127.0.0.1  6010      sdc1   0.00          0    0.00
             2     1     1       127.0.0.1  6010      sdd1 2000.00     131039   -0.00
             3     1     1       127.0.0.1  6010      sde1 2000.00     131040    0.00

Disk utilization

    srv:/etc/swift # df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        28G  3.1G   24G  12% /
udev            1.9G  140K  1.9G   1% /dev
tmpfs           1.9G     0  1.9G   0% /dev/shm
/dev/sdb1       2.0T  2.0T   22G  99% /media/swift/sdb1
/dev/sdc1       2.0T  2.0T  7.6G 100% /media/swift/sdc1
/dev/sdd1       2.0T  2.6G  2.0T   1% /media/swift/sdd1
/dev/sde1       2.0T  2.5G  2.0T   1% /media/swift/sde1

Recon -d

srv:/etc/swift # swift-recon -d
===============================================================================
--> Starting reconnaissance on 1 hosts
===============================================================================
[2014-05-26 21:07:30] Checking disk usage now
Distribution Graph:
  0%    2 *********************************************************************
 98%    1 **********************************
 99%    1 **********************************
Disk usage: space used: 4370558619648 of 8791793860608
Disk usage: space free: 4421235240960 of 8791793860608
Disk usage: lowest: 0.12%, highest: 99.63%, avg: 49.7117958967%
===============================================================================

Doesn't seem to be balancing.. and cant seem to get this to work as needed to level the disks out, I want to expand to multi node and multi replica though need to get the disks level'd first as it is impacting users.

Any direction would be appreciated.