Synopsis
========
-| **rados** [ -m *monaddr* ] [ mkpool | rmpool *foo* ] [ -p | --pool
- *pool* ] [ -s | --snap *snap* ] [ -i *infile* ] [ -o *outfile* ]
- *command* ...
+| **rados** [ *options* ] [ *command* ]
Description
.. option:: --striper
Uses the striping API of rados rather than the default one.
- Available for stat, get, put, append, truncate, rm, ls and all xattr related operation
+ Available for stat, stat2, get, put, append, truncate, rm, ls
+ and all xattr related operation
Global commands
Show utilization statistics, including disk usage (bytes) and object
counts, over the entire system and broken down by pool.
-:command:`mkpool` *foo*
- Create a pool with name foo.
-
-:command:`rmpool` *foo* [ *foo* --yes-i-really-really-mean-it ]
- Delete the pool foo (and all its data).
-
:command:`list-inconsistent-pg` *pool*
List inconsistent PGs in given pool.
:command:`list-inconsistent-snapset` *pgid*
List inconsistent snapsets in given PG.
+
Pool specific commands
======================
:command:`put` *name* *infile* [--offset offset]
Write object name with start offset (default:0) to the cluster with contents from infile.
+ **Warning:** The put command creates a single RADOS object, sized just as
+ large as your input file. Unless your objects are of reasonable and consistent sizes, that
+ is probably not what you want -- consider using RGW/S3, CephFS, or RBD instead.
:command:`append` *name* *infile*
Append object name to the cluster with contents from infile.
:command:`rmxattr` *name* *attr*
Remove *attr* from the extended attributes of an object.
+:command:`stat` *name*
+ Get stat (ie. mtime, size) of given object
+
+:command:`stat2` *name*
+ Get stat (similar to stat, but with high precision time) of given object
+
:command:`listomapkeys` *name*
List all the keys stored in the object map of object name.
:command:`setomapheader` *name* *value*
Set the value of the object map header of object name.
+:command:`export` *filename*
+ Serialize pool contents to a file or standard output.\n"
+
+:command:`import` [--dry-run] [--no-overwrite] < filename | - >
+ Load pool contents from a file or standard input
+
+
Examples
========