How to know the Rados pools path.
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.
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
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
Hi all,
Thank u for your reply,Is there any option for the created pool is
mounting to another volume.
Thanks,
Ramu.
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.