[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-08-19 (世界標準時間)。"],[[["\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."]]