Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@swift-z02:/# swift-get-nodes /etc/swift/container.ring.gz swift-odm Backup
- Account swift-odm
- Container Backup
- Object None
- Partition 72189
- Hash 467f4f5f5f4ae60b7dbe4fc6af45bf6d
- Server:Port Device 1.2.3.4:49168 swift-z01
- Server:Port Device 1.2.3.5:49161 swift-z03
- Server:Port Device 1.2.3.6:49155 swift-z02
- curl -I -XHEAD "http://1.2.3.4:49168/swift-z01/72189/swift-odm/Backup"
- curl -I -XHEAD "http://1.2.3.5:49161/swift-z03/72189/swift-odm/Backup"
- curl -I -XHEAD "http://1.2.3.6:49155/swift-z02/72189/swift-odm/Backup"
- Use your own device location of servers:
- such as "export DEVICE=/srv/node"
- ssh 1.2.3.4 "ls -lah ${DEVICE:-/srv/node*}/swift-z01/containers/72189/f6d/467f4f5f5f4ae60b7dbe4fc6af45bf6d"
- ssh 1.2.3.5 "ls -lah ${DEVICE:-/srv/node*}/swift-z03/containers/72189/f6d/467f4f5f5f4ae60b7dbe4fc6af45bf6d"
- ssh 1.2.3.6 "ls -lah ${DEVICE:-/srv/node*}/swift-z02/containers/72189/f6d/467f4f5f5f4ae60b7dbe4fc6af45bf6d"
- note: `/srv/node*` is used as default value of `devices`, the real value is set in the config file on each storage node.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement