# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2020-03-02 15:09+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. type: Title == #: recent-changes.adoc:3 #, no-wrap msgid "Recent changes" msgstr "最近的变化" #. type: Plain text #: recent-changes.adoc:8 msgid "" "This appendix is for users who upgrade from earlier DRBD versions to DRBD " "9.0. It highlights some important changes to DRBD's configuration and " "behavior." msgstr "本附录适用于从早期DRBD版本升级到DRBD 9.0的用户。它强调了对DRBD的配置和行为的一些重要更改。" #. type: Title === #: recent-changes.adoc:10 #, no-wrap msgid "Connections" msgstr "连接" #. type: Plain text #: recent-changes.adoc:13 msgid "With DRBD 9 data can be replicated across more than two nodes." msgstr "使用DRBD 9,数据可以跨两个以上的节点复制。" #. type: Plain text #: recent-changes.adoc:17 msgid "" "This also means that stacking DRBD volumes is now deprecated (though still " "possible); and that using DRBD as a network-blockdevice (a <>) now makes sense." msgstr "" "这也意味着现在不赞成堆叠DRBD卷(尽管仍有可能);现在可以使用DRBD作为网络阻隔设备(a<>) now makes sense." #. type: Plain text #: recent-changes.adoc:19 msgid "Associated with this change are" msgstr "与此更改关联的是" #. type: Plain text #: recent-changes.adoc:21 msgid "Metadata size changes (one bitmap per peer)" msgstr "元数据大小更改(每个节点一个bitmap)" #. type: Plain text #: recent-changes.adoc:23 msgid "`/proc/drbd` now only gives minimal information, see" msgstr "`/proc/drbd` 现在只提供最少的信息,请参见" #. type: Plain text #: recent-changes.adoc:24 msgid "<>" msgstr "" #. type: Plain text #: recent-changes.adoc:26 msgid "Resynchronization from/to <>" msgstr "从<>同步或同步到<>" #. type: Plain text #: recent-changes.adoc:29 msgid "" "The <> is used even when in <> role" msgstr "" "即使在<>角色中也会使用<>" #. type: Title === #: recent-changes.adoc:31 #, no-wrap msgid "Auto-Promote Feature" msgstr "自动升级功能" #. type: Plain text #: recent-changes.adoc:35 msgid "" "DRBD 9 can be configured to do the _Primary_/_Secondary_ <> automatically, on demand." msgstr "DRBD 9可以配置为按需自动执行 _主/次_ 角色切换。" #. type: Plain text #: recent-changes.adoc:38 msgid "" "This feature replaces both the `become-primary-on` configuration value, as " "well as the old Heartbeat v1 `drbddisk` script." msgstr "此功能将替换 `become-primary-on` 配置值以及旧的Heartbeat v1 `drbddisk` 脚本。" #. type: Plain text #: recent-changes.adoc:40 msgid "Please see <> for more details." msgstr "有关详细信息,请参见<>。" #. type: Title === #: recent-changes.adoc:42 #, no-wrap msgid "Increased Performance" msgstr "提高性能" #. type: Plain text #: recent-changes.adoc:47 msgid "" "DRBD 9 has seen noticeable performance improvements, depending on your " "specific hardware it's up to two magnitudes faster (measuring number of I/O " "operations/second for random writes)." msgstr "DRBD 9已经看到了显著的性能改进,这取决于您的特定硬件,它的速度快了两个数量级(测量随机写入的I/O操作数/秒)。" #. FIXME: same as 8.4? #. type: Title === #: recent-changes.adoc:52 #, no-wrap msgid "Multiple Volumes in one Resource" msgstr "一个资源中有多个卷" #. type: Plain text #: recent-changes.adoc:60 msgid "" "Volumes are a new concept in DRBD 8.4. Prior to 8.4, every resource had only" " one block device associated with it, thus there was a one-to-one " "relationship between DRBD devices and resources. Since 8.4, multiple volumes" " (each corresponding to one block device) may share a single replication " "connection, which in turn corresponds to a single resource." msgstr "" "卷是DRBD " "8.4中的一个新概念。在8.4之前,每个资源只有一个与其相关联的块设备,因此DRBD设备和资源之间存在一对一的关系。自8.4以来,多个卷(每个卷对应于一个块设备)可以共享一个复制连接,而该复制连接又对应于一个资源。" #. type: Plain text #: recent-changes.adoc:62 msgid "This results in a few other necessary changes in behaviour:" msgstr "这会导致一些其他必要的行为改变:" #. type: Title ==== #: recent-changes.adoc:64 #, no-wrap msgid "Changes to udev symlinks" msgstr "更改以指定udev符号链接" #. type: Plain text #: recent-changes.adoc:69 msgid "" "The DRBD udev integration scripts manage symlinks pointing to individual " "block device nodes. These exist in the `/dev/drbd/by-res/` and " "`/dev/drbd/by-disk/` directories." msgstr "" "DRBD udev集成脚本管理指向各个块设备节点的符号链接。它们存在于 `/dev/drbd/by-res/` 和 `/dev/drbd/by-disk` " "目录中。" #. type: Plain text #: recent-changes.adoc:73 msgid "" "Since DRBD 8.4, a single resource may correspond to multiple volumes, " "`/dev/drbd/by-res/____` is a _directory_, containing symlinks " "pointing to individual volumes:" msgstr "" "从DRBD 8.4起,一个资源可以对应于多个卷, `/dev/DRBD/by-res/__>__` " "是一个 _目录_ ,包含指向各个卷的符号链接:" #. type: Block title #: recent-changes.adoc:74 #, no-wrap msgid "udev managed DRBD symlinks in DRBD 8.4" msgstr "DRBD 8.4中udev管理的DRBD符号链接" #. type: delimited block - #: recent-changes.adoc:80 #, no-wrap msgid "" "lrwxrwxrwx 1 root root 11 2015-08-09 19:32 /dev/drbd/by-res/home/0 -> ../../drbd0\n" "lrwxrwxrwx 1 root root 11 2015-08-09 19:32 /dev/drbd/by-res/data/0 -> ../../drbd1\n" "lrwxrwxrwx 1 root root 11 2015-08-09 19:33 /dev/drbd/by-res/nfs-root/0 -> ../../drbd2\n" "lrwxrwxrwx 1 root root 11 2015-08-09 19:33 /dev/drbd/by-res/nfs-root/1 -> ../../drbd3\n" msgstr "" "lrwxrwxrwx 1 root root 11 2015-08-09 19:32 /dev/drbd/by-res/home/0 -> ../../drbd0\n" "lrwxrwxrwx 1 root root 11 2015-08-09 19:32 /dev/drbd/by-res/data/0 -> ../../drbd1\n" "lrwxrwxrwx 1 root root 11 2015-08-09 19:33 /dev/drbd/by-res/nfs-root/0 -> ../../drbd2\n" "lrwxrwxrwx 1 root root 11 2015-08-09 19:33 /dev/drbd/by-res/nfs-root/1 -> ../../drbd3\n" #. type: Plain text #: recent-changes.adoc:86 msgid "" "Configurations where filesystems are referred to by such a symlink must be " "updated when moving to DRBD 8.4, usually by simply appending `/0` to the " "symlink path. If the filesystem was referenced via `UUID=` or " "`/dev/drbd__X__` in `/etc/fstab`, no change is necessary." msgstr "" "当移动到DRBD " "8.4时,必须更新这样一个符号链接引用文件系统的配置,通常只需在符号链接路径上附加 `/0` 。如果文件系统是通过 `/etc/fstab` 中的 `UUID=` 或 `/dev/drbd__Xx__` 引用的,则不需要进行任何更改。" #. type: Title === #: recent-changes.adoc:89 #, no-wrap msgid "Changes to the configuration syntax" msgstr "配置语法的更改" #. type: Plain text #: recent-changes.adoc:94 msgid "" "This section highlights changes to the configuration syntax. It affects the " "DRBD configuration files in `/etc/drbd.d`, and `/etc/drbd.conf`." msgstr "本节重点介绍对配置语法的更改。它影响 `/etc/drbd.d` ,和 `/etc/drbd.conf` 中的DRBD配置文件。" #. type: Plain text #: recent-changes.adoc:102 msgid "" "The `drbdadm` parser still accepts pre-8.4 configuration syntax and " "automatically translates, internally, into the current syntax. Unless you " "are planning to use new features from DRBD 9, there is no requirement to " "modify your configuration to the current syntax. It is, however, recommended" " that you eventually adopt the new syntax, as the old format will no longer " "be supported in DRBD 9." msgstr "" "`drbdadm` 解析器仍然接受8.4之前的配置语法,并在内部自动转换为当前语法。除非您计划使用DRBD " "9的新特性,否则不需要将配置修改为当前语法。但是,建议您最终采用新语法,因为DRBD 9不再支持旧格式。" #. type: Title ==== #: recent-changes.adoc:104 #, no-wrap msgid "Boolean configuration options" msgstr "布尔配置选项" #. type: Plain text #: recent-changes.adoc:108 msgid "" "`drbd.conf` supports a variety of boolean configuration options. In pre DRBD" " 8.4 syntax, these boolean options would be set as follows:" msgstr "`conf` 支持多种布尔配置选项。在DRBD 8.4之前的语法中,这些布尔选项设置如下:" #. type: Block title #: recent-changes.adoc:109 #, no-wrap msgid "Pre-DRBD 8.4 configuration example with boolean options" msgstr "带有布尔选项的DRBD 8.4之前的配置示例" #. type: delimited block - #: recent-changes.adoc:117 #, no-wrap msgid "" "resource test {\n" "\tdisk {\n" "\t\tno-md-flushes;\n" "\t}\n" "}\n" msgstr "" "resource test {\n" "\tdisk {\n" "\t\tno-md-flushes;\n" "\t}\n" "}\n" #. type: Plain text #: recent-changes.adoc:122 msgid "" "This led to configuration issues if you wanted to set a boolean variable in " "the `common` configuration section, and then override it for individual " "resources:" msgstr "如果要在 `common` 配置部分中设置布尔变量,然后对单个资源重写该变量,则会导致配置问题:" #. type: Block title #: recent-changes.adoc:123 #, no-wrap msgid "" "Pre-DRBD 8.4 configuration example with boolean options in `common` section" msgstr "Pre DRBD 8.4配置示例,在 `common` 部分提供布尔选项" #. type: delimited block - #: recent-changes.adoc:137 #, no-wrap msgid "" "common {\n" "\tdisk {\n" "\t\tno-md-flushes;\n" "\t}\n" "}\n" "resource test {\n" "\tdisk {\n" "\t\t# No facility to enable disk flushes previously disabled in\n" "\t\t# \"common\"\n" "\t}\n" "}\n" msgstr "" "common {\n" "\tdisk {\n" "\t\tno-md-flushes;\n" "\t}\n" "}\n" "resource test {\n" "\tdisk {\n" "\t\t# No facility to enable disk flushes previously disabled in\n" "\t\t# \"common\"\n" "\t}\n" "}\n" #. type: Plain text #: recent-changes.adoc:142 msgid "" "In DRBD 8.4, all boolean options take a value of `yes` or `no`, making them " "easily configurable both from `common` and from individual `resource` " "sections:" msgstr "在DRBD 8.4中,所有布尔选项的值都为 `yes` 或 `no`,这使得它们很容易从 `common` 和单个 `resource` 部分进行配置:" #. type: Block title #: recent-changes.adoc:143 #, no-wrap msgid "" "DRBD 8.4 configuration example with boolean options in `common` section" msgstr "DRBD 8.4 `common` 部分中带有布尔选项的配置示例" #. type: delimited block - #: recent-changes.adoc:154 #, no-wrap msgid "" "common {\n" " md-flushes no;\n" "}\n" "resource test {\n" " disk {\n" " md-flushes yes;\n" " }\n" "}\n" msgstr "" "common {\n" " md-flushes no;\n" "}\n" "resource test {\n" " disk {\n" " md-flushes yes;\n" " }\n" "}\n" #. type: Title ==== #: recent-changes.adoc:157 #, no-wrap msgid "`syncer` section no longer exists" msgstr "`syncer` 部分不再存在" #. type: Plain text #: recent-changes.adoc:163 msgid "" "Prior to DRBD 8.4, the configuration syntax allowed for a `syncer` section " "which has become obsolete in 8.4. All previously existing `syncer` options " "have now moved into the `net` or `disk` sections of resources." msgstr "" "在DRBD " "8.4之前,`syncer` 部分的配置语法在8.4中已经过时。所有以前存在的 `syncer` 选项现在都移到了资源的 `net` 或 `disk` 部分。" #. type: Block title #: recent-changes.adoc:164 #, no-wrap msgid "Pre-DRBD 8.4 configuration example with `syncer` section" msgstr "带有 `syncer` 部分的Pre-DRBD 8.4配置示例" #. type: delimited block - #: recent-changes.adoc:174 #, no-wrap msgid "" "resource test {\n" " syncer {\n" " al-extents 3389;\n" " verify-alg md5;\n" " }\n" " ...\n" "}\n" msgstr "" "resource test {\n" " syncer {\n" " al-extents 3389;\n" " verify-alg md5;\n" " }\n" " ...\n" "}\n" #. type: Plain text #: recent-changes.adoc:177 msgid "The above example is expressed, in DRBD 8.4 syntax, as follows:" msgstr "以上示例用DRBD 8.4语法表示如下:" #. type: Block title #: recent-changes.adoc:178 #, no-wrap msgid "DRBD 8.4 configuration example with `syncer` section replaced" msgstr "DRBD 8.4替换了 `syncer` 部分的配置示例" #. type: delimited block - #: recent-changes.adoc:190 #, no-wrap msgid "" "resource test {\n" " disk {\n" " al-extents 3389;\n" " }\n" " net {\n" " verify-alg md5;\n" " }\n" " ...\n" "}\n" msgstr "" "resource test {\n" " disk {\n" " al-extents 3389;\n" " }\n" " net {\n" " verify-alg md5;\n" " }\n" " ...\n" "}\n" #. type: Title ==== #: recent-changes.adoc:193 #, no-wrap msgid "`protocol` option is no longer special" msgstr "`protocol` 选项不再特殊" #. type: Plain text #: recent-changes.adoc:198 msgid "" "In prior DRBD releases, the `protocol` option was awkwardly (and counter-" "intuitively) required to be specified on its own, rather than as part of the" " `net` section. DRBD 8.4 removes this anomaly:" msgstr "在以前的DRBD版本中,“protocol”选项需要自己指定,而不是作为“net”部分的一部分。DRBD 8.4消除了这个异常:" #. type: Block title #: recent-changes.adoc:199 #, no-wrap msgid "Pre-DRBD 8.4 configuration example with standalone `protocol` option" msgstr "带有独立“protocol”选项的Pre-DRBD 8.4配置示例" #. type: delimited block - #: recent-changes.adoc:210 #, no-wrap msgid "" "resource test {\n" " protocol C;\n" " ...\n" " net {\n" " ...\n" " }\n" " ...\n" "}\n" msgstr "" "resource test {\n" " protocol C;\n" " ...\n" " net {\n" " ...\n" " }\n" " ...\n" "}\n" #. type: Plain text #: recent-changes.adoc:213 recent-changes.adoc:252 msgid "The equivalent DRBD 8.4 configuration syntax is:" msgstr "等效的DRBD 8.4配置语法为:" #. type: Block title #: recent-changes.adoc:214 #, no-wrap msgid "" "DRBD 8.4 configuration example with `protocol` option within `net` section" msgstr "DRBD 8.4配置示例,在 `net` 部分中有 `protocol` 选项" #. type: delimited block - #: recent-changes.adoc:224 #, no-wrap msgid "" "resource test {\n" " net {\n" " protocol C;\n" " ...\n" " }\n" " ...\n" "}\n" msgstr "" "resource test {\n" " net {\n" " protocol C;\n" " ...\n" " }\n" " ...\n" "}\n" #. type: Title ==== #: recent-changes.adoc:228 #, no-wrap msgid "New per-resource `options` section" msgstr "按资源新建 `option` 部分" #. type: Plain text #: recent-changes.adoc:236 msgid "" "DRBD 8.4 introduces a new `options` section that may be specified either in " "a `resource` or in the `common` section. The `cpu-mask` option has moved " "into this section from the `syncer` section in which it was awkwardly " "configured before. The `on-no-data-accessible` option has also moved to this" " section, rather than being in `disk` where it had been in pre-8.4 releases." msgstr "" "DRBD 8.4引入了一个新的 `options` 部分,可以在 `resource` 或 `common` 部分中指定。 `cpu-mask`" "选项已经从 `syncer` 部分移到了这个部分,在这个部分中它以前配置得很笨拙。`on-no-data-" "accessible` 选项也移到了这个部分,而不是8.4以前的 `disk` 中版本。" #. type: Block title #: recent-changes.adoc:237 #, no-wrap msgid "" "Pre-DRBD 8.4 configuration example with `cpu-mask` and `on-no-data-" "accessible`" msgstr "Pre DRBD 8.4配置示例,带有 `cpu-mask` 和 `on-no-data-accessible` " #. type: delimited block - #: recent-changes.adoc:249 #, no-wrap msgid "" "resource test {\n" " syncer {\n" " cpu-mask ff;\n" " }\n" " disk {\n" " on-no-data-accessible suspend-io;\n" " }\n" " ...\n" "}\n" msgstr "" "resource test {\n" " syncer {\n" " cpu-mask ff;\n" " }\n" " disk {\n" " on-no-data-accessible suspend-io;\n" " }\n" " ...\n" "}\n" #. type: Block title #: recent-changes.adoc:253 #, no-wrap msgid "DRBD 8.4 configuration example with `options` section" msgstr "带有 `options` 部分的DRBD 8.4配置示例" #. type: delimited block - #: recent-changes.adoc:263 #, no-wrap msgid "" "resource test {\n" " options {\n" " cpu-mask ff;\n" " on-no-data-accessible suspend-io;\n" " }\n" " ...\n" "}\n" msgstr "" "resource test {\n" " options {\n" " cpu-mask ff;\n" " on-no-data-accessible suspend-io;\n" " }\n" " ...\n" "}\n" #. type: Title === #: recent-changes.adoc:267 #, no-wrap msgid "On-line changes to network communications" msgstr "网络通信的在线变化" #. type: Title ==== #: recent-changes.adoc:270 #, no-wrap msgid "Changing the replication protocol" msgstr "更改复制协议" #. type: Plain text #: recent-changes.adoc:276 msgid "" "Prior to DRBD 8.4, changes to the replication protocol were impossible while" " the resource was on-line and active. You would have to change the " "`protocol` option in your resource configuration file, then issue `drbdadm " "disconnect` and finally `drbdadm connect` on both nodes." msgstr "" "在DRBD " "8.4之前,当资源处于联机和活动状态时,无法更改复制协议。您必须更改资源配置文件中的 `protocol` 选项,然后在两个节点上分别输入 `drbdadm " "disconnect` 和 `drbdadm connect` 。" #. type: Plain text #: recent-changes.adoc:280 msgid "" "In DRBD 8.4, the replication protocol can be changed on the fly. You may, " "for example, temporarily switch a connection to asynchronous replication " "from its normal, synchronous replication mode." msgstr "在DRBD 8.4中,复制协议可以动态更改。例如,您可以临时将连接从正常同步复制模式切换到异步复制模式。" #. type: Block title #: recent-changes.adoc:281 #, no-wrap msgid "Changing replication protocol while connection is established" msgstr "建立连接时更改复制协议" #. type: delimited block - #: recent-changes.adoc:284 #, no-wrap msgid "drbdadm net-options --protocol=A \n" msgstr "drbdadm net-options --protocol=A \n" #. type: Title ==== #: recent-changes.adoc:287 #, no-wrap msgid "Changing from single-Primary to dual-Primary replication" msgstr "从单主复制更改为双主复制" #. type: Plain text #: recent-changes.adoc:294 msgid "" "Prior to DRBD 8.4, it was impossible to switch between single-Primary to " "dual-Primary or back while the resource was on-line and active. You would " "have to change the `allow-two-primaries` option in your resource " "configuration file, then issue `drbdadm disconnect` and finally `drbdadm " "connect` on both nodes." msgstr "" "在DRBD 8.4之前,当资源处于联机和活动状态时,无法在单主到双主之间切换或切换回。您必须更改资源配置文件中的 `allow-two-" "primaries` 选项,然后在两个节点上分别发出 `drbdadm disconnect` 和 `drbdadm connect`。" #. type: Plain text #: recent-changes.adoc:296 msgid "In DRBD 8.4, it is possible to switch modes on-line." msgstr "在DRBD 8.4中,可以在线切换模式。" #. type: Plain text #: recent-changes.adoc:301 msgid "" "It is _required_ for an application using DRBD dual-Primary mode to use a " "clustered file system or some other distributed locking mechanism. This " "applies regardless of whether dual-Primary mode is enabled on a temporary or" " permanent basis." msgstr "使用DRBD双主模式的应用程序 _需要_ 使用集群文件系统或其他一些分布式锁定机制。无论双主模式是临时启用还是永久启用,这都适用。" #. type: Plain text #: recent-changes.adoc:304 msgid "" "Refer to <> for switching to dual-Primary " "mode while the resource is on-line." msgstr "当资源在线时,请参阅<>以切换到双主模式。" #. type: Title === #: recent-changes.adoc:307 #, no-wrap msgid "Changes to the `drbdadm` command" msgstr "对 `drbdadm` 命令的更改" #. type: Title ==== #: recent-changes.adoc:310 #, no-wrap msgid "Changes to pass-through options" msgstr "更改pass-through选项" #. type: Plain text #: recent-changes.adoc:315 msgid "" "Prior to DRBD 8.4, if you wanted `drbdadm` to pass special options through " "to `drbdsetup`, you had to use the arcane `--{nbsp}--