[PATCH v3 3/7] Docs/zh_CN: Translate gfs2.rst to Simplified Chinese
#UpdatedFrom:shao.mingyin@zte.com.cn <shao.mingyin@zte.com.cn>
Date:
Message-ID:<20250822172322965jtELpnot2mzOxDUs3xtMQ@zte.com.cn>
Patch:v3 · 3/7
Language:zh_CN
Patch-ID:45f6a7d5a74e93a9ad36ed6937d060de30b79c50
Files:
Documentation/translations/zh_CN/filesystems/gfs2.rstDocumentation/translations/zh_CN/filesystems/index.rstLinks:lore message ↗ · raw mail ↗
Patch content 2 changed files
From: Shao Mingyin <shao.mingyin@zte.com.cn> translate the "gfs2.rst" into Simplified Chinese. Update to commit d9593868cd58("Documentation: Updatefilesystems/gfs2.rst") Signed-off-by: Shao Mingyin <shao.mingyin@zte.com.cn>Signed-off-by: yang tao <yang.tao172@zte.com.cn>--- .../translations/zh_CN/filesystems/gfs2.rst | 57 +++++++++++++++++++ .../translations/zh_CN/filesystems/index.rst | 1 + 2 files changed, 58 insertions(+) create mode 100644 Documentation/translations/zh_CN/filesystems/gfs2.rst diff --git a/Documentation/translations/zh_CN/filesystems/gfs2.rst b/Documentation/translations/zh_CN/filesystems/gfs2.rstnew file mode 100644index 000000000000..301a6af257b1--- /dev/null+++ b/Documentation/translations/zh_CN/filesystems/gfs2.rst@@ -0,0 +1,57 @@+.. SPDX-License-Identifier: GPL-2.0++.. include:: ../disclaimer-zh_CN.rst++:Original: Documentation/filesystems/gfs2.rst++:翻译:++ 邵明寅 Shao Mingyin <shao.mingyin@zte.com.cn>++:校译:++ - 杨涛 yang tao <yang.tao172@zte.com.cn>++=====================================+全局文件系统 2 (Global File System 2)+=====================================++GFS2 是一个集群文件系统。它允许一组计算机同时使用在它们之间共享的块设备(通+过 FC、iSCSI、NBD 等)。GFS2 像本地文件系统一样读写块设备,但也使用一个锁+模块来让计算机协调它们的 I/O 操作,从而维护文件系统的一致性。GFS2 的出色特+性之一是完美一致性——在一台机器上对文件系统所做的更改会立即显示在集群中的所+有其他机器上。++GFS2 使用可互换的节点间锁定机制,当前支持的机制有:++ lock_nolock+ - 允许将 GFS2 用作本地文件系统++ lock_dlm+ - 使用分布式锁管理器 (dlm) 进行节点间锁定。+ 该 dlm 位于 linux/fs/dlm/++lock_dlm 依赖于在上述 URL 中找到的用户空间集群管理系统。++若要将 GFS2 用作本地文件系统,则不需要外部集群系统,只需::++ $ mkfs -t gfs2 -p lock_nolock -j 1 /dev/block_device+ $ mount -t gfs2 /dev/block_device /dir++在所有集群节点上都需要安装 gfs2-utils 软件包;对于 lock_dlm,您还需要按+照文档配置 dlm 和 corosync 用户空间工具。++gfs2-utils 可在 https://pagure.io/gfs2-utils 找到。++GFS2 在磁盘格式上与早期版本的 GFS 不兼容,但它已相当接近。++以下手册页 (man pages) 可在 gfs2-utils 中找到:++ ============ =============================================+ fsck.gfs2 用于修复文件系统+ gfs2_grow 用于在线扩展文件系统+ gfs2_jadd 用于在线向文件系统添加日志+ tunegfs2 用于操作、检查和调优文件系统+ gfs2_convert 用于将 gfs 文件系统原地转换为 GFS2+ mkfs.gfs2 用于创建文件系统+ ============ =============================================diff --git a/Documentation/translations/zh_CN/filesystems/index.rst b/Documentation/translations/zh_CN/filesystems/index.rstindex 3c25b39739db..37968fb91f1a 100644--- a/Documentation/translations/zh_CN/filesystems/index.rst+++ b/Documentation/translations/zh_CN/filesystems/index.rst@@ -28,4 +28,5 @@ Linux Kernel中的文件系统 tmpfs ubifs ubifs-authentication+ gfs2 -- 2.25.1