Debian Codegraph @

UG9/cn/docker-linstor.po

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2020-03-14 01:03+0000\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=CHARSET\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: Title ==
20 #: docker-linstor.adoc:2
21 #, no-wrap
22 msgid "LINSTOR Volumes in Docker"
23 msgstr "Docker中的LINSTOR卷"
24
25 #. type: Plain text
26 #: docker-linstor.adoc:7
27 msgid ""
28 "indexterm:[docker]This chapter describes LINSTOR volumes in Docker as "
29 "managed by the https://github.com/LINBIT/linstor-docker-volume-go[LINSTOR "
30 "Docker Volume Plugin]."
31 msgstr ""
32 "indexterm:[docker]本章介绍docker中由https://github.com/LINBIT/linstor-docker-volume-go"
33 "[LINSTOR Docker Volume Plugin]管理的LINSTOR卷。"
34
35 #. type: Title ===
36 #: docker-linstor.adoc:9
37 #, no-wrap
38 msgid "Docker Overview"
39 msgstr "Docker概述"
40
41 #. type: Plain text
42 #: docker-linstor.adoc:15
43 msgid ""
44 "_Docker_ is a platform for developing, shipping, and running applications in"
45 " the form of Linux containers. For stateful applications that require data "
46 "persistence, Docker supports the use of persistent _volumes_ and "
47 "_volume_drivers_."
48 msgstr ""
49 "_Docker_ 是一个以Linux容器的形式开发、发布和运行应用程序的平台。对于需要数据持久性的有状态应用程序,Docker支持使用持久 _卷_ 和 _卷驱动程序_。"
50
51 #. type: Plain text
52 #: docker-linstor.adoc:19
53 msgid ""
54 "The https://github.com/LINBIT/linstor-docker-volume-go[LINSTOR Docker Volume"
55 " Plugin] is a volume driver that provisions persistent volumes from a "
56 "LINSTOR cluster for Docker containers."
57 msgstr ""
58 "https://github.com/LINBIT/linstor-docker-volume-go[LINSTOR Docker Volume "
59 "Plugin]是一个卷驱动程序,它为docker容器提供来自linstor集群的持久卷。"
60
61 #. type: Title ===
62 #: docker-linstor.adoc:21
63 #, no-wrap
64 msgid "LINSTOR Plugin for Docker Installation"
65 msgstr "用于Docker安装的LINSTOR插件"
66
67 #. type: Plain text
68 #: docker-linstor.adoc:25
69 msgid ""
70 "To install the `linstor-docker-volume` plugin provided by LINBIT, you'll "
71 "need to have a woring LINSTOR cluster. After that the plugin can be "
72 "installed from the public docker hub."
73 msgstr ""
74 "要安装LINBIT提供的 `linstor-docker-volume` 插件,需要有一个工作的linstor集群。之后,可以从公共docker "
75 "hub安装插件。"
76
77 #. type: delimited block -
78 #: docker-linstor.adoc:28
79 #, no-wrap
80 msgid "# docker plugin install linbit/linstor-docker-volume\n"
81 msgstr "# docker plugin install linbit/linstor-docker-volume\n"
82
83 #. type: Title ===
84 #: docker-linstor.adoc:31
85 #, no-wrap
86 msgid "LINSTOR Plugin for Docker Configuration"
87 msgstr "用于Docker配置的LINSTOR插件"
88
89 #. type: Plain text
90 #: docker-linstor.adoc:36
91 msgid ""
92 "As the plugin has to communicate to the LINSTOR controller via the LINSTOR "
93 "python library, we must tell the plugin where to find the LINSTOR Controller"
94 " node in it's configuration file:"
95 msgstr ""
96 "由于插件必须通过LINSTOR python库与LINSTOR controller通信,因此我们必须告诉插件在其配置文件中找到LINSTOR controller节点的位置:"
97
98 #. type: delimited block -
99 #: docker-linstor.adoc:41
100 #, no-wrap
101 msgid ""
102 "# cat /etc/linstor/docker-volume.conf\n"
103 "[global]\n"
104 "controllers = linstor://hostnameofcontroller\n"
105 msgstr ""
106 "# cat /etc/linstor/docker-volume.conf\n"
107 "[global]\n"
108 "controllers = linstor://hostnameofcontroller\n"
109
110 #. type: Plain text
111 #: docker-linstor.adoc:45
112 msgid "A more extensive example could look like this:"
113 msgstr "更广泛的例子如下:"
114
115 #. type: delimited block -
116 #: docker-linstor.adoc:54
117 #, no-wrap
118 msgid ""
119 "# cat /etc/linstor/docker-volume.conf\n"
120 "[global]\n"
121 "storagepool = thin-lvm\n"
122 "fs = ext4\n"
123 "fsopts = -E discard\n"
124 "size = 100MB\n"
125 "replicas = 2\n"
126 msgstr ""
127 "# cat /etc/linstor/docker-volume.conf\n"
128 "[global]\n"
129 "storagepool = thin-lvm\n"
130 "fs = ext4\n"
131 "fsopts = -E discard\n"
132 "size = 100MB\n"
133 "replicas = 2\n"
134
135 #. type: Title ===
136 #: docker-linstor.adoc:56
137 #, no-wrap
138 msgid "Example Usage"
139 msgstr "示例用法"
140
141 #. type: Plain text
142 #: docker-linstor.adoc:62
143 msgid ""
144 "The following are some examples of how you might use the LINSTOR Docker "
145 "Volume Plugin. In the following we expect a cluster consisting of three "
146 "nodes (alpha, bravo, and charlie)."
147 msgstr ""
148 "下面是一些如何使用LINSTOR Docker "
149 "Volume插件的示例。在下面我们期望一个由三个节点(alpha、bravo和charlie)组成的集群。"
150
151 #. type: Title ====
152 #: docker-linstor.adoc:64
153 #, no-wrap
154 msgid "Example 1 - typical docker pattern"
155 msgstr "示例1-典型的docker模式"
156
157 #. type: Plain text
158 #: docker-linstor.adoc:67
159 msgid "On node alpha:"
160 msgstr "在节点alpha上:"
161
162 #. type: delimited block -
163 #: docker-linstor.adoc:75
164 #, no-wrap
165 msgid ""
166 "$ docker volume create -d linstor \\\n"
167 " --opt fs=xfs --opt size=200 lsvol\n"
168 "$ docker run -it --rm --name=cont \\\n"
169 " -v lsvol:/data --volume-driver=linstor busybox sh\n"
170 "$ root@cont: echo \"foo\" > /data/test.txt\n"
171 "$ root@cont: exit\n"
172 msgstr ""
173 "$ docker volume create -d linstor \\\n"
174 " --opt fs=xfs --opt size=200 lsvol\n"
175 "$ docker run -it --rm --name=cont \\\n"
176 " -v lsvol:/data --volume-driver=linstor busybox sh\n"
177 "$ root@cont: echo \"foo\" > /data/test.txt\n"
178 "$ root@cont: exit\n"
179
180 #. type: Plain text
181 #: docker-linstor.adoc:78
182 msgid "On node bravo:"
183 msgstr "在bravo节点上:"
184
185 #. type: delimited block -
186 #: docker-linstor.adoc:86
187 #, no-wrap
188 msgid ""
189 "$ docker run -it --rm --name=cont \\\n"
190 " -v lsvol:/data --volume-driver=linstor busybox sh\n"
191 "$ root@cont: cat /data/test.txt\n"
192 " foo\n"
193 "$ root@cont: exit\n"
194 "$ docker volume rm lsvol\n"
195 msgstr ""
196 "$ docker run -it --rm --name=cont \\\n"
197 " -v lsvol:/data --volume-driver=linstor busybox sh\n"
198 "$ root@cont: cat /data/test.txt\n"
199 " foo\n"
200 "$ root@cont: exit\n"
201 "$ docker volume rm lsvol\n"
202
203 #. type: Title ====
204 #: docker-linstor.adoc:88
205 #, no-wrap
206 msgid "Example 2 - one diskful assignment by name, two nodes diskless"
207 msgstr "示例2-按名称分配一个磁盘,两个节点无磁盘"
208
209 #. type: delimited block -
210 #: docker-linstor.adoc:92
211 #, no-wrap
212 msgid "$ docker volume create -d linstor --opt nodes=bravo lsvol\n"
213 msgstr "$ docker volume create -d linstor --opt nodes=bravo lsvol\n"
214
215 #. type: Title ====
216 #: docker-linstor.adoc:94
217 #, no-wrap
218 msgid ""
219 "Example 3 - one diskful assignment, no matter where, two nodes diskless"
220 msgstr "示例3-一个磁盘完全分配,无论在何处,两个节点无磁盘"
221
222 #. type: delimited block -
223 #: docker-linstor.adoc:98
224 #, no-wrap
225 msgid "$ docker volume create -d linstor --opt replicas=1 lsvol\n"
226 msgstr "$ docker volume create -d linstor --opt replicas=1 lsvol\n"
227
228 #. type: Title ====
229 #: docker-linstor.adoc:100
230 #, no-wrap
231 msgid "Example 4 - two diskful assignments by name, charlie diskless"
232 msgstr "示例4-两个按名称分配的磁盘,charlie diskless"
233
234 #. type: delimited block -
235 #: docker-linstor.adoc:104
236 #, no-wrap
237 msgid "$ docker volume create -d linstor --opt nodes=alpha,bravo lsvol\n"
238 msgstr "$ docker volume create -d linstor --opt nodes=alpha,bravo lsvol\n"
239
240 #. type: Title ====
241 #: docker-linstor.adoc:106
242 #, no-wrap
243 msgid ""
244 "Example 5 - two diskful assignments, no matter where, one node diskless"
245 msgstr "示例5-两个磁盘满分配,无论在何处,一个节点无磁盘"
246
247 #. type: delimited block -
248 #: docker-linstor.adoc:110
249 #, no-wrap
250 msgid "$ docker volume create -d linstor --opt replicas=2 lsvol\n"
251 msgstr "$ docker volume create -d linstor --opt replicas=2 lsvol\n"