Help Center> Cloud Container Engine> Best Practices> Storage> Upgrading s3fs of Nodes in a CCE Cluster (CentOS 7.6)

Upgrading s3fs of Nodes in a CCE Cluster (CentOS 7.6)

This section describes how to upgrade s3fs on nodes in a cluster of v1.13. The OS version is CentOS 7.6.

Preparations

Bind an EIP (or NAT) to access yum repositories on public networks.

For details, see Assigning an EIP and Binding It to an ECS.

  1. Log in to the management console.
  2. Switch to the ECS console, search for the ECS to be bound with an EIP, and click the ECS name to view its details.

  3. On the EIPs tab page, check whether there are EIPs available for binding. If no EIP is available, create one.
  4. After the EIP is bound successfully, you can view the EIP on the EIPs tab page.

Upgrade Operations

  1. Log in to the node where s3fs needs to be upgraded.
  2. Run the following command to check the version of s3fs installed on the node.

    rpm -qa | grep s3fs

  3. Run the following command to query the s3fs version using yum.

    yum list | grep s3fs

  4. If the queried version is 1.85, update the yum repository. If the queried version is 1.88, skip this step.

    yum clean all

    yum makecache

    After the update is complete, run yum list | grep s3fs to view the version, which is 1.88.

  5. Uninstall the original s3fs.

    yum -y remove s3fs-fuse

  6. Install the s3fs of the new version.

    yum install s3fs-fuse

  7. Query the s3fs of the new version.

    rpm -qa | grep s3fs

    s3fs --version

  8. Restart the pod and mount the storage again.