rbd and Metaserver
Hi!
If I only want to use rbd - requires metaserver?
WBR,
Fyodor.
Quoted 4 lines · Fyodor Ustinov
Hi!
If I only want to use rbd - requires metaserver?
rbd does not require mds running.
Yehuda
Nope, the MDS is only required for the POSIX-compliant Ceph layer. -Greg
Quoted 12 lines · Fyodor Ustinov
Hi!
If I only want to use rbd - requires metaserver?
WBR,
Fyodor.--
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
2011/5/6 Gregory Farnum <[email protected]>:
Quoted 2 lines
Nope, the MDS is only required for the POSIX-compliant Ceph layer. -Greg
May I know that who will maintain the rbd_image_info if there is no MDS? From where, the api int rbd_list(rados_ioctx_t io, char *names, size_t *size) will get the data it want?
Thx!
Quoted 7 lines · tsk
2011/5/6 Gregory Farnum <[email protected]>:
Quoted 2 lines
Nope, the MDS is only required for the POSIX-compliant Ceph layer. -Greg
May I know that who will maintain the
rbd_image_infoif there is no MDS? From where, the api intrbd_list(rados_ioctx_t io, char *names, size_t *size)will get the data it want?
The rbd image header is stored as just another object in the object store.
sage
Hi Sage,
If I use librados:
int create(const std::string& oid, bool exclusive);
int write(const std::string& oid, bufferlist& bl, size_t len, uint64_t off);
int read(const std::string& oid, bufferlist& bl, size_t len, uint64_t off);MDS is not required to be running either?
What does the oid mean, is there any relation between oid and the object file name when it's dropped into an OSD server, like "current/0.c5_head/10000000004.000001ba_head"?
Thx very much!
2011/5/6 Sage Weil <[email protected]>:
Quoted 5 lines · tsk
Quoted 4 lines
2011/5/6 Gregory Farnum <[email protected]>:
Quoted 2 lines
Nope, the MDS is only required for the POSIX-compliant Ceph layer. -Greg
Quoted 8 lines
Quoted 3 lines
May I know that who will maintain the
rbd_image_infoif there is no MDS? From where, the api intrbd_list(rados_ioctx_t io, char *names, size_t *size)will get the data it want?The rbd image header is stored as just another object in the object store.
sage
--
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 9 lines · tsk
Hi Sage,
If I use librados:
int
create(const std::string& oid, bool exclusive);
intwrite(const std::string& oid, bufferlist& bl, size_t len, uint64_t off); intread(const std::string& oid, bufferlist& bl, size_t len, uint64_t off);MDS is not required to be running either?
Sage can verify but as I understand it, all rados clients need is the osd map from the mon server.
In other systems, that might be considered 'metadata', but in ceph, the 'metadata' server (MDS) tracks filesystem metadata.
Quoted 19 lines
What does the oid mean, is there any relation between oid and the object file name when it's dropped into an OSD server, like "current/0.c5_head/10000000004.000001ba_head"?
Thx very much!
2011/5/6 Sage Weil <[email protected]>:
Quoted 9 lines · tsk
Quoted 7 lines
2011/5/6 Gregory Farnum <[email protected]>:
Quoted 2 lines
Nope, the MDS is only required for the POSIX-compliant Ceph layer. -Greg
May I know that who will maintain the
rbd_image_infoif there is no MDS? From where, the api intrbd_list(rados_ioctx_t io, char *names, size_t *size)will get the data it want?
Quoted 9 lines
Quoted 4 lines
The rbd image header is stored as just another object in the object store.
sage
--
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
--
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 9 lines · tsk
Hi Sage,
If I use librados:
int create(const std::string& oid, bool exclusive); int write(const std::string& oid, bufferlist& bl, size_t len, uint64_t off); int read(const std::string& oid, bufferlist& bl, size_t len, uint64_t off);MDS is not required to be running either?
Right.
Quoted 3 lines
What does the oid mean, is there any relation between oid and the object file name when it's dropped into an OSD server, like "current/0.c5_head/10000000004.000001ba_head"?
^^^^^^^^^^^^^^^^^^^^
That part is the object name. The _head bit is part of the snap revision tracking.
sage
Quoted 25 lines
Thx very much!
2011/5/6 Sage Weil <[email protected]>:
Quoted 5 lines · tsk
Quoted 4 lines
2011/5/6 Gregory Farnum <[email protected]>:
Quoted 2 lines
Nope, the MDS is only required for the POSIX-compliant Ceph layer. -Greg
Quoted 8 lines
Quoted 3 lines
May I know that who will maintain the
rbd_image_infoif there is no MDS? From where, the api intrbd_list(rados_ioctx_t io, char *names, size_t *size)will get the data it want?The rbd image header is stored as just another object in the object store.
sage
--
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 4 lines · Brian Chrisman
Sage can verify but as I understand it, all rados clients need is the osd map from the mon server.
In other systems, that might be considered 'metadata', but in ceph, the 'metadata' server (MDS) tracks filesystem metadata.
Let me just confirm that. It goes something like this:
mon manages things related to cluster membership, health and internal coordination.
osds store objects, in a flat hierarchy, only providing simple operations (not a real filesystem). This service is also called RADOS.
mds builds a POSIX filesystem from the object storage. MDS is the only component that really knows about filenames in the Ceph FS, chmod, etc.
Signature · 1 line
:(){ :|:&};: