--- /dev/null
+# TODO help should not fail
+ $ ceph --help
+ usage: ceph [options] [commands]
+ If no commands are specified, enter interactive mode.
+ Commands:
+ stop -- cleanly shut down file system
+ (osd|pg|mds) stat -- get monitor subsystem status
+ ...
+ Options:
+ -i infile
+ -o outfile
+ specify input or output file (for certain commands)
+ -s or --status
+ print current system status
+ -w or --watch
+ watch system status changes in real time (push)
+ --conf/-c Read configuration from the given configuration file
+ -D Run in the foreground.
+ -f Run in foreground. Show all log messages on stderr.
+ --id set ID
+ --name set ID.TYPE
+ --version show version and quit
+
+ [1]
--- /dev/null
+ $ ceph --name=foo
+ You must pass a string of the form TYPE.ID to the --name option. Valid types are: auth, mon, osd, mds, client
+ [1]
--- /dev/null
+# TODO help should not fail
+ $ rados --help
+ usage: rados [options] [commands]
+ Commands:
+ lspools list pools
+ df show per-pool and total usage
+
+ Pool commands:
+ get <obj-name> [outfile] fetch object
+ put <obj-name> [infile] write object
+ create <obj-name> create object
+ rm <obj-name> remove object
+ listxattr <obj-name>
+ getxattr <obj-name> attr
+ setxattr <obj-name> attr val
+ rmxattr <obj-name> attr
+ stat objname stat the named object
+ ls list objects in pool
+
+ chown 123 change the pool owner to auid 123
+ mapext <obj-name>
+ mkpool <pool-name> [123[ 4]] create pool <pool-name>'
+ [with auid 123[and using crush rule 4]]
+ rmpool <pool-name> remove pool <pool-name>'
+ mkpool <pool-name> create the pool <pool-name>
+ lssnap list snaps
+ mksnap <snap-name> create snap <snap-name>
+ rmsnap <snap-name> remove snap <snap-name>
+ rollback <obj-name> <snap-name> roll back object to snap <snap-name>
+
+ import <dir> import pool from a directory
+ export <dir> export pool into a directory
+ bench <seconds> write|seq|rand [-t concurrent_operations]
+ default is 16 concurrent IOs and 4 MB op size
+
+ Options:
+ -p pool
+ --pool=pool
+ select given pool by name
+ -b op_size
+ set the size of write ops for put or benchmarking -s name
+ --snap name
+ select given snap name for (read) IO
+ -i infile
+ -o outfile
+ specify input or output file (for certain commands)
+ --create-pool
+ create the pool that was specified
+ [1]
--- /dev/null
+# TODO handle --help properly, not as an error
+ $ radosgw_admin --help
+ unrecognized arg --help
+ usage: radosgw_admin <cmd> [options...]
+ commands:
+ user create create a new user
+ user modify modify user
+ user info get user info
+ user rm remove user
+ buckets list list buckets
+ policy read bucket/object policy
+ log show dump a log from specific bucket, date
+ options:
+ --uid=<id> S3 uid
+ --os-user=<group:name> OpenStack user
+ --email=<email>
+ --auth_uid=<auid> librados uid
+ --secret=<key> S3 key
+ --os-secret=<key> OpenStack key
+ --display-name=<name>
+ --bucket=<bucket>
+ --object=<object>
+ --date=<yyyy-mm-dd>
+ --conf/-c Read configuration from the given configuration file
+ -D Run in the foreground.
+ -f Run in foreground. Show all log messages on stderr.
+ --id set ID
+ --name set ID.TYPE
+ --version show version and quit
+
+ [1]