Exact location of container in filesystem

Asked by Pushkaraj

I have used swift-get-nodes command to find container's location.I got following output:
I want to ask you,where can i get exact location from following output...
Thank you
OUTPUT:

root@ubuntu:~/swift# swift-get-nodes /etc/swift/container.ring.gz AUTH_admin mycontainer

Account AUTH_admin
Container mycontainer
Object None

Partition 255108
Hash f9210072be11fd83b7e086f855758bda

Server:Port Device 127.0.0.1:6041 sda4
Server:Port Device 127.0.0.1:6011 sda1
Server:Port Device 127.0.0.1:6021 sda2
Server:Port Device 127.0.0.1:6031 sda3 [Handoff]

curl -I -XHEAD "http://127.0.0.1:6041/sda4/255108/AUTH_admin/mycontainer"
curl -I -XHEAD "http://127.0.0.1:6011/sda1/255108/AUTH_admin/mycontainer"
curl -I -XHEAD "http://127.0.0.1:6021/sda2/255108/AUTH_admin/mycontainer"
curl -I -XHEAD "http://127.0.0.1:6031/sda3/255108/AUTH_admin/mycontainer" # [Handoff]

ssh 127.0.0.1 "ls -lah /srv/node/sda4/containers/255108/bda/f9210072be11fd83b7e086f855758bda/"
ssh 127.0.0.1 "ls -lah /srv/node/sda1/containers/255108/bda/f9210072be11fd83b7e086f855758bda/"
ssh 127.0.0.1 "ls -lah /srv/node/sda2/containers/255108/bda/f9210072be11fd83b7e086f855758bda/"
ssh 127.0.0.1 "ls -lah /srv/node/sda3/containers/255108/bda/f9210072be11fd83b7e086f855758bda/" # [Handoff]

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chuck Thier (cthier) said :
#1

The last part shows where each replica can be found. For example:

 /srv/node/sda4/containers/255108/bda/f9210072be11fd83b7e086f855758bda/

Can you help with this problem?

Provide an answer of your own, or ask Pushkaraj for more information if necessary.

To post a message you must log in.