~ubuntu-branches/ubuntu/raring/ceph/raring

« back to all changes in this revision

Viewing changes to src/test/cli/rbd/help.t

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2012-02-05 10:07:38 UTC
  • mfrom: (1.1.7) (0.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20120205100738-00s0bxx93mamy8tk
Tags: 0.41-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
    <ls | list> [pool-name]                   list rbd images
5
5
    info <--snap=name> [image-name]           show information about image size,
6
6
                                              striping, etc.
7
 
    create [image-name]                       create an empty image (requires size
8
 
                                              param)
9
 
    resize [image-name]                       resize (expand or contract) image
10
 
                                              (requires size param)
 
7
    create <--order=bits> [--size MB] [name]  create an empty image
 
8
    resize [--size MB] [image-name]           resize (expand or contract) image
11
9
    rm [image-name]                           delete an image
12
10
    export <--snap=name> [image-name] [path]  export image to file
13
11
    import [path] [dst-image]                 import image from file (dest defaults
18
16
    snap create <--snap=name> [image-name]    create a snapshot
19
17
    snap rollback <--snap=name> [image-name]  rollback image head to snapshot
20
18
    snap rm <--snap=name> [image-name]        deletes a snapshot
 
19
    snap purge [image-name]                   deletes all snapshots
21
20
    watch [image-name]                        watch events on image
22
21
    map [image-name]                          map the image to a block device
23
22
                                              using the kernel
24
23
    unmap [device]                            unmap a rbd device that was
25
24
                                              mapped by the kernel
 
25
    showmapped                                show the rbd images mapped
 
26
                                              by the kernel
26
27
  
27
28
  Other input options:
28
29
    -p, --pool <pool>            source pool name
32
33
    --dest-pool <name>           destination pool name
33
34
    --path <path-name>           path name for import/export (if not specified)
34
35
    --size <size in MB>          size parameter for create and resize commands
 
36
    --order <bits>               the object size in bits, such that the objects
 
37
                                 are (1 << order) bytes. Default is 22 (4 MB).
35
38
  
36
39
  For the map command:
37
40
    --user <username>            rados user to authenticate as
38
 
    --secret <path>              file containing secret key for use with authx
 
41
    --secret <path>              file containing secret key for use with cephx