[lxc-devel] [PATCH] doc: Add 'rbd' to the parameter of backingstore in Japanese lxc-create(1)

Stéphane Graber stgraber at ubuntu.com
Mon Dec 21 03:32:49 UTC 2015


On Tue, Dec 15, 2015 at 08:07:10PM +0900, KATOH Yasufumi wrote:
> Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>

Acked-by: Stéphane Graber <stgraber at ubuntu.com>

> ---
>  doc/ja/lxc-create.sgml.in | 15 +++++++++++++--
>  1 file changed, 13 insertions(+), 2 deletions(-)
> 
> diff --git a/doc/ja/lxc-create.sgml.in b/doc/ja/lxc-create.sgml.in
> index f8b6064..52d8d3e 100644
> --- a/doc/ja/lxc-create.sgml.in
> +++ b/doc/ja/lxc-create.sgml.in
> @@ -156,7 +156,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
>  	<listitem>
>            <para>
>              <!--
> -	    'backingstore' is one of 'dir', 'lvm', 'loop', 'btrfs', 'zfs', or 'best'.  The
> +	    'backingstore' is one of 'dir', 'lvm', 'loop', 'btrfs', 'zfs', 'rbd', or 'best'.  The
>  	    default is 'dir', meaning that the container root filesystem
>  	    will be a directory under <filename>@LXCPATH@/container/rootfs</filename>.
>  	    This backing store type allows the optional
> @@ -184,7 +184,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
>  	    <replaceable>--fssize SIZE</replaceable> will create a LV (and
>  	    filesystem) of size SIZE rather than the default, which is 1G.
>              -->
> -            'backingstore' には 'dir' か 'lvm' か 'loop' か 'btrfs' か 'zfs' か 'best' のいずれかを指定します。
> +            'backingstore' には 'dir', 'lvm', 'loop', 'btrfs', 'zfs', 'rbd', 'best' のいずれかを指定します。
>              デフォルトは 'dir' で、コンテナのルートファイルシステムが <filename>@LXCPATH@/container/rootfs</filename> 以下のディレクトリであることを意味します。
>              'dir' にはオプションとして <replaceable>--dir ROOTFS</replaceable> を指定することも可能です。
>              このオプションは、デフォルトの代わりに特定のパス以下にコンテナの rootfs を置くということになります。
> @@ -206,7 +206,17 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
>  	    backingstore が 'loop' の場合、'lvm' と同様に <replaceable>--fstype FSTYPE</replaceable> と <replaceable>--fssize SIZE</replaceable> が使えます。これらの値のデフォルト値は 'lvm' の場合と同じです。
>  	  </para>
>  	  <para>
> +	    <!--
> +	    If backingstore is 'rbd', then you will need to have a valid configuration in <filename>ceph.conf</filename> and a <filename>ceph.client.admin.keyring</filename> defined.
> +	    You can specify the following options :
> +	    <replaceable>--rbdname RBDNAME</replaceable> will create a blockdevice named RBDNAME rather than the default, which is the container name.
> +	    <replaceable>--rbdpool POOL</replaceable> will create the blockdevice in the pool named POOL, rather than the default, which is 'lxc'.
> +	    -->
> +	    backingstore が 'rbd' の場合、<filename>ceph.conf</filename> に有効な設定がされており、<filename>ceph.client.admin.keyring</filename> が定義されている必要があります。
> +	    <replaceable>--rbdname RBDNAME</replaceable> を指定すると、RBDNAME という名前のブロックデバイスを作成します。このオプションを指定しない場合のデフォルトのブロックデバイス名はコンテナ名です。
> +	    <replaceable>--rbdpool POOL</replaceable> を指定すると、POOL という名前のプール内にブロックデバイスを作成します。このオプションを指定しない場合のデフォルトのプール名は 'lxc' です。
> +	  </para>
> +	  <para>
>              <!--
>  	    If backingstore is 'best', then lxc will try, in order, btrfs,
>  	    zfs, lvm, and finally a directory backing store.
> -- 
> 2.6.3
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20151220/9b3609fb/attachment.sig>


More information about the lxc-devel mailing list