Ask Your Question

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

asked 2013-10-22 08:07:10 -0500

qi-weining gravatar image

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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-10-23 17:54:31 -0500

guanwen gravatar image

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

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-10-22 08:07:10 -0500

Seen: 38 times

Last updated: Oct 23 '13