Skip to contentSkip to conversation

How to know the Rados pools path.

DISCUSSION ramu 4 participants 5 messages Aug 16, 2012 – Aug 17, 2012

lore
Share & tools
lore

ramu

author
#0 lore raw

Hi,

Iam creating rados pools from java-rados,it's creating the pool fine.
I don't know this pool location on disks,please help me to know the location of rados pool(means path).It is showing the list of pools from the command "rados lspools".But there is not showing the path.

Thanks,
Ramu.

#1 lore raw
Quoted 7 lines · ramu

Hi,

Iam creating rados pools from java-rados,it's creating the pool fine.
I don't know this pool location on disks,please help me to know the location of rados pool(means path).It is showing the list of pools from the command "rados lspools".But there is not showing the path.

Why do you want to know the pool location?

First, there is no such hardcoded location. On the disk of an OSD you'll find directories for each PG with their files in them, but I wouldn't recommended digging in there.

There is no need for it. You know the pool name and you can interact with your objects.

Wido

Quoted 9 lines

Thanks,
Ramu.

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 11 lines · Wido den Hollander
Quoted 8 lines · ramu

Hi,

Iam creating rados pools from java-rados,it's creating the pool fine.
I don't know this pool location on disks,please help me to know the location of rados pool(means path).It is showing the list of pools from the command "rados lspools".But there is not showing the path.

Quoted 3 lines

Why do you want to know the pool location?

First, there is no such hardcoded location. On the disk of an OSD you'll find directories for each PG with their files in them, but I wouldn't recommended digging in there.

To expand on this a little: a pool does not exist in a single location. It's sharded into placement groups (PGs), which are then distributed across the OSDs -- but they can and do move in response to changing cluster conditions. :)

If you mean that you're trying to mount a rados pool in linux, it doesn't work like that. RADOS pools are closer to S3 buckets than to a LUN or a filesystem volume...
-Greg

author
#3 lore raw

Hi all,

Thank u for your reply,Is there any option for the created pool is
mounting to another volume.

Thanks,
Ramu.

#4 lore raw
Quoted 2 lines · ramu

Thank u for your reply,Is there any option for the created pool is
mounting to another volume.

RADOS pools are not filesystems. They cannot be mounted.

The Ceph Distributed File System stores it's metadata in one pool (default "metadata") and data in one or more pools (default "data"), but that is more like a database that is actually stored in a file -- that doesn't mean every file knows SQL.