[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[[["\u003cp\u003eContainer-Optimized OS offers two built-in filesystems: EXT4 and XFS.\u003c/p\u003e\n"],["\u003cp\u003eEXT4 is the recommended filesystem for production workloads on Container-Optimized OS due to its full support.\u003c/p\u003e\n"],["\u003cp\u003eContainer-Optimized OS provides full support for XFS, which is intended for advanced users or those with pre-existing dependencies.\u003c/p\u003e\n"],["\u003cp\u003eBoth EXT4 and XFS filesystems include critical kernel features and user-space utilities for creation and maintenance, such as \u003ccode\u003emkfs\u003c/code\u003e and \u003ccode\u003efsck\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Supported filesystems\n\nThis page provides an overview of the filesystems available in\nContainer-Optimized OS. Container-Optimized OS comes with two\nbuilt-in filesystems: [EXT4](#ext4) and [XFS](#xfs).\n\nEXT4 filesystem\n---------------\n\nContainer-Optimized OS comes with a fully-supported EXT4 filesystem.\nContainer-Optimized OS recommends using the EXT4 filesystem for production\nworkloads.\n\nContainer-Optimized OS enables the following EXT4-related features:\n\n- **Support for the EXT4 filesystem in kernel**: The Linux kernel in\n Container-Optimized OS has the most commonly used EXT4 features enabled:\n\n CONFIG_EXT4_FS=y\n CONFIG_EXT4_USE_FOR_EXT2=y\n CONFIG_EXT4_FS_POSIX_ACL=y\n CONFIG_EXT4_FS_SECURITY=y\n CONFIG_JBD2=y\n\n- **e2fsprogs package** : The e2fsprogs package contains several critical user\n space utilities available for the EXT4 filesystem (for example, `mkfs` and\n `fsck`). These packages are necessary for the creation and maintenance of the\n EXT4 filesystem.\n\nXFS filesystem\n--------------\n\nContainer-Optimized OS comes with a fully-supported XFS filesystem\nstarting from COS M105. The recommended filesystem for production\nworkloads on Container-Optimized OS is still EXT4. XFS is primarily\ntargeted for users who have some existing dependency on XFS that cannot be\nmigrated to EXT4. We recommend using XFS only for advanced users that are\nfamiliar with the filesystem functionality.\n\nContainer-Optimized OS enables the following XFS-related features:\n\n- **Support for the XFS filesystem in kernel**: The Linux kernel in\n Container-Optimized OS has the most commonly used XFS features enabled:\n\n CONFIG_XFS_FS=y\n CONFIG_XFS_SUPPORT_V4=y\n CONFIG_XFS_QUOTA=y\n CONFIG_XFS_POSIX_ACL=y\n\n- **xfsprogs package** : The xfsprogs package contains several critical user\n space utilities available for the XFS filesystem (for example, `mkfs` and\n `fsck`). These packages are necessary for creation and maintenance of the XFS\n filesystem."]]