Skip to content

Instantly share code, notes, and snippets.

@cfeckardt
Created December 14, 2016 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cfeckardt/562d5281ea14d520a56d10b6bf67ce5c to your computer and use it in GitHub Desktop.
Save cfeckardt/562d5281ea14d520a56d10b6bf67ce5c to your computer and use it in GitHub Desktop.
Account portal_0CE571BC7F1B4620B506
Container EDBF69825052593DDF2537E3
Object None
Partition 16
Hash 084d4be73311c1bc018847356f73d0af
Server:Port Device 10.11.1.203:6001 sdc
Server:Port Device 10.11.3.201:6001 sdb
Server:Port Device 10.11.3.203:6001 sdc
Server:Port Device 10.11.1.201:6001 sdb [Handoff]
Server:Port Device 10.11.1.202:6001 sdc [Handoff]
Server:Port Device 10.11.3.202:6001 sdb [Handoff]
curl -I -XHEAD "http://10.11.1.203:6001/sdc/16/portal_0CE571BC7F1B4620B506/EDBF69825052593DDF2537E3"
curl -I -XHEAD "http://10.11.3.201:6001/sdb/16/portal_0CE571BC7F1B4620B506/EDBF69825052593DDF2537E3"
curl -I -XHEAD "http://10.11.3.203:6001/sdc/16/portal_0CE571BC7F1B4620B506/EDBF69825052593DDF2537E3"
curl -I -XHEAD "http://10.11.1.201:6001/sdb/16/portal_0CE571BC7F1B4620B506/EDBF69825052593DDF2537E3" # [Handoff]
curl -I -XHEAD "http://10.11.1.202:6001/sdc/16/portal_0CE571BC7F1B4620B506/EDBF69825052593DDF2537E3" # [Handoff]
curl -I -XHEAD "http://10.11.3.202:6001/sdb/16/portal_0CE571BC7F1B4620B506/EDBF69825052593DDF2537E3" # [Handoff]
Use your own device location of servers:
such as "export DEVICE=/srv/node"
ssh 10.11.1.203 "ls -lah ${DEVICE:-/srv/node*}/sdc/containers/16/0af/084d4be73311c1bc018847356f73d0af"
ssh 10.11.3.201 "ls -lah ${DEVICE:-/srv/node*}/sdb/containers/16/0af/084d4be73311c1bc018847356f73d0af"
ssh 10.11.3.203 "ls -lah ${DEVICE:-/srv/node*}/sdc/containers/16/0af/084d4be73311c1bc018847356f73d0af"
ssh 10.11.1.201 "ls -lah ${DEVICE:-/srv/node*}/sdb/containers/16/0af/084d4be73311c1bc018847356f73d0af" # [Handoff]
ssh 10.11.1.202 "ls -lah ${DEVICE:-/srv/node*}/sdc/containers/16/0af/084d4be73311c1bc018847356f73d0af" # [Handoff]
ssh 10.11.3.202 "ls -lah ${DEVICE:-/srv/node*}/sdb/containers/16/0af/084d4be73311c1bc018847356f73d0af" # [Handoff]
note: `/srv/node*` is used as default value of `devices`, the real value is set in the config file on each storage node.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment