Debian Codegraph @

UG9/cn/recent-changes.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-02 15:09+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 #: recent-changes.adoc:3
21 #, no-wrap
22 msgid "Recent changes"
23 msgstr "最近的变化"
24
25 #. type: Plain text
26 #: recent-changes.adoc:8
27 msgid ""
28 "This appendix is for users who upgrade from earlier DRBD versions to DRBD "
29 "9.0. It highlights some important changes to DRBD's configuration and "
30 "behavior."
31 msgstr "本附录适用于从早期DRBD版本升级到DRBD 9.0的用户。它强调了对DRBD的配置和行为的一些重要更改。"
32
33 #. type: Title ===
34 #: recent-changes.adoc:10
35 #, no-wrap
36 msgid "Connections"
37 msgstr "连接"
38
39 #. type: Plain text
40 #: recent-changes.adoc:13
41 msgid "With DRBD 9 data can be replicated across more than two nodes."
42 msgstr "使用DRBD 9,数据可以跨两个以上的节点复制。"
43
44 #. type: Plain text
45 #: recent-changes.adoc:17
46 msgid ""
47 "This also means that stacking DRBD volumes is now deprecated (though still "
48 "possible); and that using DRBD as a network-blockdevice (a <<s-drbd-"
49 "client,__DRBD client__>>) now makes sense."
50 msgstr ""
51 "这也意味着现在不赞成堆叠DRBD卷(尽管仍有可能);现在可以使用DRBD作为网络阻隔设备(a<<s-DRBD-client,<uu-DRBD-"
52 "<<s-drbd-client,__DRBD client__>>) now makes sense."
53
54 #. type: Plain text
55 #: recent-changes.adoc:19
56 msgid "Associated with this change are"
57 msgstr "与此更改关联的是"
58
59 #. type: Plain text
60 #: recent-changes.adoc:21
61 msgid "Metadata size changes (one bitmap per peer)"
62 msgstr "元数据大小更改(每个节点一个bitmap)"
63
64 #. type: Plain text
65 #: recent-changes.adoc:23
66 msgid "`/proc/drbd` now only gives minimal information, see"
67 msgstr "`/proc/drbd` 现在只提供最少的信息,请参见"
68
69 #. type: Plain text
70 #: recent-changes.adoc:24
71 msgid "<<s-drbdadm-status, `drbdadm status`>>"
72 msgstr "<s-drbdadm-status,` drbdadm status'>"
73
74 #. type: Plain text
75 #: recent-changes.adoc:26
76 msgid "Resynchronization from/to <<s-multi-node,multiple peers>>"
77 msgstr "从<<s-multi-node,multiple peers>>同步或同步到<<s-multi-node,multiple peers>>"
78
79 #. type: Plain text
80 #: recent-changes.adoc:29
81 msgid ""
82 "The <<s-activity-log,activity log>> is used even when in <<s-resource-"
83 "roles,Secondary>> role"
84 msgstr ""
85 "即使在<<s-activity-log,activity log>>角色中也会使用<<s-resource-roles,Secondary>>"
86
87 #. type: Title ===
88 #: recent-changes.adoc:31
89 #, no-wrap
90 msgid "Auto-Promote Feature"
91 msgstr "自动升级功能"
92
93 #. type: Plain text
94 #: recent-changes.adoc:35
95 msgid ""
96 "DRBD 9 can be configured to do the _Primary_/_Secondary_ <<s-resource-"
97 "roles,role switch>> automatically, on demand."
98 msgstr "DRBD 9可以配置为按需自动执行 _主/次_ 角色切换。"
99
100 #. type: Plain text
101 #: recent-changes.adoc:38
102 msgid ""
103 "This feature replaces both the `become-primary-on` configuration value, as "
104 "well as the old Heartbeat v1 `drbddisk` script."
105 msgstr "此功能将替换 `become-primary-on` 配置值以及旧的Heartbeat v1 `drbddisk` 脚本。"
106
107 #. type: Plain text
108 #: recent-changes.adoc:40
109 msgid "Please see <<s-automatic-promotion>> for more details."
110 msgstr "有关详细信息,请参见<<s-automatic-promotion>>。"
111
112 #. type: Title ===
113 #: recent-changes.adoc:42
114 #, no-wrap
115 msgid "Increased Performance"
116 msgstr "提高性能"
117
118 #. type: Plain text
119 #: recent-changes.adoc:47
120 msgid ""
121 "DRBD 9 has seen noticeable performance improvements, depending on your "
122 "specific hardware it's up to two magnitudes faster (measuring number of I/O "
123 "operations/second for random writes)."
124 msgstr "DRBD 9已经看到了显著的性能改进,这取决于您的特定硬件,它的速度快了两个数量级(测量随机写入的I/O操作数/秒)。"
125
126 #. FIXME: same as 8.4?
127 #. type: Title ===
128 #: recent-changes.adoc:52
129 #, no-wrap
130 msgid "Multiple Volumes in one Resource"
131 msgstr "一个资源中有多个卷"
132
133 #. type: Plain text
134 #: recent-changes.adoc:60
135 msgid ""
136 "Volumes are a new concept in DRBD 8.4. Prior to 8.4, every resource had only"
137 " one block device associated with it, thus there was a one-to-one "
138 "relationship between DRBD devices and resources. Since 8.4, multiple volumes"
139 " (each corresponding to one block device) may share a single replication "
140 "connection, which in turn corresponds to a single resource."
141 msgstr ""
142 "卷是DRBD "
143 "8.4中的一个新概念。在8.4之前,每个资源只有一个与其相关联的块设备,因此DRBD设备和资源之间存在一对一的关系。自8.4以来,多个卷(每个卷对应于一个块设备)可以共享一个复制连接,而该复制连接又对应于一个资源。"
144
145 #. type: Plain text
146 #: recent-changes.adoc:62
147 msgid "This results in a few other necessary changes in behaviour:"
148 msgstr "这会导致一些其他必要的行为改变:"
149
150 #. type: Title ====
151 #: recent-changes.adoc:64
152 #, no-wrap
153 msgid "Changes to udev symlinks"
154 msgstr "更改以指定udev符号链接"
155
156 #. type: Plain text
157 #: recent-changes.adoc:69
158 msgid ""
159 "The DRBD udev integration scripts manage symlinks pointing to individual "
160 "block device nodes. These exist in the `/dev/drbd/by-res/` and "
161 "`/dev/drbd/by-disk/` directories."
162 msgstr ""
163 "DRBD udev集成脚本管理指向各个块设备节点的符号链接。它们存在于 `/dev/drbd/by-res/` 和 `/dev/drbd/by-disk` "
164 "目录中。"
165
166 #. type: Plain text
167 #: recent-changes.adoc:73
168 msgid ""
169 "Since DRBD 8.4, a single resource may correspond to multiple volumes, "
170 "`/dev/drbd/by-res/__<resource>__` is a _directory_, containing symlinks "
171 "pointing to individual volumes:"
172 msgstr ""
173 "从DRBD 8.4起,一个资源可以对应于多个卷, `/dev/DRBD/by-res/__<resource>>__` "
174 "是一个 _目录_ ,包含指向各个卷的符号链接:"
175
176 #. type: Block title
177 #: recent-changes.adoc:74
178 #, no-wrap
179 msgid "udev managed DRBD symlinks in DRBD 8.4"
180 msgstr "DRBD 8.4中udev管理的DRBD符号链接"
181
182 #. type: delimited block -
183 #: recent-changes.adoc:80
184 #, no-wrap
185 msgid ""
186 "lrwxrwxrwx 1 root root 11 2015-08-09 19:32 /dev/drbd/by-res/home/0 -> ../../drbd0\n"
187 "lrwxrwxrwx 1 root root 11 2015-08-09 19:32 /dev/drbd/by-res/data/0 -> ../../drbd1\n"
188 "lrwxrwxrwx 1 root root 11 2015-08-09 19:33 /dev/drbd/by-res/nfs-root/0 -> ../../drbd2\n"
189 "lrwxrwxrwx 1 root root 11 2015-08-09 19:33 /dev/drbd/by-res/nfs-root/1 -> ../../drbd3\n"
190 msgstr ""
191 "lrwxrwxrwx 1 root root 11 2015-08-09 19:32 /dev/drbd/by-res/home/0 -> ../../drbd0\n"
192 "lrwxrwxrwx 1 root root 11 2015-08-09 19:32 /dev/drbd/by-res/data/0 -> ../../drbd1\n"
193 "lrwxrwxrwx 1 root root 11 2015-08-09 19:33 /dev/drbd/by-res/nfs-root/0 -> ../../drbd2\n"
194 "lrwxrwxrwx 1 root root 11 2015-08-09 19:33 /dev/drbd/by-res/nfs-root/1 -> ../../drbd3\n"
195
196 #. type: Plain text
197 #: recent-changes.adoc:86
198 msgid ""
199 "Configurations where filesystems are referred to by such a symlink must be "
200 "updated when moving to DRBD 8.4, usually by simply appending `/0` to the "
201 "symlink path. If the filesystem was referenced via `UUID=` or "
202 "`/dev/drbd__X__` in `/etc/fstab`, no change is necessary."
203 msgstr ""
204 "当移动到DRBD "
205 "8.4时,必须更新这样一个符号链接引用文件系统的配置,通常只需在符号链接路径上附加 `/0` 。如果文件系统是通过 `/etc/fstab` 中的 `UUID=` 或 `/dev/drbd__Xx__` 引用的,则不需要进行任何更改。"
206
207 #. type: Title ===
208 #: recent-changes.adoc:89
209 #, no-wrap
210 msgid "Changes to the configuration syntax"
211 msgstr "配置语法的更改"
212
213 #. type: Plain text
214 #: recent-changes.adoc:94
215 msgid ""
216 "This section highlights changes to the configuration syntax. It affects the "
217 "DRBD configuration files in `/etc/drbd.d`, and `/etc/drbd.conf`."
218 msgstr "本节重点介绍对配置语法的更改。它影响 `/etc/drbd.d` ,和 `/etc/drbd.conf` 中的DRBD配置文件。"
219
220 #. type: Plain text
221 #: recent-changes.adoc:102
222 msgid ""
223 "The `drbdadm` parser still accepts pre-8.4 configuration syntax and "
224 "automatically translates, internally, into the current syntax. Unless you "
225 "are planning to use new features from DRBD 9, there is no requirement to "
226 "modify your configuration to the current syntax. It is, however, recommended"
227 " that you eventually adopt the new syntax, as the old format will no longer "
228 "be supported in DRBD 9."
229 msgstr ""
230 "`drbdadm` 解析器仍然接受8.4之前的配置语法,并在内部自动转换为当前语法。除非您计划使用DRBD "
231 "9的新特性,否则不需要将配置修改为当前语法。但是,建议您最终采用新语法,因为DRBD 9不再支持旧格式。"
232
233 #. type: Title ====
234 #: recent-changes.adoc:104
235 #, no-wrap
236 msgid "Boolean configuration options"
237 msgstr "布尔配置选项"
238
239 #. type: Plain text
240 #: recent-changes.adoc:108
241 msgid ""
242 "`drbd.conf` supports a variety of boolean configuration options. In pre DRBD"
243 " 8.4 syntax, these boolean options would be set as follows:"
244 msgstr "`conf` 支持多种布尔配置选项。在DRBD 8.4之前的语法中,这些布尔选项设置如下:"
245
246 #. type: Block title
247 #: recent-changes.adoc:109
248 #, no-wrap
249 msgid "Pre-DRBD 8.4 configuration example with boolean options"
250 msgstr "带有布尔选项的DRBD 8.4之前的配置示例"
251
252 #. type: delimited block -
253 #: recent-changes.adoc:117
254 #, no-wrap
255 msgid ""
256 "resource test {\n"
257 "\tdisk {\n"
258 "\t\tno-md-flushes;\n"
259 "\t}\n"
260 "}\n"
261 msgstr ""
262 "resource test {\n"
263 "\tdisk {\n"
264 "\t\tno-md-flushes;\n"
265 "\t}\n"
266 "}\n"
267
268 #. type: Plain text
269 #: recent-changes.adoc:122
270 msgid ""
271 "This led to configuration issues if you wanted to set a boolean variable in "
272 "the `common` configuration section, and then override it for individual "
273 "resources:"
274 msgstr "如果要在 `common` 配置部分中设置布尔变量,然后对单个资源重写该变量,则会导致配置问题:"
275
276 #. type: Block title
277 #: recent-changes.adoc:123
278 #, no-wrap
279 msgid ""
280 "Pre-DRBD 8.4 configuration example with boolean options in `common` section"
281 msgstr "Pre DRBD 8.4配置示例,在 `common` 部分提供布尔选项"
282
283 #. type: delimited block -
284 #: recent-changes.adoc:137
285 #, no-wrap
286 msgid ""
287 "common {\n"
288 "\tdisk {\n"
289 "\t\tno-md-flushes;\n"
290 "\t}\n"
291 "}\n"
292 "resource test {\n"
293 "\tdisk {\n"
294 "\t\t# No facility to enable disk flushes previously disabled in\n"
295 "\t\t# \"common\"\n"
296 "\t}\n"
297 "}\n"
298 msgstr ""
299 "common {\n"
300 "\tdisk {\n"
301 "\t\tno-md-flushes;\n"
302 "\t}\n"
303 "}\n"
304 "resource test {\n"
305 "\tdisk {\n"
306 "\t\t# No facility to enable disk flushes previously disabled in\n"
307 "\t\t# \"common\"\n"
308 "\t}\n"
309 "}\n"
310
311 #. type: Plain text
312 #: recent-changes.adoc:142
313 msgid ""
314 "In DRBD 8.4, all boolean options take a value of `yes` or `no`, making them "
315 "easily configurable both from `common` and from individual `resource` "
316 "sections:"
317 msgstr "在DRBD 8.4中,所有布尔选项的值都为 `yes` 或 `no`,这使得它们很容易从 `common` 和单个 `resource` 部分进行配置:"
318
319 #. type: Block title
320 #: recent-changes.adoc:143
321 #, no-wrap
322 msgid ""
323 "DRBD 8.4 configuration example with boolean options in `common` section"
324 msgstr "DRBD 8.4 `common` 部分中带有布尔选项的配置示例"
325
326 #. type: delimited block -
327 #: recent-changes.adoc:154
328 #, no-wrap
329 msgid ""
330 "common {\n"
331 " md-flushes no;\n"
332 "}\n"
333 "resource test {\n"
334 " disk {\n"
335 " md-flushes yes;\n"
336 " }\n"
337 "}\n"
338 msgstr ""
339 "common {\n"
340 " md-flushes no;\n"
341 "}\n"
342 "resource test {\n"
343 " disk {\n"
344 " md-flushes yes;\n"
345 " }\n"
346 "}\n"
347
348 #. type: Title ====
349 #: recent-changes.adoc:157
350 #, no-wrap
351 msgid "`syncer` section no longer exists"
352 msgstr "`syncer` 部分不再存在"
353
354 #. type: Plain text
355 #: recent-changes.adoc:163
356 msgid ""
357 "Prior to DRBD 8.4, the configuration syntax allowed for a `syncer` section "
358 "which has become obsolete in 8.4. All previously existing `syncer` options "
359 "have now moved into the `net` or `disk` sections of resources."
360 msgstr ""
361 "在DRBD "
362 "8.4之前,`syncer` 部分的配置语法在8.4中已经过时。所有以前存在的 `syncer` 选项现在都移到了资源的 `net` 或 `disk` 部分。"
363
364 #. type: Block title
365 #: recent-changes.adoc:164
366 #, no-wrap
367 msgid "Pre-DRBD 8.4 configuration example with `syncer` section"
368 msgstr "带有 `syncer` 部分的Pre-DRBD 8.4配置示例"
369
370 #. type: delimited block -
371 #: recent-changes.adoc:174
372 #, no-wrap
373 msgid ""
374 "resource test {\n"
375 " syncer {\n"
376 " al-extents 3389;\n"
377 " verify-alg md5;\n"
378 " }\n"
379 " ...\n"
380 "}\n"
381 msgstr ""
382 "resource test {\n"
383 " syncer {\n"
384 " al-extents 3389;\n"
385 " verify-alg md5;\n"
386 " }\n"
387 " ...\n"
388 "}\n"
389
390 #. type: Plain text
391 #: recent-changes.adoc:177
392 msgid "The above example is expressed, in DRBD 8.4 syntax, as follows:"
393 msgstr "以上示例用DRBD 8.4语法表示如下:"
394
395 #. type: Block title
396 #: recent-changes.adoc:178
397 #, no-wrap
398 msgid "DRBD 8.4 configuration example with `syncer` section replaced"
399 msgstr "DRBD 8.4替换了 `syncer` 部分的配置示例"
400
401 #. type: delimited block -
402 #: recent-changes.adoc:190
403 #, no-wrap
404 msgid ""
405 "resource test {\n"
406 " disk {\n"
407 " al-extents 3389;\n"
408 " }\n"
409 " net {\n"
410 " verify-alg md5;\n"
411 " }\n"
412 " ...\n"
413 "}\n"
414 msgstr ""
415 "resource test {\n"
416 " disk {\n"
417 " al-extents 3389;\n"
418 " }\n"
419 " net {\n"
420 " verify-alg md5;\n"
421 " }\n"
422 " ...\n"
423 "}\n"
424
425 #. type: Title ====
426 #: recent-changes.adoc:193
427 #, no-wrap
428 msgid "`protocol` option is no longer special"
429 msgstr "`protocol` 选项不再特殊"
430
431 #. type: Plain text
432 #: recent-changes.adoc:198
433 msgid ""
434 "In prior DRBD releases, the `protocol` option was awkwardly (and counter-"
435 "intuitively) required to be specified on its own, rather than as part of the"
436 " `net` section. DRBD 8.4 removes this anomaly:"
437 msgstr "在以前的DRBD版本中,“protocol”选项需要自己指定,而不是作为“net”部分的一部分。DRBD 8.4消除了这个异常:"
438
439 #. type: Block title
440 #: recent-changes.adoc:199
441 #, no-wrap
442 msgid "Pre-DRBD 8.4 configuration example with standalone `protocol` option"
443 msgstr "带有独立“protocol”选项的Pre-DRBD 8.4配置示例"
444
445 #. type: delimited block -
446 #: recent-changes.adoc:210
447 #, no-wrap
448 msgid ""
449 "resource test {\n"
450 " protocol C;\n"
451 " ...\n"
452 " net {\n"
453 " ...\n"
454 " }\n"
455 " ...\n"
456 "}\n"
457 msgstr ""
458 "resource test {\n"
459 " protocol C;\n"
460 " ...\n"
461 " net {\n"
462 " ...\n"
463 " }\n"
464 " ...\n"
465 "}\n"
466
467 #. type: Plain text
468 #: recent-changes.adoc:213 recent-changes.adoc:252
469 msgid "The equivalent DRBD 8.4 configuration syntax is:"
470 msgstr "等效的DRBD 8.4配置语法为:"
471
472 #. type: Block title
473 #: recent-changes.adoc:214
474 #, no-wrap
475 msgid ""
476 "DRBD 8.4 configuration example with `protocol` option within `net` section"
477 msgstr "DRBD 8.4配置示例,在 `net` 部分中有 `protocol` 选项"
478
479 #. type: delimited block -
480 #: recent-changes.adoc:224
481 #, no-wrap
482 msgid ""
483 "resource test {\n"
484 " net {\n"
485 " protocol C;\n"
486 " ...\n"
487 " }\n"
488 " ...\n"
489 "}\n"
490 msgstr ""
491 "resource test {\n"
492 " net {\n"
493 " protocol C;\n"
494 " ...\n"
495 " }\n"
496 " ...\n"
497 "}\n"
498
499 #. type: Title ====
500 #: recent-changes.adoc:228
501 #, no-wrap
502 msgid "New per-resource `options` section"
503 msgstr "按资源新建 `option` 部分"
504
505 #. type: Plain text
506 #: recent-changes.adoc:236
507 msgid ""
508 "DRBD 8.4 introduces a new `options` section that may be specified either in "
509 "a `resource` or in the `common` section. The `cpu-mask` option has moved "
510 "into this section from the `syncer` section in which it was awkwardly "
511 "configured before. The `on-no-data-accessible` option has also moved to this"
512 " section, rather than being in `disk` where it had been in pre-8.4 releases."
513 msgstr ""
514 "DRBD 8.4引入了一个新的 `options` 部分,可以在 `resource` 或 `common` 部分中指定。 `cpu-mask`"
515 "选项已经从 `syncer` 部分移到了这个部分,在这个部分中它以前配置得很笨拙。`on-no-data-"
516 "accessible` 选项也移到了这个部分,而不是8.4以前的 `disk` 中版本。"
517
518 #. type: Block title
519 #: recent-changes.adoc:237
520 #, no-wrap
521 msgid ""
522 "Pre-DRBD 8.4 configuration example with `cpu-mask` and `on-no-data-"
523 "accessible`"
524 msgstr "Pre DRBD 8.4配置示例,带有 `cpu-mask` 和 `on-no-data-accessible` "
525
526 #. type: delimited block -
527 #: recent-changes.adoc:249
528 #, no-wrap
529 msgid ""
530 "resource test {\n"
531 " syncer {\n"
532 " cpu-mask ff;\n"
533 " }\n"
534 " disk {\n"
535 " on-no-data-accessible suspend-io;\n"
536 " }\n"
537 " ...\n"
538 "}\n"
539 msgstr ""
540 "resource test {\n"
541 " syncer {\n"
542 " cpu-mask ff;\n"
543 " }\n"
544 " disk {\n"
545 " on-no-data-accessible suspend-io;\n"
546 " }\n"
547 " ...\n"
548 "}\n"
549
550 #. type: Block title
551 #: recent-changes.adoc:253
552 #, no-wrap
553 msgid "DRBD 8.4 configuration example with `options` section"
554 msgstr "带有 `options` 部分的DRBD 8.4配置示例"
555
556 #. type: delimited block -
557 #: recent-changes.adoc:263
558 #, no-wrap
559 msgid ""
560 "resource test {\n"
561 " options {\n"
562 " cpu-mask ff;\n"
563 " on-no-data-accessible suspend-io;\n"
564 " }\n"
565 " ...\n"
566 "}\n"
567 msgstr ""
568 "resource test {\n"
569 " options {\n"
570 " cpu-mask ff;\n"
571 " on-no-data-accessible suspend-io;\n"
572 " }\n"
573 " ...\n"
574 "}\n"
575
576 #. type: Title ===
577 #: recent-changes.adoc:267
578 #, no-wrap
579 msgid "On-line changes to network communications"
580 msgstr "网络通信的在线变化"
581
582 #. type: Title ====
583 #: recent-changes.adoc:270
584 #, no-wrap
585 msgid "Changing the replication protocol"
586 msgstr "更改复制协议"
587
588 #. type: Plain text
589 #: recent-changes.adoc:276
590 msgid ""
591 "Prior to DRBD 8.4, changes to the replication protocol were impossible while"
592 " the resource was on-line and active. You would have to change the "
593 "`protocol` option in your resource configuration file, then issue `drbdadm "
594 "disconnect` and finally `drbdadm connect` on both nodes."
595 msgstr ""
596 "在DRBD "
597 "8.4之前,当资源处于联机和活动状态时,无法更改复制协议。您必须更改资源配置文件中的 `protocol` 选项,然后在两个节点上分别输入 `drbdadm "
598 "disconnect` 和 `drbdadm connect` 。"
599
600 #. type: Plain text
601 #: recent-changes.adoc:280
602 msgid ""
603 "In DRBD 8.4, the replication protocol can be changed on the fly. You may, "
604 "for example, temporarily switch a connection to asynchronous replication "
605 "from its normal, synchronous replication mode."
606 msgstr "在DRBD 8.4中,复制协议可以动态更改。例如,您可以临时将连接从正常同步复制模式切换到异步复制模式。"
607
608 #. type: Block title
609 #: recent-changes.adoc:281
610 #, no-wrap
611 msgid "Changing replication protocol while connection is established"
612 msgstr "建立连接时更改复制协议"
613
614 #. type: delimited block -
615 #: recent-changes.adoc:284
616 #, no-wrap
617 msgid "drbdadm net-options --protocol=A <resource>\n"
618 msgstr "drbdadm net-options --protocol=A <resource>\n"
619
620 #. type: Title ====
621 #: recent-changes.adoc:287
622 #, no-wrap
623 msgid "Changing from single-Primary to dual-Primary replication"
624 msgstr "从单主复制更改为双主复制"
625
626 #. type: Plain text
627 #: recent-changes.adoc:294
628 msgid ""
629 "Prior to DRBD 8.4, it was impossible to switch between single-Primary to "
630 "dual-Primary or back while the resource was on-line and active. You would "
631 "have to change the `allow-two-primaries` option in your resource "
632 "configuration file, then issue `drbdadm disconnect` and finally `drbdadm "
633 "connect` on both nodes."
634 msgstr ""
635 "在DRBD 8.4之前,当资源处于联机和活动状态时,无法在单主到双主之间切换或切换回。您必须更改资源配置文件中的 `allow-two-"
636 "primaries` 选项,然后在两个节点上分别发出 `drbdadm disconnect` 和 `drbdadm connect`。"
637
638 #. type: Plain text
639 #: recent-changes.adoc:296
640 msgid "In DRBD 8.4, it is possible to switch modes on-line."
641 msgstr "在DRBD 8.4中,可以在线切换模式。"
642
643 #. type: Plain text
644 #: recent-changes.adoc:301
645 msgid ""
646 "It is _required_ for an application using DRBD dual-Primary mode to use a "
647 "clustered file system or some other distributed locking mechanism. This "
648 "applies regardless of whether dual-Primary mode is enabled on a temporary or"
649 " permanent basis."
650 msgstr "使用DRBD双主模式的应用程序 _需要_ 使用集群文件系统或其他一些分布式锁定机制。无论双主模式是临时启用还是永久启用,这都适用。"
651
652 #. type: Plain text
653 #: recent-changes.adoc:304
654 msgid ""
655 "Refer to <<s-enable-dual-primary-temporary>> for switching to dual-Primary "
656 "mode while the resource is on-line."
657 msgstr "当资源在线时,请参阅<<s-enable-dual-primary-temporary>>以切换到双主模式。"
658
659 #. type: Title ===
660 #: recent-changes.adoc:307
661 #, no-wrap
662 msgid "Changes to the `drbdadm` command"
663 msgstr "对 `drbdadm` 命令的更改"
664
665 #. type: Title ====
666 #: recent-changes.adoc:310
667 #, no-wrap
668 msgid "Changes to pass-through options"
669 msgstr "更改pass-through选项"
670
671 #. type: Plain text
672 #: recent-changes.adoc:315
673 msgid ""
674 "Prior to DRBD 8.4, if you wanted `drbdadm` to pass special options through "
675 "to `drbdsetup`, you had to use the arcane `--{nbsp}--<option>` syntax, as in"
676 " the following example:"
677 msgstr ""
678 "在DRBD "
679 "8.4之前,如果希望 `drbdadm` 将特殊选项传递给 `drbdsetup` ,则必须使用神秘的 `--{nbsp}--<option>` 语法,如下例所示:"
680
681 #. type: Block title
682 #: recent-changes.adoc:316
683 #, no-wrap
684 msgid "Pre-DRBD 8.4 `drbdadm` pass-through options"
685 msgstr "Pre DRBD 8.4 `drbdadm` 传递选项"
686
687 #. type: delimited block -
688 #: recent-changes.adoc:319
689 #, no-wrap
690 msgid "drbdadm -- --discard-my-data connect <resource>\n"
691 msgstr "drbdadm -- --discard-my-data connect <resource>\n"
692
693 #. type: Plain text
694 #: recent-changes.adoc:322
695 msgid ""
696 "Instead, `drbdadm` now accepts those pass-through options as normal options:"
697 msgstr "相反, `drbdadm` 现在接受这些传递选项作为普通选项:"
698
699 #. type: Block title
700 #: recent-changes.adoc:323
701 #, no-wrap
702 msgid "DRBD 8.4 `drbdadm` pass-through options"
703 msgstr "DRBD 8.4 `drbdadm` 传递选项"
704
705 #. type: delimited block -
706 #: recent-changes.adoc:326
707 #, no-wrap
708 msgid "drbdadm connect --discard-my-data <resource>\n"
709 msgstr "drbdadm connect --discard-my-data <resource>\n"
710
711 #. type: Plain text
712 #: recent-changes.adoc:333
713 msgid ""
714 "The old syntax is still supported, but its use is strongly discouraged. "
715 "However, if you choose to use the new, more straightforward syntax, you must"
716 " specify the option (`--discard-my-data`) _after_ the subcommand (`connect`)"
717 " and _before_ the resource identifier."
718 msgstr ""
719 "旧语法仍然受支持,但强烈建议不要使用它。但是,如果选择使用新的更直接的语法,则必须在子命令(`connect`)_之后_ 指定选项( `--discard-my-data`) "
720 " ,在资源标识符 _之前_ 指定选项。"
721
722 #. type: Title ====
723 #: recent-changes.adoc:335
724 #, no-wrap
725 msgid "`--force` option replaces `--overwrite-data-of-peer`"
726 msgstr "`--force` 选项替换了 `--overwrite-data-of-peer`"
727
728 #. type: Plain text
729 #: recent-changes.adoc:341
730 msgid ""
731 "The `--overwrite-data-of-peer` option is no longer present in DRBD 8.4. It "
732 "has been replaced by the simpler `--force`. Thus, to kick off an initial "
733 "resource synchronization, you no longer use the following command:"
734 msgstr ""
735 "`--overwrite-data-of-peer` 选项在DRBD "
736 "8.4中不再存在。它已经被更简单的 `--force` 所取代。因此,要启动初始资源同步,不再使用以下命令:"
737
738 #. type: Block title
739 #: recent-changes.adoc:342
740 #, no-wrap
741 msgid "Pre-DRBD 8.4 initial sync `drbdadm` commands"
742 msgstr "Pre-DRBD 8.4初始同步 `drbdadm` 命令'"
743
744 #. type: delimited block -
745 #: recent-changes.adoc:345
746 #, no-wrap
747 msgid "drbdadm -- --overwrite-data-of-peer primary <resource>\n"
748 msgstr "drbdadm -- --overwrite-data-of-peer primary <resource>\n"
749
750 #. type: Plain text
751 #: recent-changes.adoc:348
752 msgid "Use the command below instead:"
753 msgstr "改为使用以下命令:"
754
755 #. type: Block title
756 #: recent-changes.adoc:349
757 #, no-wrap
758 msgid "DRBD 8.4 initial sync `drbdadm` commands"
759 msgstr "DRBD 8.4初始同步 `drbdadm` 命令'"
760
761 #. type: delimited block -
762 #: recent-changes.adoc:352
763 #, no-wrap
764 msgid "drbdadm primary --force <resource>\n"
765 msgstr "drbdadm primary --force <resource>\n"
766
767 #. type: Title ===
768 #: recent-changes.adoc:356
769 #, no-wrap
770 msgid "Changed default values"
771 msgstr "更改的默认值"
772
773 #. type: Plain text
774 #: recent-changes.adoc:360
775 msgid ""
776 "In DRBD 8.4, several `drbd.conf` default values have been updated to match "
777 "improvements in the Linux kernel and available server hardware."
778 msgstr "在DRBD 8.4中,更新了几个 `drbd.conf` 默认值,以匹配Linux内核和可用服务器硬件的改进。"
779
780 #. type: Title ====
781 #: recent-changes.adoc:362
782 #, no-wrap
783 msgid "Number of concurrently active Activity Log extents (`al-extents`)"
784 msgstr "并发活动日志扩展数据块数(`al extents`)"
785
786 #. type: Plain text
787 #: recent-changes.adoc:370
788 msgid ""
789 "``al-extents``' previous default of 127 has changed to 1237, allowing for "
790 "better performance by reducing the amount of metadata disk write operations."
791 " The associated extended resynchronization time after a primary node crash, "
792 "which this change introduces, is marginal given the ubiquity of Gigabit "
793 "Ethernet and higher-bandwidth replication links."
794 msgstr ""
795 "`al-"
796 "extents` 以前的默认值127已更改为1237,通过减少元数据磁盘写入操作的数量,可以获得更好的性能。考虑到千兆位以太网和更高带宽复制链路的普遍性,在主节点崩溃后相关的延长重新同步时间(这一变化引入)是微不足道的。"
797
798 #. type: Title ====
799 #: recent-changes.adoc:372
800 #, no-wrap
801 msgid "Run-length encoding (`use-rle`)"
802 msgstr "运行长度编码(`use-rle`)"
803
804 #. type: Plain text
805 #: recent-changes.adoc:379
806 msgid ""
807 "Run-length encoding (RLE) for bitmap transfers is enabled by default in DRBD"
808 " 8.4; the default for the `use-rle` option is `yes`. RLE greatly reduces the"
809 " amount of data transferred during the <<s-quick-sync-bitmap,quick-sync "
810 "bitmap>> exchange (which occurs any time two disconnected nodes reconnect)."
811 msgstr ""
812 "位图传输的运行长度编码(RLE)在DRBD 8.4中默认启用;使用RLE选项的默认值是yes。RLE极大地减少了在<<s-quick-sync-"
813 "bitmap,quick-sync bitmap>>交换过程中(在两个断开连接的节点重新连接时)传输的数据量。"
814
815 #. type: Title ====
816 #: recent-changes.adoc:381
817 #, no-wrap
818 msgid "I/O error handling strategy (`on-io-error`)"
819 msgstr "I/O错误处理策略( `on-io-error`)"
820
821 #. type: Plain text
822 #: recent-changes.adoc:388
823 msgid ""
824 "DRBD 8.4 defaults to <<fp-io-error-detach,masking I/O errors>>, which "
825 "replaces the earlier behavior of <<fp-io-error-pass-on,passing them on>> to "
826 "upper layers in the I/O stack. This means that a DRBD volume operating on a "
827 "faulty drive automatically switches to the _Diskless_ disk state and "
828 "continues to serve data from its peer node."
829 msgstr ""
830 "DRBD 8.4默认为<<fp-io-error-detach,masking I/O errors>>,它取代了<<fp io error pass "
831 "on的早期行为,将它们传递给I/O堆栈的上层。这意味着在故障驱动器上运行的DRBD卷将自动切换到 _无盘_ 磁盘状态,并继续从其对等节点提供数据。"
832
833 #. type: Title ====
834 #: recent-changes.adoc:390
835 #, no-wrap
836 msgid "Variable-rate synchronization"
837 msgstr "变速率同步"
838
839 #. type: Plain text
840 #: recent-changes.adoc:395
841 msgid ""
842 "<<s-variable-rate-sync,Variable-rate synchronization>> is on by default in "
843 "DRBD 8.4. The default settings are equivalent to the following configuration"
844 " options:"
845 msgstr ""
846 "<<s-variable-rate-sync,Variable-rate synchronization>>在DRBD "
847 "8.4中默认打开。默认设置相当于以下配置选项:"
848
849 #. type: Block title
850 #: recent-changes.adoc:396
851 #, no-wrap
852 msgid "DRBD 8.4 default options for variable-rate synchronization"
853 msgstr "DRBD 8.4变速率同步的默认选项"
854
855 #. type: delimited block -
856 #: recent-changes.adoc:406
857 #, no-wrap
858 msgid ""
859 "resource test {\n"
860 " disk {\n"
861 " c-plan-ahead 20;\n"
862 " c-fill-target 50k;\n"
863 " c-min-rate 250k;\n"
864 " }\n"
865 " ...\n"
866 msgstr ""
867 "resource test {\n"
868 " disk {\n"
869 " c-plan-ahead 20;\n"
870 " c-fill-target 50k;\n"
871 " c-min-rate 250k;\n"
872 " }\n"
873 " ...\n"
874
875 #. type: Title ====
876 #: recent-changes.adoc:409
877 #, no-wrap
878 msgid "Number of configurable DRBD devices (`minor-count`)"
879 msgstr "可配置的DRBD设备数量( `minor-count`)"
880
881 #. type: Plain text
882 #: recent-changes.adoc:413
883 msgid ""
884 "The maximum number of configurable DRBD devices (previously 255) is "
885 "1,048,576 (2^20^) in DRBD 8.4. This is more of a theoretical limit that is "
886 "unlikely to be reached in production systems."
887 msgstr ""
888 "在DRBD 8.4中,可配置的DRBD设备(以前是255)的最大数量是1048576(2^20^)。这更像是生产系统中不可能达到的理论极限。"