Ceph object storage offers a fast way to store data, but setting up file sharing takes some work.
Under the hood, Ceph object storage consists of many storage nodes that chop files into binary objects and distribute them over object storage devices (OSDs). A typical Ceph configuration has hundreds or even more than a thousand OSD nodes.
Ceph offers four different ways users can access the object store:
- A Reliable Autonomic Distributed Object Store (RADOS) Gateway that's compatible with Amazon Simple Storage Service (S3);
- An iSCSI interface, which turns Ceph into an iSCSI SAN;
- CephFS, a POSIX-compliant file system that is locally mounted on the Ceph client; and
- The RADOS block device, which presents a typical Linux block device as if it were a local hard disk.
What about file sharing?
Providing file-sharing interfaces to Ceph is possible, but it must be through an additional layer to the object store. Companies can turn to the network file system, which allows administrators to create shares that give other Linux and Unix machines access to the NFS shares.
To provide NFS access to Ceph object storage, administrators must consider which Ceph access method to use. The S3-compatible interface is not a suitable candidate because it is mainly for cloud applications that must access storage directly using REST.
The RBD driver and the CephFS interface can provide NFS access to Ceph object storage, however. From the perspective of the Linux operating system, the RBD is just another block device on which an administrator could create any Linux file system, and the CephFS file system is just another POSIX-compliant file system, both of which can be shared using NFS shares.
Guide to OpenStack Swift, Cinder and more
HCI, containers on Red Hat Ceph, Gluster horizon
Dig Deeper on Storage architecture and strategy
Related Q&A from Sander van Vugt
Containers in the data center can help maximize server capacity, but there are a few things to consider before a Docker or Kubernetes implementation. Continue Reading
File management is an essential part of working within Linux. Knowing a few basic commands makes it easier to move content and avoid file ... Continue Reading
Linux has a security framework with multiple layers, which makes it hard to maintain permissions and privileges. User-based profiles and whitelisting... Continue Reading