Skip to content

Instantly share code, notes, and snippets.

@clayg
Created July 22, 2015 20:28
Show Gist options
  • Save clayg/88950d77d25a441635e6 to your computer and use it in GitHub Desktop.
Save clayg/88950d77d25a441635e6 to your computer and use it in GitHub Desktop.
vagrant@saio:~$ find /srv/node*/sdb*/object* -name \*.data
/srv/node2/sdb2/objects/395/de5/62fb49af312e4a1b72c3d5db1d9e0de5/1437596787.65338.data
/srv/node3/sdb3/objects/395/de5/62fb49af312e4a1b72c3d5db1d9e0de5/1437596787.65338.data
/srv/node4/sdb4/objects/395/de5/62fb49af312e4a1b72c3d5db1d9e0de5/1437596787.65338.data
vagrant@saio:~$ rm /srv/node4/sdb4/objects/395/de5/62fb49af312e4a1b72c3d5db1d9e0de5/1437596787.65338.data
vagrant@saio:~$
vagrant@saio:~$ swift-init object-replicator once -nv
WARNING: Unable to modify file descriptor limit. Running as non-root?
WARNING: Unable to modify max process limit. Running as non-root?
Removing stale pid file /var/run/swift/object-replicator/1.pid.d
Removing stale pid file /var/run/swift/object-replicator/2.pid.d
Removing stale pid file /var/run/swift/object-replicator/3.pid.d
Removing stale pid file /var/run/swift/object-replicator/4.pid.d
Running object-replicator once...(/etc/swift/object-server/1.conf.d)
Running object-replicator once...(/etc/swift/object-server/2.conf.d)
Running object-replicator once...(/etc/swift/object-server/3.conf.d)
Running object-replicator once...(/etc/swift/object-server/4.conf.d)
object-6030: Running object replicator in script mode.
object-6020: Running object replicator in script mode.
object-6020: 1/1 (100.00%) partitions replicated in 0.02s (65.42/sec, 0s remaining)
object-6020: 1 suffixes checked - 0.00% hashed, 0.00% synced
object-6020: Partition times: max 0.0140s, min 0.0140s, med 0.0140s
object-6020: Object replication complete (once). (0.00 minutes)
object-6020: Exited
object-6010: Running object replicator in script mode.
object-6010: Nothing replicated for 0.00453996658325 seconds.
object-6010: Object replication complete (once). (0.00 minutes)
object-6030: 1/1 (100.00%) partitions replicated in 0.04s (22.48/sec, 0s remaining)
object-6030: 1 suffixes checked - 0.00% hashed, 0.00% synced
object-6010: Exited
object-6030: Partition times: max 0.0419s, min 0.0419s, med 0.0419s
object-6030: Object replication complete (once). (0.00 minutes)
object-6030: Exited
object-6040: Running object replicator in script mode.
object-6040: 1/1 (100.00%) partitions replicated in 0.01s (98.08/sec, 0s remaining)
object-6040: 1 suffixes checked - 0.00% hashed, 0.00% synced
object-6040: Partition times: max 0.0085s, min 0.0085s, med 0.0085s
object-6040: Object replication complete (once). (0.00 minutes)
object-6040: Exited
vagrant@saio:~$ find /srv/node*/sdb*/object* -name \*.data
/srv/node2/sdb2/objects/395/de5/62fb49af312e4a1b72c3d5db1d9e0de5/1437596787.65338.data
/srv/node3/sdb3/objects/395/de5/62fb49af312e4a1b72c3d5db1d9e0de5/1437596787.65338.data
vagrant@saio:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment