| 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 |
#: gfs.adoc:2 |
| 21 |
#, no-wrap |
| 22 |
msgid "Using GFS with DRBD" |
| 23 |
msgstr "将GFS与DRBD结合使用" |
| 24 |
|
| 25 |
#. type: Plain text |
| 26 |
#: gfs.adoc:7 |
| 27 |
msgid "" |
| 28 |
"indexterm:[GFS]indexterm:[Global File System]This chapter outlines the steps" |
| 29 |
" necessary to set up a DRBD resource as a block device holding a shared " |
| 30 |
"Global File System (GFS). It covers both GFS and GFS2." |
| 31 |
msgstr "" |
| 32 |
"indexterm:[GFS]indexterm:[Global File " |
| 33 |
"System]本章概述了将DRBD资源设置为包含共享的Global File System(GFS)的块设备所需的步骤。它包括GFS和GFS2。" |
| 34 |
|
| 35 |
#. type: Plain text |
| 36 |
#: gfs.adoc:11 |
| 37 |
msgid "" |
| 38 |
"In order to use GFS on top of DRBD, you must configure DRBD in " |
| 39 |
"indexterm:[dual-primary mode]<<s-dual-primary-mode,dual-primary mode>>." |
| 40 |
msgstr "" |
| 41 |
"要在DRBD上使用GFS,必须在indexterm中配置DRBD:[dual-primary mode]<<s-dual-primary-mode,dual-primary " |
| 42 |
"mode>>。" |
| 43 |
|
| 44 |
#. type: delimited block = |
| 45 |
#: gfs.adoc:16 |
| 46 |
msgid "" |
| 47 |
"All cluster file systems _require_ fencing - not only via the DRBD resource," |
| 48 |
" but STONITH! A faulty member _must_ be killed." |
| 49 |
msgstr "所有的集群文件系统都需要围栏-不仅通过DRBD资源,而且还需要STONITH!必须kill掉有问题的成员。" |
| 50 |
|
| 51 |
#. type: delimited block = |
| 52 |
#: gfs.adoc:18 |
| 53 |
msgid "You'll want these settings:" |
| 54 |
msgstr "您需要这些设置:" |
| 55 |
|
| 56 |
#. type: delimited block = |
| 57 |
#: gfs.adoc:27 |
| 58 |
#, no-wrap |
| 59 |
msgid "" |
| 60 |
"\tnet {\n" |
| 61 |
"\t\tfencing resource-and-stonith;\n" |
| 62 |
"\t}\n" |
| 63 |
"\thandlers {\n" |
| 64 |
"\t\t# Make sure the other node is confirmed\n" |
| 65 |
"\t\t# dead after this!\n" |
| 66 |
"\t\toutdate-peer \"/sbin/kill-other-node.sh\";\n" |
| 67 |
"\t}\n" |
| 68 |
msgstr "" |
| 69 |
"\tnet {\n" |
| 70 |
"\t\tfencing resource-and-stonith;\n" |
| 71 |
"\t}\n" |
| 72 |
"\thandlers {\n" |
| 73 |
"\t\t# Make sure the other node is confirmed\n" |
| 74 |
"\t\t# dead after this!\n" |
| 75 |
"\t\toutdate-peer \"/sbin/kill-other-node.sh\";\n" |
| 76 |
"\t}\n" |
| 77 |
|
| 78 |
#. type: delimited block = |
| 79 |
#: gfs.adoc:30 |
| 80 |
msgid "" |
| 81 |
"There must be _no_ volatile caches! Please see " |
| 82 |
"https://fedorahosted.org/cluster/wiki/DRBD_Cookbook for some more " |
| 83 |
"information." |
| 84 |
msgstr "" |
| 85 |
"一定有不稳定的缓存!有关更多信息,请参见 https://fedorahosted.org/cluster/wiki/DRBD_Cookbook。" |
| 86 |
|
| 87 |
#. type: Title === |
| 88 |
#: gfs.adoc:34 |
| 89 |
#, no-wrap |
| 90 |
msgid "GFS primer" |
| 91 |
msgstr "GFS基础" |
| 92 |
|
| 93 |
#. type: Plain text |
| 94 |
#: gfs.adoc:42 |
| 95 |
msgid "" |
| 96 |
"The Red Hat Global File System (GFS) is Red Hat's implementation of a " |
| 97 |
"concurrent-access shared storage file system. As any such filesystem, GFS " |
| 98 |
"allows multiple nodes to access the same storage device, in read/write " |
| 99 |
"fashion, simultaneously without risking data corruption. It does so by using" |
| 100 |
" a Distributed Lock Manager (DLM) which manages concurrent access from " |
| 101 |
"cluster members." |
| 102 |
msgstr "" |
| 103 |
"Red " |
| 104 |
"Hat全局文件系统(GFS)是redhat对并发访问共享存储文件系统的实现。与任何此类文件系统一样,GFS允许多个节点以读/写方式同时访问同一存储设备,而不会造成数据损坏的风险。它通过使用分布式锁管理器(DLM)来管理来自集群成员的并发访问。" |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
#: gfs.adoc:51 |
| 108 |
msgid "" |
| 109 |
"GFS was designed, from the outset, for use with conventional shared storage " |
| 110 |
"devices. Regardless, it is perfectly possible to use DRBD, in dual-primary " |
| 111 |
"mode, as a replicated storage device for GFS. Applications may benefit from " |
| 112 |
"reduced read/write latency due to the fact that DRBD normally reads from and" |
| 113 |
" writes to local storage, as opposed to the SAN devices GFS is normally " |
| 114 |
"configured to run from. Also, of course, DRBD adds an additional physical " |
| 115 |
"copy to every GFS filesystem, thus adding redundancy to the concept." |
| 116 |
msgstr "" |
| 117 |
"GFS从一开始就被设计用于传统的共享存储设备。无论如何,完全有可能在dual-primary模式下使用DRBD作为GFS的复制存储设备。由于DRBD通常从本地存储器读取和写入数据,而GFS通常配置为从SAN设备运行,因此应用程序可能会从减少的读/写延迟中受益。当然,DRBD还为每个GFS文件系统添加了一个额外的物理拷贝,从而为这个概念增加了冗余。" |
| 118 |
|
| 119 |
#. type: Plain text |
| 120 |
#: gfs.adoc:56 |
| 121 |
msgid "" |
| 122 |
"GFS makes use of a cluster-aware variant of LVM, indexterm:[LVM]termed " |
| 123 |
"Cluster Logical Volume Manager or indexterm:[CLVM]CLVM. As such, some " |
| 124 |
"parallelism exists between using DRBD as the data storage for GFS, and using" |
| 125 |
" <<s-lvm-drbd-as-pv,DRBD as a Physical Volume for conventional LVM>>." |
| 126 |
msgstr "" |
| 127 |
"GFS使用LVM的集群感知变量indexterm:[LVM]称为集群逻辑卷管理器或indexterm:[CLVM]CLVM。因此,在使用DRBD作为GFS的数据存储和使用<s-lvm-" |
| 128 |
"DRBD-As-pv,DRBD作为常规lvm的物理卷之间存在一些并行性。" |
| 129 |
|
| 130 |
#. type: Plain text |
| 131 |
#: gfs.adoc:61 |
| 132 |
msgid "" |
| 133 |
"GFS file systems are usually tightly integrated with Red Hat's own cluster " |
| 134 |
"management framework, the indexterm:[Red Hat Cluster Suite]<<ch-rhcs,Red Hat" |
| 135 |
" Cluster>>. This chapter explains the use of DRBD in conjunction with GFS in" |
| 136 |
" the Red Hat Cluster context." |
| 137 |
msgstr "" |
| 138 |
"GFS文件系统通常与Red Hat自己的集群管理框架indexterm:[Red Hat cluster Suite]<<ch-rhcs,Red Hat" |
| 139 |
" Cluster>>紧密集成。本章解释在红帽集群上下文中DRBD与GFS的结合使用。" |
| 140 |
|
| 141 |
#. type: Plain text |
| 142 |
#: gfs.adoc:67 |
| 143 |
msgid "" |
| 144 |
"GFS, CLVM, and Red Hat Cluster are available in Red Hat Enterprise Linux " |
| 145 |
"(RHEL) and distributions derived from it, such as indexterm:[CentOS]CentOS. " |
| 146 |
"Packages built from the same sources are also available in indexterm:[Debian" |
| 147 |
" GNU/Linux]Debian GNU/Linux. This chapter assumes running GFS on a Red Hat " |
| 148 |
"Enterprise Linux system." |
| 149 |
msgstr "" |
| 150 |
"GFS、CLVM和Red Hat Cluster在Red Hat Enterprise " |
| 151 |
"Linux(RHEL)及其派生的发行版中可用,例如indexterm:[CentOS]CentOS和indexterm:[Debian " |
| 152 |
"GNU/Linux]Debian GNU/Linux中也提供了从相同来源构建的包。本章假设在Red Hat Enterprise " |
| 153 |
"Linux系统上运行GFS。" |
| 154 |
|
| 155 |
#. type: Title === |
| 156 |
#: gfs.adoc:69 |
| 157 |
#, no-wrap |
| 158 |
msgid "Creating a DRBD resource suitable for GFS" |
| 159 |
msgstr "创建适合GFS的DRBD资源" |
| 160 |
|
| 161 |
#. type: Plain text |
| 162 |
#: gfs.adoc:80 |
| 163 |
msgid "" |
| 164 |
"Since GFS is a shared cluster file system expecting concurrent read/write " |
| 165 |
"storage access from all cluster nodes, any DRBD resource to be used for " |
| 166 |
"storing a GFS filesystem must be configured in <<s-dual-primary-mode,dual-" |
| 167 |
"primary mode>>. Also, it is recommended to use some of DRBD's <<s-automatic-" |
| 168 |
"split-brain-recovery-configuration,features for automatic recovery from " |
| 169 |
"split brain>>. To do all this, include the following lines in the resource " |
| 170 |
"configuration: indexterm:[drbd.conf]" |
| 171 |
msgstr "" |
| 172 |
"由于GFS是一个共享的集群文件系统,需要从所有集群节点进行并发读/写存储访问,因此用于存储GFS文件系统的任何DRBD资源都必须在<<s-dual-" |
| 173 |
"primary-mode,dual-primary mode>>中配置。此外,建议使用一些DRBD的<<s-automatic-split-brain-" |
| 174 |
"recovery-configuration,features for automatic recovery from split " |
| 175 |
"brain>>。为此,在资源配置中包括以下行:indexterm:[drbd.conf]" |
| 176 |
|
| 177 |
#. type: delimited block - |
| 178 |
#: gfs.adoc:93 |
| 179 |
#, no-wrap |
| 180 |
msgid "" |
| 181 |
"resource <resource> {\n" |
| 182 |
" net {\n" |
| 183 |
" allow-two-primaries yes;\n" |
| 184 |
" after-sb-0pri discard-zero-changes;\n" |
| 185 |
" after-sb-1pri discard-secondary;\n" |
| 186 |
" after-sb-2pri disconnect;\n" |
| 187 |
" ...\n" |
| 188 |
" }\n" |
| 189 |
" ...\n" |
| 190 |
"}\n" |
| 191 |
msgstr "" |
| 192 |
"resource <resource> {\n" |
| 193 |
" net {\n" |
| 194 |
" allow-two-primaries yes;\n" |
| 195 |
" after-sb-0pri discard-zero-changes;\n" |
| 196 |
" after-sb-1pri discard-secondary;\n" |
| 197 |
" after-sb-2pri disconnect;\n" |
| 198 |
" ...\n" |
| 199 |
" }\n" |
| 200 |
" ...\n" |
| 201 |
"}\n" |
| 202 |
|
| 203 |
#. type: delimited block = |
| 204 |
#: gfs.adoc:98 |
| 205 |
msgid "" |
| 206 |
"By configuring auto-recovery policies, you are configuring effectively " |
| 207 |
"configuring automatic data-loss! Be sure you understand the implications." |
| 208 |
msgstr "通过配置自动恢复策略,您可以有效地配置自动数据丢失!一定要明白其中的含义。" |
| 209 |
|
| 210 |
#. type: Plain text |
| 211 |
#: gfs.adoc:107 |
| 212 |
msgid "" |
| 213 |
"Once you have added these options to <<ch-configure,your freshly-configured " |
| 214 |
"resource>>, you may <<s-first-time-up,initialize your resource as you " |
| 215 |
"normally would>>. Since the indexterm:[drbd.conf]`allow-two-primaries` " |
| 216 |
"option is set to `yes` for this resource, you will be able to <<s-switch-" |
| 217 |
"resource-roles,promote the resource>>to the primary role on two nodes." |
| 218 |
msgstr "" |
| 219 |
"一旦您将这些选项添加到<<ch-configure,your freshly-configured resource>>中,您就可以<<s-first-" |
| 220 |
"time-up,initialize your resource as you normally would>>, 提升为两个节点上的主角色。" |
| 221 |
|
| 222 |
#. type: Title === |
| 223 |
#: gfs.adoc:109 |
| 224 |
#, no-wrap |
| 225 |
msgid "Configuring LVM to recognize the DRBD resource" |
| 226 |
msgstr "配置LVM以识别DRBD资源" |
| 227 |
|
| 228 |
#. type: Plain text |
| 229 |
#: gfs.adoc:114 |
| 230 |
msgid "" |
| 231 |
"GFS uses CLVM, the cluster-aware version of LVM, to manage block devices to " |
| 232 |
"be used by GFS. In order to use CLVM with DRBD, ensure that your LVM " |
| 233 |
"configuration" |
| 234 |
msgstr "GFS使用CLVM(LVM的集群感知版本)来管理GFS要使用的块设备。为了在DRBD中使用CLVM,请确保LVM配置" |
| 235 |
|
| 236 |
#. type: Plain text |
| 237 |
#: gfs.adoc:117 |
| 238 |
msgid "" |
| 239 |
"uses clustered locking. To do this, set the following option in " |
| 240 |
"`/etc/lvm/lvm.conf`:" |
| 241 |
msgstr "使用集群锁定。为此,请在 `/etc/lvm/lvm.conf` 中设置以下选项:" |
| 242 |
|
| 243 |
#. type: delimited block - |
| 244 |
#: gfs.adoc:121 |
| 245 |
#, no-wrap |
| 246 |
msgid "locking_type = 3\n" |
| 247 |
msgstr "locking_type = 3\n" |
| 248 |
|
| 249 |
#. type: Plain text |
| 250 |
#: gfs.adoc:126 |
| 251 |
msgid "" |
| 252 |
"scans your DRBD devices to recognize DRBD-based Physical Volumes (PVs). This" |
| 253 |
" applies as to conventional (non-clustered) LVM; see <<s-lvm-drbd-as-pv>> " |
| 254 |
"for details." |
| 255 |
msgstr "" |
| 256 |
"扫描DRBD设备以识别基于DRBD的物理卷(pv)。这适用于传统(非集群)LVM;有关详细信息,请参见<<s-lvm-drbd-as-pv>>。" |
| 257 |
|
| 258 |
#. type: Title === |
| 259 |
#: gfs.adoc:128 |
| 260 |
#, no-wrap |
| 261 |
msgid "Configuring your cluster to support GFS" |
| 262 |
msgstr "配置集群以支持GFS" |
| 263 |
|
| 264 |
#. type: Plain text |
| 265 |
#: gfs.adoc:134 |
| 266 |
msgid "" |
| 267 |
"After you have created your new DRBD resource and <<s-rhcs-config,completed " |
| 268 |
"your initial cluster configuration>>, you must enable and start the " |
| 269 |
"following system services on both nodes of your GFS cluster:" |
| 270 |
msgstr "创建新的DRBD资源并 <<s-rhcs-config,completed your initial cluster configurations>>后,必须在GFS集群的两个节点上启用并启动以下系统服务:" |
| 271 |
|
| 272 |
#. type: Plain text |
| 273 |
#: gfs.adoc:136 |
| 274 |
msgid "`cman` (this also starts `ccsd` and `fenced`)," |
| 275 |
msgstr "`cman`(这也会启动 `ccsd` 和 `fenced`)," |
| 276 |
|
| 277 |
#. type: Plain text |
| 278 |
#: gfs.adoc:138 |
| 279 |
msgid "`clvmd`." |
| 280 |
msgstr "`clvmd`." |
| 281 |
|
| 282 |
#. type: Title === |
| 283 |
#: gfs.adoc:142 |
| 284 |
#, no-wrap |
| 285 |
msgid "Creating a GFS filesystem" |
| 286 |
msgstr "创建GFS文件系统" |
| 287 |
|
| 288 |
#. type: Plain text |
| 289 |
#: gfs.adoc:147 |
| 290 |
msgid "" |
| 291 |
"In order to create a GFS filesystem on your dual-primary DRBD resource, you " |
| 292 |
"must first initialize it as a <<s-lvm-primer,Logical Volume for LVM>>." |
| 293 |
msgstr "" |
| 294 |
"为了在dual-primary DRBD资源上创建GFS文件系统,必须首先将其初始化为<<s-lvm-primer,Logical Volume for LVM>>。" |
| 295 |
|
| 296 |
#. type: Plain text |
| 297 |
#: gfs.adoc:153 |
| 298 |
msgid "" |
| 299 |
"Contrary to conventional, non-cluster-aware LVM configurations, the " |
| 300 |
"following steps must be completed on only one node due to the cluster-aware " |
| 301 |
"nature of CLVM: indexterm:[LVM]indexterm:[pvcreate (LVM " |
| 302 |
"command)]indexterm:[LVM]indexterm:[vgcreate (LVM " |
| 303 |
"command)]indexterm:[LVM]indexterm:[lvcreate (LVM command)]" |
| 304 |
msgstr "" |
| 305 |
"与传统的、非集群感知的LVM配置相反,由于CLVM的集群感知特性,只能在一个节点上完成以下步骤:indexterm:[LVM]indexterm:[pvcreate(LVM" |
| 306 |
" command)]indexterm:[LVM]indexterm:[vgcreate(LVM " |
| 307 |
"command)]indexterm:[LVM]indexterm:[lvcreate(LVM command)]" |
| 308 |
|
| 309 |
#. type: delimited block - |
| 310 |
#: gfs.adoc:161 |
| 311 |
#, no-wrap |
| 312 |
msgid "" |
| 313 |
"# pvcreate /dev/drbd/by-res/<resource>/0\n" |
| 314 |
"Physical volume \"/dev/drbd<num>\" successfully created\n" |
| 315 |
"# vgcreate <vg-name> /dev/drbd/by-res/<resource>/0\n" |
| 316 |
"Volume group \"<vg-name>\" successfully created\n" |
| 317 |
"# lvcreate --size <size> --name <lv-name> <vg-name>\n" |
| 318 |
"Logical volume \"<lv-name>\" created\n" |
| 319 |
msgstr "" |
| 320 |
"# pvcreate /dev/drbd/by-res/<resource>/0\n" |
| 321 |
"Physical volume \"/dev/drbd<num>\" successfully created\n" |
| 322 |
"# vgcreate <vg-name> /dev/drbd/by-res/<resource>/0\n" |
| 323 |
"Volume group \"<vg-name>\" successfully created\n" |
| 324 |
"# lvcreate --size <size> --name <lv-name> <vg-name>\n" |
| 325 |
"Logical volume \"<lv-name>\" created\n" |
| 326 |
|
| 327 |
#. type: Plain text |
| 328 |
#: gfs.adoc:164 |
| 329 |
msgid "This example assumes a single-volume resource." |
| 330 |
msgstr "本例假设一个单个卷资源。" |
| 331 |
|
| 332 |
#. type: Plain text |
| 333 |
#: gfs.adoc:170 |
| 334 |
msgid "" |
| 335 |
"CLVM will immediately notify the peer node of these changes; " |
| 336 |
"indexterm:[LVM]indexterm:[lvdisplay (LVM " |
| 337 |
"command)]indexterm:[LVM]indexterm:[lvs (LVM command)] issuing `lvs` (or " |
| 338 |
"`lvdisplay`) on the peer node will list the newly created logical volume." |
| 339 |
msgstr "" |
| 340 |
"CLVM将立即通知对等节点这些更改;indexterm:[LVM]indexterm:[lvdisplay (LVM " |
| 341 |
"command)]indexterm:[LVM]indexterm:[lvs (LVM " |
| 342 |
"command)]]在对等节点上发出 `lvs`(或 `lvdisplay` )将列出新创建的逻辑卷。" |
| 343 |
|
| 344 |
#. type: Plain text |
| 345 |
#: gfs.adoc:172 |
| 346 |
msgid "indexterm:[GFS]Now, you may proceed by creating the actual filesystem:" |
| 347 |
msgstr "indexterm:[GFS]现在,您可以通过创建实际的文件系统来继续:" |
| 348 |
|
| 349 |
#. type: delimited block - |
| 350 |
#: gfs.adoc:174 |
| 351 |
#, no-wrap |
| 352 |
msgid "# mkfs -t gfs -p lock_dlm -j 2 /dev/<vg-name>/<lv-name>\n" |
| 353 |
msgstr "# mkfs -t gfs -p lock_dlm -j 2 /dev/<vg-name>/<lv-name>\n" |
| 354 |
|
| 355 |
#. type: Plain text |
| 356 |
#: gfs.adoc:177 |
| 357 |
msgid "Or, for a GFS2 filesystem:" |
| 358 |
msgstr "或者,对于GFS2文件系统:" |
| 359 |
|
| 360 |
#. type: delimited block - |
| 361 |
#: gfs.adoc:181 |
| 362 |
#, no-wrap |
| 363 |
msgid "" |
| 364 |
"# mkfs -t gfs2 -p lock_dlm -j 2 -t <cluster>:<name>\n" |
| 365 |
"\t/dev/<vg-name>/<lv-name>\n" |
| 366 |
msgstr "" |
| 367 |
"# mkfs -t gfs2 -p lock_dlm -j 2 -t <cluster>:<name>\n" |
| 368 |
"\t/dev/<vg-name>/<lv-name>\n" |
| 369 |
|
| 370 |
#. type: Plain text |
| 371 |
#: gfs.adoc:187 |
| 372 |
msgid "" |
| 373 |
"The `-j` option in this command refers to the number of journals to keep for" |
| 374 |
" GFS. This must be identical to the number of nodes with concurrent " |
| 375 |
"_Primary_ role in the GFS cluster; since DRBD does not support more than two" |
| 376 |
" _Primary_ nodes until DRBD 9.1, the value to set here is always 2." |
| 377 |
msgstr "" |
| 378 |
"此命令中的 `-j` 选项指为GFS保留的日志数。这必须与GFS集群中具有并发主节点角色的节点数相同;因为在DRBD " |
| 379 |
"9.1之前,DRBD不支持超过两个主节点,所以此处设置的值始终为2。" |
| 380 |
|
| 381 |
#. type: Plain text |
| 382 |
#: gfs.adoc:194 |
| 383 |
msgid "" |
| 384 |
"The `-t` option, applicable only for GFS2 filesystems, defines the lock " |
| 385 |
"table name. This follows the format _<cluster>:<name>_, where _<cluster>_ " |
| 386 |
"must match your cluster name as defined in `/etc/cluster/cluster.conf`. " |
| 387 |
"Thus, only members of that cluster will be permitted to use the filesystem. " |
| 388 |
"By contrast, _<name>_ is an arbitrary file system name unique in the " |
| 389 |
"cluster." |
| 390 |
msgstr "" |
| 391 |
"`-t` 选项仅适用于GFS2文件系统,它定义了锁表名。这遵循格式 _cluster>:<name>_ ,其中 _<cluster>_ 必须与 `/etc/cluster/cluster.conf` 中定义的集群名称匹配。因此,只允许该集群的成员使用文件系统。相比之下,集群中的任意文件系统名是唯一的。" |
| 392 |
|
| 393 |
#. type: Title === |
| 394 |
#: gfs.adoc:196 |
| 395 |
#, no-wrap |
| 396 |
msgid "Using your GFS filesystem" |
| 397 |
msgstr "使用GFS文件系统" |
| 398 |
|
| 399 |
#. type: Plain text |
| 400 |
#: gfs.adoc:200 |
| 401 |
msgid "" |
| 402 |
"After you have created your filesystem, you may add it to `/etc/fstab`:" |
| 403 |
msgstr "创建文件系统后,可以将其添加到 `/etc/fstab` :" |
| 404 |
|
| 405 |
#. type: delimited block - |
| 406 |
#: gfs.adoc:204 |
| 407 |
#, no-wrap |
| 408 |
msgid "/dev/<vg-name>/<lv-name> <mountpoint> gfs defaults 0 0\n" |
| 409 |
msgstr "/dev/<vg-name>/<lv-name> <mountpoint> gfs defaults 0 0\n" |
| 410 |
|
| 411 |
#. type: Plain text |
| 412 |
#: gfs.adoc:207 |
| 413 |
msgid "For a GFS2 filesystem, simply change the filesystem type:" |
| 414 |
msgstr "对于GFS2文件系统,只需更改文件系统类型:" |
| 415 |
|
| 416 |
#. type: delimited block - |
| 417 |
#: gfs.adoc:211 |
| 418 |
#, no-wrap |
| 419 |
msgid "/dev/<vg-name>/<lv-name> <mountpoint> gfs2 defaults 0 0\n" |
| 420 |
msgstr "/dev/<vg-name>/<lv-name> <mountpoint> gfs2 defaults 0 0\n" |
| 421 |
|
| 422 |
#. type: Plain text |
| 423 |
#: gfs.adoc:214 |
| 424 |
msgid "" |
| 425 |
"Do not forget to make this change on both (or, with DRBD 9.1, all) cluster " |
| 426 |
"nodes." |
| 427 |
msgstr "不要忘记在两个(或者,对于DRBD 9.1,all)集群节点上进行此更改。" |
| 428 |
|
| 429 |
#. type: Plain text |
| 430 |
#: gfs.adoc:217 |
| 431 |
msgid "" |
| 432 |
"After this, you may mount your new filesystem by starting the `gfs` service " |
| 433 |
"(on both nodes): indexterm:[GFS]" |
| 434 |
msgstr "在此之后,您可以启动 `gfs` 服务(在两个节点上)来挂载新的文件系统:indexterm:[gfs]" |
| 435 |
|
| 436 |
#. type: delimited block - |
| 437 |
#: gfs.adoc:220 |
| 438 |
#, no-wrap |
| 439 |
msgid "# service gfs start\n" |
| 440 |
msgstr "# service gfs start\n" |
| 441 |
|
| 442 |
#. type: Plain text |
| 443 |
#: gfs.adoc:225 |
| 444 |
msgid "" |
| 445 |
"From then onwards, as long as you have DRBD configured to start " |
| 446 |
"automatically on system startup, before the RHCS services and the `gfs` " |
| 447 |
"service, you will be able to use this GFS file system as you would use one " |
| 448 |
"that is configured on traditional shared storage." |
| 449 |
msgstr "" |
| 450 |
"从那时起,只要您将DRBD配置为在系统启动时自动启动,在RHCS服务和 `gfs` 服务之前,您就可以使用这个gfs文件系统,就像使用在传统共享存储上配置的文件系统一样。" |