rados is a utility for interacting with a Ceph object storage cluster (RADOS), part of the Ceph distributed storage system.
Interact with the given pool. Required by most commands.
Read from the given pool snapshot. Valid for all pool-specific read operations.
will specify an input file to be passed along as a payload with the command to the monitor cluster. This is only used for specific monitor commands.
will write any payload returned by the monitor cluster with its reply to outfile. Only specific monitor commands (e.g. osd getmap) return a payload.
Use ceph.conf configuration file instead of the default /etc/ceph/ceph.conf to determine monitor addresses during startup.
Connect to specified monitor (instead of looking through ceph.conf).
To view cluster utilization:
rados df
To get a list object in pool foo sent to stdout:
rados -p foo ls -
To write an object:
rados -p foo put myobject blah.txt
To create a snapshot:
rados -p foo mksnap mysnap
To delete the object:
rados -p foo rm myobject
To read a previously snapshotted version of an object:
rados -p foo -s mysnap get myobject blah.txt.old
rados is part of the Ceph distributed storage system. Please refer to the Ceph documentation at http://ceph.com/docs for more information.