summaryrefslogtreecommitdiffstats
path: root/doc/ceph-volume/lvm/newdb.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ceph-volume/lvm/newdb.rst')
-rw-r--r--doc/ceph-volume/lvm/newdb.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/ceph-volume/lvm/newdb.rst b/doc/ceph-volume/lvm/newdb.rst
new file mode 100644
index 000000000..dcc87fc8a
--- /dev/null
+++ b/doc/ceph-volume/lvm/newdb.rst
@@ -0,0 +1,11 @@
+.. _ceph-volume-lvm-newdb:
+
+``new-db``
+===========
+
+Attaches the given logical volume to OSD as a DB.
+Logical volume name format is vg/lv. Fails if OSD has already got attached DB.
+
+Attach vgname/lvname as a DB volume to OSD 1::
+
+ ceph-volume lvm new-db --osd-id 1 --osd-fsid 55BD4219-16A7-4037-BC20-0F158EFCC83D --target vgname/new_db