Display information of a user, and any potentially available
subusers and keys.
+:command:`user rename`
+ Renames a user.
+
:command:`user rm`
Remove a user.
:command:`bucket unlink`
Unlink bucket from specified user.
+:command:`bucket chown`
+ Link bucket to specified user and update object ACLs.
+ Use --marker to resume if command gets interrupted.
+
:command:`bucket stats`
Returns bucket statistics.
The radosgw user ID.
+.. option:: --new-uid=uid
+
+ ID of the new user. Used with 'user rename' command.
+
.. option:: --subuser=<name>
Name of the subuser.
Set the system flag on the user.
-.. option:: --bucket=bucket
+.. option:: --bucket=[tenant-id/]bucket
- Specify the bucket name.
+ Specify the bucket name. If tenant-id is not specified, the tenant-id
+ of the user (--uid) is used.
.. option:: --pool=<pool>
Specify the bucket id.
+.. option:: --bucket-new-name=[tenant-id/]<bucket>
+
+ Optional for `bucket link`; use to rename a bucket.
+ While tenant-id/ can be specified, this is never
+ necessary for normal operation.
+
.. option:: --shard-id=<shard-id>
- Optional for mdlog list, data sync status. Required for ``mdlog trim``.
+ Optional for mdlog list, bi list, data sync status. Required for ``mdlog trim``.
.. option:: --max-entries=<entries>
Remove the zones from list of zones to sync from.
+.. option:: --bucket-index-max-shards
+
+ Override a zone's or zonegroup's default number of bucket index shards. This
+ option is accepted by the 'zone create', 'zone modify', 'zonegroup add',
+ and 'zonegroup modify' commands, and applies to buckets that are created
+ after the zone/zonegroup changes take effect.
+
.. option:: --fix
Besides checking bucket index, will also fix it.
When specified with bucket deletion and bypass-gc set to true,
ignores bucket index consistency.
+.. option:: --max-concurrent-ios
+
+ Maximum concurrent ios for bucket operations. Affects operations that
+ scan the bucket index, e.g., listing, deletion, and all scan/search
+ operations such as finding orphans or checking the bucket index.
+ Default is 32.
+
Quota Options
=============
Set the job id (for orphans find)
-.. option:: --max-concurrent-ios
-
- Maximum concurrent ios for orphans find.
- Default is 32.
-
Orphans list-jobs options
=========================
Remove a user::
$ radosgw-admin user rm --uid=johnny
+
+Rename a user::
+
+ $ radosgw-admin user rename --uid=johny --new-uid=joe
Remove a user and all associated buckets with their contents::
$ radosgw-admin bucket unlink --bucket=foo --uid=johnny
+Rename a bucket::
+
+ $ radosgw-admin bucket link --bucket=foo --bucket-new-name=bar --uid=johnny
+
+Move a bucket from the old global tenant space to a specified tenant::
+
+ $ radosgw-admin bucket link --bucket=/foo --uid=12345678$12345678'
+
+Link bucket to specified user and change object ACLs::
+
+ $ radosgw-admin bucket chown --bucket=/foo --uid=12345678$12345678'
+
Show the logs of a bucket from April 1st, 2012::
$ radosgw-admin log show --bucket=foo --date=2012-04-01-01 --bucket-id=default.14193.1