Commit 07a911c8 by KATOH Yasufumi

doc: Remove aufs in Japanese man pages

* and tweak English lxc-copy(1) Signed-off-by: 's avatarKATOH Yasufumi <karma@jazz.email.ne.jp>
parent 03a0a42b
...@@ -125,22 +125,22 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -125,22 +125,22 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
root filesystem of the container is simply copied to the new container. Or root filesystem of the container is simply copied to the new container. Or
they can be snapshots, i.e. small copy-on-write copies of the original they can be snapshots, i.e. small copy-on-write copies of the original
container. In this case the specified backing storage for the copy must container. In this case the specified backing storage for the copy must
support snapshots. This currently includes aufs, btrfs, lvm (lvm devices support snapshots. This currently includes btrfs, lvm (lvm devices
do not support snapshots of snapshots.), overlay, and zfs. do not support snapshots of snapshots.), overlay, and zfs.
--> -->
<command>lxc-copy</command> は、既存のコンテナのコピーを作成します。 <command>lxc-copy</command> は、既存のコンテナのコピーを作成します。
コピーは元のコンテナの完全なクローンにできます。この場合、単にコンテナのルートファイルシステムのすべてが、新しいコンテナにコピーされます。 コピーは元のコンテナの完全なクローンにできます。この場合、単にコンテナのルートファイルシステムのすべてが、新しいコンテナにコピーされます。
また、スナップショットを取得することも可能です。すなわち、元のコンテナの小さなコピーオンライトのコピーにするということです。この場合、コピーで指定するバッキングストレージがスナップショットをサポートしている必要があります。 また、スナップショットを取得することも可能です。すなわち、元のコンテナの小さなコピーオンライトのコピーにするということです。この場合、コピーで指定するバッキングストレージがスナップショットをサポートしている必要があります。
スナップショットをサポートしているバッキングストレージは、現時点では aufs、btrfs、lvm (lvm デバイスはスナップショットのスナップショットはサポートしていません)、overlay、zfs です。 スナップショットをサポートしているバッキングストレージは、現時点では btrfs、lvm (lvm デバイスはスナップショットのスナップショットはサポートしていません)、overlay、zfs です。
</para> </para>
<para> <para>
<!-- <!--
The copy's backing storage will be of the same type as the original The copy's backing storage will be of the same type as the original
container. aufs or overlayfs snapshots of directory backed containers are container. overlay snapshots of directory backed containers are
exempted from this rule. exempted from this rule.
--> -->
コピー先のバッキングストレージは、元のコンテナと同じタイプになるでしょう。ただし、ディレクトリバックエンドのコンテナのスナップショットは aufs と overlayfs で取得できますので例外です。 コピー先のバッキングストレージは、元のコンテナと同じタイプになるでしょう。ただし、ディレクトリバックエンドのコンテナのスナップショットは overlay で取得できますので例外です。
</para> </para>
<para> <para>
...@@ -175,13 +175,13 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -175,13 +175,13 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
Containers created and started with <replaceable>-e</replaceable> can have Containers created and started with <replaceable>-e</replaceable> can have
custom mounts. These are specified with the <replaceable>-m</replaceable> custom mounts. These are specified with the <replaceable>-m</replaceable>
flag. Currently three types of mounts are supported: flag. Currently three types of mounts are supported:
<replaceable>aufs</replaceable>, <replaceable>bind</replaceable>, and <replaceable>bind</replaceable>, and
<replaceable>overlay</replaceable>. Mount types are specified as suboptions <replaceable>overlay</replaceable>. Mount types are specified as suboptions
to the <replaceable>-m</replaceable> flag and can be specified multiple to the <replaceable>-m</replaceable> flag and can be specified multiple
times separated by commas. <replaceable>aufs</replaceable> and times separated by commas. <replaceable>overlay</replaceable> mounts are
<replaceable>overlay</replaceable> mounts are currently specified in the currently specified in the format <replaceable>-m
format <replaceable>-m overlay=/src:/dest</replaceable>. When no overlay=/src:/dest</replaceable>. When no destination
destination <replaceable>dest</replaceable> is specified <replaceable>dest</replaceable> is specified
<replaceable>dest</replaceable> will be identical to <replaceable>dest</replaceable> will be identical to
<replaceable>src</replaceable>. Read-only <replaceable>bind</replaceable> <replaceable>src</replaceable>. Read-only <replaceable>bind</replaceable>
mounts are specified <replaceable>-m bind=/src:/dest:ro</replaceable> and mounts are specified <replaceable>-m bind=/src:/dest:ro</replaceable> and
...@@ -194,9 +194,9 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -194,9 +194,9 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<replaceable>-m <replaceable>-m
bind=/src1:/dest1:ro,bind=/src2:ro,overlay=/src3:/dest3</replaceable>. bind=/src1:/dest1:ro,bind=/src2:ro,overlay=/src3:/dest3</replaceable>.
--> -->
<replaceable>-e</replaceable> で作成し、起動したコンテナは、コンテナ独自のマウントを行えます。現時点では <replaceable>aufs</replaceable>、<replaceable>bind</replaceable>、<replaceable>overlay</replaceable> という 3 つのタイプのマウントがサポートされています。 <replaceable>-e</replaceable> で作成し、起動したコンテナは、コンテナ独自のマウントを行えます。現時点では <replaceable>bind</replaceable>、<replaceable>overlay</replaceable> という 2 つのタイプのマウントがサポートされています。
マウントタイプは <replaceable>-m</replaceable> オプションのサブオプションとして指定します。この指定はカンマ区切りで複数回指定できます。 マウントタイプは <replaceable>-m</replaceable> オプションのサブオプションとして指定します。この指定はカンマ区切りで複数回指定できます。
<replaceable>aufs</replaceable> と <replaceable>overlay</replaceable> マウントの場合は、現時点では <replaceable>-m overlay=/src:/dest</replaceable> のように指定します。マウント先の <replaceable>dest</replaceable> を指定しない場合は、<replaceable>dest</replaceable> は <replaceable>src</replaceable> と同じになります。 <replaceable>overlay</replaceable> マウントの場合は、現時点では <replaceable>-m overlay=/src:/dest</replaceable> のように指定します。マウント先の <replaceable>dest</replaceable> を指定しない場合は、<replaceable>dest</replaceable> は <replaceable>src</replaceable> と同じになります。
読み込み専用の <replaceable>bind</replaceable> マウントは <replaceable>-m bind=/src:/dest:ro</replaceable> のように指定します。読み書き可能な <replaceable>bind</replaceable> マウントは <replaceable>-m bind=/src:/dest:rw</replaceable> のように指定します。<replaceable>bind</replaceable> マウントのデフォルトは読み書き可能ですので、読み書き可能なマウントを行う場合は省略できます。マウント先の <replaceable>dest</replaceable> を指定しない場合は、<replaceable>dest</replaceable> は <replaceable>src</replaceable> と同じになります。 読み込み専用の <replaceable>bind</replaceable> マウントは <replaceable>-m bind=/src:/dest:ro</replaceable> のように指定します。読み書き可能な <replaceable>bind</replaceable> マウントは <replaceable>-m bind=/src:/dest:rw</replaceable> のように指定します。<replaceable>bind</replaceable> マウントのデフォルトは読み書き可能ですので、読み書き可能なマウントを行う場合は省略できます。マウント先の <replaceable>dest</replaceable> を指定しない場合は、<replaceable>dest</replaceable> は <replaceable>src</replaceable> と同じになります。
複数のマウントを行う場合の例を示すと、<replaceable>-m bind=/src1:/dest1:ro,bind=/src2:ro,overlay=/src3:/dest3</replaceable> のようになります。 複数のマウントを行う場合の例を示すと、<replaceable>-m bind=/src1:/dest1:ro,bind=/src2:ro,overlay=/src3:/dest3</replaceable> のようになります。
</para> </para>
...@@ -242,8 +242,8 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -242,8 +242,8 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<listitem> <listitem>
<para><!-- Create a snapshot of the original container. The backing <para><!-- Create a snapshot of the original container. The backing
storage for the copy must support snapshots. This currently includes storage for the copy must support snapshots. This currently includes
aufs, btrfs, lvm, overlay, and zfs. --> btrfs, lvm, overlay, and zfs. -->
元のコンテナのスナップショットを作成します。コピー先のバッキングストレージがスナップショットをサポートしている必要があります。現時点では aufs、btrfs、lvm、overlay、zfs が対象となります。 元のコンテナのスナップショットを作成します。コピー先のバッキングストレージがスナップショットをサポートしている必要があります。現時点では btrfs、lvm、overlay、zfs が対象となります。
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -278,11 +278,11 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -278,11 +278,11 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<listitem> <listitem>
<para><!-- Specify a mount for a snapshot The <para><!-- Specify a mount for a snapshot The
<replaceable>opts</replaceable> argument for the mount type can by <replaceable>opts</replaceable> argument for the mount type can by
of type {aufs, bind, overlay}. For example <option>-m of type {bind, overlay}. For example <option>-m
bind=/src:/dest:ro,overlay=/src:/dest</option> (This option can bind=/src:/dest:ro,overlay=/src:/dest</option> (This option can
currently only be specified in conjunction with currently only be specified in conjunction with
<replaceable>-e</replaceable>.). --></para> <replaceable>-e</replaceable>.). --></para>
スナップショットするコンテナで行うマウントを指定します。マウントタイプは {aufs, bind, overlay} のどれかで指定します。例えば <option>-m bind=/src:/dest:ro,overlay=/src:/dest</option> のようになります。(このオプションは <replaceable>-e</replaceable> と同時の場合のみ指定できます。) スナップショットするコンテナで行うマウントを指定します。マウントタイプは {bind, overlay} のどれかで指定します。例えば <option>-m bind=/src:/dest:ro,overlay=/src:/dest</option> のようになります。(このオプションは <replaceable>-e</replaceable> と同時の場合のみ指定できます。)
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -306,9 +306,9 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -306,9 +306,9 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<term> <option>-B, --backingstorage <replaceable>backingstorage</replaceable></option></term> <term> <option>-B, --backingstorage <replaceable>backingstorage</replaceable></option></term>
<listitem> <listitem>
<para><!-- Specify the backing storage type to be used for the copy <para><!-- Specify the backing storage type to be used for the copy
where 'backingstorage' is of type 'aufs', 'btrfs', 'dir', 'lvm', 'loop', where 'backingstorage' is of type 'btrfs', 'dir', 'lvm', 'loop',
'overlay', or 'zfs'. --> 'overlay', or 'zfs'. -->
コピー先コンテナのバッキングストレージのタイプを指定します。ここで 'backingsotrage' は 'aufs'、'btrfs'、'dir'、'lvm'、'loop'、'overlay'、'zfs' のどれかです。 コピー先コンテナのバッキングストレージのタイプを指定します。ここで 'backingsotrage' は 'btrfs'、'dir'、'lvm'、'loop'、'overlay'、'zfs' のどれかです。
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
...@@ -167,10 +167,10 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -167,10 +167,10 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<term> <option>-N, --newname</option> </term> <term> <option>-N, --newname</option> </term>
<listitem> <listitem>
<para> <para>
<!-- When restoring a snapshot, the last optional argument if not given explicitly Via <command>\-\-newname</command> is the name to use for the restored container. If the newname is identical to the original name of the container, then the original container will be destroyed and the restored container will take its place. Note that deleting the original snapshot is not possible in the case of aufs, overlayfs or zfs backed snapshots. --> <!-- When restoring a snapshot, the last optional argument if not given explicitly Via <command>\-\-newname</command> is the name to use for the restored container. If the newname is identical to the original name of the container, then the original container will be destroyed and the restored container will take its place. Note that deleting the original snapshot is not possible in the case of overlayfs or zfs backed snapshots. -->
スナップショットをリストアする際、<command>--newname</command> の値として明示的に指定しない場合でも、最後のオプション引数はリストアするコンテナの名前として使用します。 スナップショットをリストアする際、<command>--newname</command> の値として明示的に指定しない場合でも、最後のオプション引数はリストアするコンテナの名前として使用します。
もし newname が元のコンテナの名前と同じ場合、元のコンテナが削除され、リストアされるコンテナに置き換えられます。 もし newname が元のコンテナの名前と同じ場合、元のコンテナが削除され、リストアされるコンテナに置き換えられます。
スナップショット元を削除することは、aufs, overlayfs, zfs がバックエンドのスナップショットではできないことに注意が必要です。 スナップショット元を削除することは、overlayfs, zfs がバックエンドのスナップショットではできないことに注意が必要です。
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
...@@ -1807,9 +1807,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -1807,9 +1807,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
itself should be mounted. <filename>overlayfs:/lower:/upper</filename> itself should be mounted. <filename>overlayfs:/lower:/upper</filename>
specifies that the rootfs should be an overlay with <filename>/upper</filename> specifies that the rootfs should be an overlay with <filename>/upper</filename>
being mounted read-write over a read-only mount of <filename>/lower</filename>. being mounted read-write over a read-only mount of <filename>/lower</filename>.
<filename>aufs:/lower:/upper</filename> does the same using aufs in place For <filename>overlayfs</filename> multiple <filename>/lower</filename>
of overlayfs. For both <filename>overlayfs</filename> and
<filename>aufs</filename> multiple <filename>/lower</filename>
directories can be specified. <filename>loop:/file</filename> tells lxc to attach directories can be specified. <filename>loop:/file</filename> tells lxc to attach
<filename>/file</filename> to a loop device and mount the loop device. <filename>/file</filename> to a loop device and mount the loop device.
--> -->
...@@ -1817,7 +1815,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -1817,7 +1815,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
もし rootfs が nbd デバイスの場合、<filename>nbd:file:1</filename> という指定は <filename>file</filename> を nbd デバイスとして使用し、その 1 番目のパーティションが rootfs としてマウントされます。 もし rootfs が nbd デバイスの場合、<filename>nbd:file:1</filename> という指定は <filename>file</filename> を nbd デバイスとして使用し、その 1 番目のパーティションが rootfs としてマウントされます。
<filename>nbd:file</filename> という指定は、nbd デバイス自身をマウントします。 <filename>nbd:file</filename> という指定は、nbd デバイス自身をマウントします。
<filename>overlayfs:/lower:/upper</filename> という指定は、rootfs は <filename>/lower</filename> という読み込み専用でマウントされるディレクトリの上に、<filename>/upper</filename> というディレクトリを読み書き可能で重ね合わせてマウントします。 <filename>overlayfs:/lower:/upper</filename> という指定は、rootfs は <filename>/lower</filename> という読み込み専用でマウントされるディレクトリの上に、<filename>/upper</filename> というディレクトリを読み書き可能で重ね合わせてマウントします。
<filename>aufs:/lower:/upper</filename> は overlayfs で指定している部分を aufs と指定すれば同じことになります。<filename>overlayfs</filename> と <filename>aufs</filename> は両方とも、複数の <filename>/lower</filename> ディレクトリを指定できます。 <filename>overlayfs</filename> は、複数の <filename>/lower</filename> ディレクトリを指定できます。
<filename>loop:/file</filename> は <filename>/file</filename> を loop デバイスとして使用し、loop デバイスをマウントします。 <filename>loop:/file</filename> は <filename>/file</filename> を loop デバイスとして使用し、loop デバイスをマウントします。
</para> </para>
</listitem> </listitem>
......
...@@ -144,7 +144,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ...@@ -144,7 +144,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<para> <para>
Containers created and started with <replaceable>-e</replaceable> can have Containers created and started with <replaceable>-e</replaceable> can have
custom mounts. These are specified with the <replaceable>-m</replaceable> custom mounts. These are specified with the <replaceable>-m</replaceable>
flag. Currently three types of mounts are supported: flag. Currently two types of mounts are supported:
<replaceable>bind</replaceable>, and <replaceable>bind</replaceable>, and
<replaceable>overlay</replaceable>. Mount types are specified as suboptions <replaceable>overlay</replaceable>. Mount types are specified as suboptions
to the <replaceable>-m</replaceable> flag and can be specified multiple to the <replaceable>-m</replaceable> flag and can be specified multiple
......
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