Where are objects and containers in storage nodes? And Can I see them in file system?

Asked by Qi Weining

I install swift SAIO in ubuntu. There are 4 nodes, "/mnt/sdb1/1 /mnt/sdb1/2 /mnt/sdb1/3 /mnt/sdb1/4
 /srv/1/node/sdb1 /srv/2/node/sdb2 /srv/3/node/sdb3 /srv/4/node/sdb4 ".
After I upload containers and objects, I can download them by swift. But I can not find them in the above catalogues in ubuntu.
Are the objects hidden by swift? How can I see the objects from ubuntu?

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
serious (guanwen) said :
#1

Inside each folder such as /srv/1/node/sdb1, you might see objects, container and account etc. Using ls -l inside objects folder,
you will see a lot of subfolders in a format of number. cd into one of these folders, and then another subfolder, you will
see your files is storage with a name starting with number, but with ".data" as extension.

For example:

rw-------. 1 swift swift 19590144 Oct 17 17:01 1382050859.58144.data

Can you help with this problem?

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

To post a message you must log in.