跳转到主内容

对于 Trident CSI 驱动程序持久卷,建议使用 ext4 还是 XFS 文件系统?

Views:
7
Visibility:
Public
Votes:
0
Category:
trident-kubernetes
Specialty:
snapx
Last Updated:

适用于

  • NetApp Trident CSI 驱动程序(所有支持的版本)
  • 由 Trident 配置的 Kubernetes PV(使用 ONTAP SAN 后端)
  • 所有支持的 Linux 发行版

回答

文件系统建议:

  • NetApp Trident 支持通过 ONTAP SAN 后端配置的 PV 的 ext4 和 XFS 文件系统 
  • NetApp 不强制要求或推荐其中任何一个。
    文件系统的选择应基于:
    • 应用程序的要求
    • 操作系统和 Kubernetes 发行版支持的文件系统
    • 您的操作首选项

文档参考:

一般指导:

  • ext4 和 XFS 都已成熟并得到广泛支持。
  • XFS 可以为非常大的文件和高并发工作负载提供优势,而 ext4 通常是通用工作负载和广泛兼容性的首选。
  • 有关更多详细信息,请参见 比较文章:XFS vs ext4 (RHEL 9) 

追加信息

如果您的应用程序或操作系统有特定的要求或限制(例如,仅支持 ext4),请在 StorageClass 参数中指定所需的文件系统 fsType。示例:

parameters: fsType: "ext4" 

parameters: fsType: "xfs"

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.