From 024cfeac1b95984d5652c5402b0fde17dc1df7a4 Mon Sep 17 00:00:00 2001 From: Liangbin Lian <1129525450@qq.com> Date: Tue, 2 Jul 2024 12:44:44 +0800 Subject: [PATCH] target/rk3568: disable overlayfs index Fix docker migration. By default, we use /overlay/upper/opt/docker as the docker data root. If overlayfs index is enabled, docker will not be able to use overlay2 as the storage driver (generating the log "level=error msg="failed to mount overlay: device or resource busy" storage-driver=overlay2"), and will fall back to vfs. After the docker data is migrated, overlay2 will definitely be used as the storage driver. This will cause the storage driver to be inconsistent before and after the docker data migration, and all containers and images will disappear after the migration. --- target/linux/rockchip/rk3568/config-4.19 | 2 -- 1 file changed, 2 deletions(-) diff --git a/target/linux/rockchip/rk3568/config-4.19 b/target/linux/rockchip/rk3568/config-4.19 index e97591d464..e3476c884d 100644 --- a/target/linux/rockchip/rk3568/config-4.19 +++ b/target/linux/rockchip/rk3568/config-4.19 @@ -670,8 +670,6 @@ CONFIG_OLD_SIGSUSPEND3=y CONFIG_OPTEE=y CONFIG_OPTEE_SHM_NUM_PRIV_PAGES=1 # CONFIG_OPTIMIZE_INLINING is not set -CONFIG_OVERLAY_FS_INDEX=y -CONFIG_OVERLAY_FS_NFS_EXPORT=y # CONFIG_PANIC_ON_OOPS is not set CONFIG_PANIC_ON_OOPS_VALUE=0 CONFIG_PANIC_TIMEOUT=0