diff options
author | Qiaowei Ren <qiaowei.ren@intel.com> | 2018-03-01 14:38:11 +0800 |
---|---|---|
committer | Qiaowei Ren <qiaowei.ren@intel.com> | 2018-03-01 14:38:11 +0800 |
commit | 7da45d65be36d36b880cc55c5036e96c24b53f00 (patch) | |
tree | d4f944eb4f8f8de50a9a7584ffa408dc3a3185b2 /src/ceph/doc/rbd/rbd-ko.rst | |
parent | 691462d09d0987b47e112d6ee8740375df3c51b2 (diff) |
remove ceph code
This patch removes initial ceph code, due to license issue.
Change-Id: I092d44f601cdf34aed92300fe13214925563081c
Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
Diffstat (limited to 'src/ceph/doc/rbd/rbd-ko.rst')
-rw-r--r-- | src/ceph/doc/rbd/rbd-ko.rst | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/src/ceph/doc/rbd/rbd-ko.rst b/src/ceph/doc/rbd/rbd-ko.rst deleted file mode 100644 index 951757c..0000000 --- a/src/ceph/doc/rbd/rbd-ko.rst +++ /dev/null @@ -1,59 +0,0 @@ -========================== - Kernel Module Operations -========================== - -.. index:: Ceph Block Device; kernel module - -.. important:: To use kernel module operations, you must have a running Ceph cluster. - -Get a List of Images -==================== - -To mount a block device image, first return a list of the images. :: - - rbd list - -Map a Block Device -================== - -Use ``rbd`` to map an image name to a kernel module. You must specify the -image name, the pool name, and the user name. ``rbd`` will load RBD kernel -module on your behalf if it's not already loaded. :: - - sudo rbd map {pool-name}/{image-name} --id {user-name} - -For example:: - - sudo rbd map rbd/myimage --id admin - -If you use `cephx`_ authentication, you must also specify a secret. It may come -from a keyring or a file containing the secret. :: - - sudo rbd map rbd/myimage --id admin --keyring /path/to/keyring - sudo rbd map rbd/myimage --id admin --keyfile /path/to/file - - -Show Mapped Block Devices -========================= - -To show block device images mapped to kernel modules with the ``rbd`` command, -specify the ``showmapped`` option. :: - - rbd showmapped - - -Unmapping a Block Device -======================== - -To unmap a block device image with the ``rbd`` command, specify the ``unmap`` -option and the device name (i.e., by convention the same as the block device -image name). :: - - sudo rbd unmap /dev/rbd/{poolname}/{imagename} - -For example:: - - sudo rbd unmap /dev/rbd/rbd/foo - - -.. _cephx: ../../rados/operations/user-management/ |