Location of Container

Asked by Pushkaraj on 2012-12-04

I have used swift-get-nodes command to find the location of container in filesystem.
I got following output.I got to know that 1st line indicates exact location of container.So i want to ask,what is the meaning of other 3 lines??

OUTPUT:
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]

Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
Tom Fifield
Solved:
2012-12-06
Last query:
2012-12-06
Last reply:
2012-12-05
Best Tom Fifield (fifieldt) said : #1

The other three lines are also locations, or potential locations for the container.

As you probably know, by default, swift stores 3 replicas of each object.

The first three lines are the location of each replica. In this case, you appear to be running a swift-all-in-one setup, so your locations are all within 127.0.0.1, but you will notice that each is on a different disk partition.

The fourth line follows the same principle - but it is a "handoff" location. Essentially, if there is a problem with one of the first three locations, the fourth location will be used.

Hope that helps!

Pushkaraj (pushkarajs10) said : #2

thank you very much :)

On 5 December 2012 10:55, Tom Fifield
<email address hidden>wrote:

> Your question #215946 on Ceilometer changed:
> https://answers.launchpad.net/ceilometer/+question/215946
>
> Status: Open => Answered
>
> Tom Fifield proposed the following answer:
> The other three lines are also locations, or potential locations for the
> container.
>
> As you probably know, by default, swift stores 3 replicas of each
> object.
>
> The first three lines are the location of each replica. In this case,
> you appear to be running a swift-all-in-one setup, so your locations are
> all within 127.0.0.1, but you will notice that each is on a different
> disk partition.
>
> The fourth line follows the same principle - but it is a "handoff"
> location. Essentially, if there is a problem with one of the first three
> locations, the fourth location will be used.
>
> Hope that helps!
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ceilometer/+question/215946/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ceilometer/+question/215946
>
> You received this question notification because you asked the question.
>

Pushkaraj (pushkarajs10) said : #3

Thanks Tom Fifield, that solved my question.

Pushkaraj (pushkarajs10) said : #4

LinkedIn
------------

I'd like to add you to my professional network on LinkedIn.

- Pushkaraj

Pushkaraj Shingre
Technical Analyst at eGain Corporation
Pune Area, India

Confirm that you know Pushkaraj Shingre:
https://www.linkedin.com/e/-ftxpa7-hmlzl9y3-2j/isd/17209801044/ZoXnfMOp/?hs=false&tok=2BSTD5aIC4jRY1

--
You are receiving Invitation to Connect emails. Click to unsubscribe:
http://www.linkedin.com/e/-ftxpa7-hmlzl9y3-2j/XxiOrHZ2x2OFV_HxNP3cchZhPZwBq7zuf3JoYhtETv8HVWHf_RBGHC/goo/question215946%40answers%2Elaunchpad%2Enet/20061/I5711638387_1/?hs=false&tok=2D45QFRFa4jRY1

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.