Commit e19f7095 authored by Constantinos Venetsanopoulos's avatar Constantinos Venetsanopoulos Committed by Guido Trotter

Update man pages wrt ExtStorage

 * ganeti-extstorage-interface: add examples
 * gnt-instance: document the “ext” template
 * remove a few double spaces

Also link to its design doc in the design-2.7 doc
Signed-off-by: default avatarConstantinos Venetsanopoulos <>
Reviewed-by: default avatarGuido Trotter <>
Signed-off-by: default avatarGuido Trotter <>
parent 473d87a3
......@@ -11,6 +11,8 @@ The following design documents have been implemented in Ganeti 2.7:
- :doc:`design-virtual-clusters`
- :doc:`design-network`
- :doc:`design-linuxha`
- :doc:`design-shared-storage` (Updated to reflect the new ExtStorage
The following designs have been partially implemented in Ganeti 2.7:
Ganeti shared storage support for 2.3+
Ganeti shared storage support
This document describes the changes in Ganeti 2.3+ compared to Ganeti
2.3 storage model.
2.3 storage model. It also documents the ExtStorage Interface.
.. contents:: :depth: 4
.. highlight:: shell-example
......@@ -66,7 +66,6 @@ VOL_METADATA
......@@ -198,7 +197,6 @@ The script should return ``0`` on success.
......@@ -213,6 +211,37 @@ The parameters can then be used during instance add as follows::
# gnt-instance add --disk=0:fromsnap="file_name",nas_ip="" ...
In the following examples we assume that you have already installed
successfully two ExtStorage providers: ``pvdr1`` and ``pvdr2``
Add a new instance with a 10G first disk provided by ``pvdr1`` and a 20G
second disk provided by ``pvdr2``::
# gnt-instance add -t ext --disk=0:size=10G,provider=pvdr1
Add a new instance with a 5G first disk provided by provider ``pvdr1``
and also pass the ``prm1``, ``prm2`` parameters to the provider, with
the corresponding values ``val1``, ``val2``::
# gnt-instance add -t ext
Modify an existing instance of disk type ``ext`` by adding a new 30G
disk provided by provider ``pvdr2``::
# gnt-instance modify --disk 1:add,size=30G,provider=pvdr2 <instance>
Modify an existing instance of disk type ``ext`` by adding 2 new disks,
of different providers, passing one parameter for the first one::
# gnt-instance modify --disk 2:add,size=3G,provider=pvdr1,prm1=val1
--disk 3:add,size=5G,provider=pvdr2
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment