All Products
Search
Document Center

Container Service for Kubernetes:[Component Notice] Mount target occupation due to OSS mount path scans by tools such as mlocate that are preinstalled on specific operating systems

Last Updated:Jul 24, 2024

After you mount an Object Storage Service (OSS) volume to an Elastic Compute Service (ECS) instance, a mount path is generated. When other processes on the ECS instance scan the mount path, the OSS volume is accessed. By default, packages such as mlocate are installed on specific operating systems. These packages scan the mount path of an OSS volume on an ECS instance on a regular basis. During the scanning, the mount path of the OSS volume is occupied. As a result, the OSS volume cannot be unmounted and the responses from the OSS volume when applications access the OSS volume are slowed down. This topic describes how to resolve this issue.

Impact scope

Your cluster is affected if the following two conditions are met:

  • Operating system: The nodes in your cluster run an operating system on which mlocate is preinstalled. The operating systems include Alibaba Cloud Linux 2 and Anolis OS 7.

  • csi-plugin: The csi-plugin component is of V1.26.7 or earlier or V1.28.1.

If csi-plugin is of V1.26.8 or V1.28.2 or later, the configurations of mlocate are modified to skip scanning of all mount paths of OSS volumes when csi-plugin is started.

Note

csi-plugin of V1.26.8 is in canary release. To use csi-plugin of V1.26.8, submit a ticket.

Check related versions

  1. Check the operating system of the node pool in your cluster.

    1. Log on to the ACK console. In the left-side navigation pane, click Clusters.

    2. On the Clusters page, find the cluster that you want to manage and click its name. In the left-side navigation pane, choose Nodes > Node Pools.

    3. On the Node Pools page, find the node pool that you want to manage and view the operating system of the node pool in the Operating System column.

      • If you use a custom operating system image, check whether AliyunLinux 2 or Anolis 7 is displayed in the Operating System column.

        Note

        AliyunLinux 2 indicates Alibaba Cloud Linux 2.

      • If you use an operating system image provided by Container Service for Kubernetes (ACK), check whether AliyunLinux is displayed in the Operating System column.

      If your node pool uses one of the preceding operating systems, mlocate is installed in your cluster.

  2. Check the csi-plugin version in your cluster.

    1. On the Clusters page, find the cluster that you want to manage and click its name. In the left-side navigation pane, choose Operations > Add-ons.

    2. On the Add-ons page, click the Storage tab. Find csi-plugin and view the component version.

Solution

If your cluster is affected, you can perform the following operations to update csi-plugin to a required version.

On the Add-ons page, click the Storage tab. Find csi-plugin and click Upgrade in the lower-right corner of the csi-plugin card to update csi-plugin to V1.26.8 or V1.28.2 or later.