tencent cloud

Feedback

Using CFS Turbo on Linux Clients

Last updated: 2022-01-13 12:33:15

    Overview

    This document describes how to use CFS Turbo on Linux clients. The standard login method, i.e., login via WebShell, is used in the example below.

    Prerequisites

    Directions

    Automatic installation

    1. Log in to the CVM console.
    2. Find the CVM instance you purchased in the instance list and click Log In on the right.
    3. In the Log in to Linux Instance pop-up window, select Standard login method and click Log In Now.
    4. On the WebShell login page, enter the username and password and click OK.
    5. Run the following command to load the automation tool:
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/tools/cfs_turbo_client_setup
      
    6. Run the following command to set permissions for the automation tool:
      chmod a+x cfs_turbo_client_setup
      
    7. Run the following command to execute the automation tool:
      sudo ./cfs_turbo_client_setup
      
      • If the information below is returned, installation is successful.
      • If the information below is returned, the kernel version is not supported currently. For the versions supported, refer to the kernel version list below.
        Note:

        Ubuntu 16.04 LTS does not support automatic download due to the mirror issue. You have to install it manually.

    Manual installation

    1. Log in to the CVM console.

    2. Find the CVM instance you purchased in the instance list and click Log In on the right.

    3. In the Log in to Linux Instance pop-up window, select Standard login method and click Log In Now.

    4. On the WebShell login page, enter the username and password and click OK.

    5. Run the following command to view the kernel version of the instance:

      uname -a
      
    6. Depending on the kernel version, run the corresponding commands to download the two installation packages.

      Note:

      If the kernel version is not listed in the table below, update the kernel before you install the client.

      OS VersionKernel VersionCommand
      Ubuntu4.15.0-142 18.04.4 LTS (Bionic Beaver)
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu/4.15.0-142/cfsturbo-client-modules.x86_64.deb
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu/4.15.0-142/cfsturbo-client-utils.x86_64.deb
      4.15.0-142
    7. 04.7 LTS (Xenial Xerus)

    8. wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu16.04/4.15.0-142/cfsturbo-client-modules.x86_64.deb
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu16.04/4.15.0-142/cfsturbo-client-utils.x86_64.deb
      4.15.0-118
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu/4.15.0-118/cfsturbo-client-modules.x86_64.deb
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu/4.15.0-118/cfsturbo-client-utils.x86_64.deb
      4.15.0-76
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu/4.15.0-76/cfsturbo-client-modules.x86_64.deb
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu/4.15.0-76/cfsturbo-client-utils.x86_64.deb
      4.15.0-62
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu/4.15.0-62/cfsturbo-client-modules.x86_64.deb
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu/4.15.0-62/cfsturbo-client-utils.x86_64.deb
      4.15.0-45
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu/4.15.0-45/cfsturbo-client-modules.x86_64.deb
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu/4.15.0-45/cfsturbo-client-utils.x86_64.deb
      4.15.0-30
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu/4.15.0-30/cfsturbo-client-modules.x86_64.deb
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu/4.15.0-30/cfsturbo-client-utils.x86_64.deb
      5.4.0-42
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu/5.4.0-42/cfsturbo-client-modules.x86_64.deb
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu/5.4.0-42/cfsturbo-client-utils.x86_64.deb
      5.4.0-48
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu/5.4.0-48/cfsturbo-client-modules.x86_64.deb
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu/5.4.0-48/cfsturbo-client-utils.x86_64.deb
      5.4.0-62
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu/5.4.0-62/cfsturbo-client-modules.x86_64.deb
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/ubuntu/5.4.0-62/cfsturbo-client-utils.x86_64.deb
      CentOS3.10.0-1160
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/centos/3.10.0-1160/kmod-cfsturbo-client.x86_64.rpm
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/centos/3.10.0-1160/cfsturbo-client.x86_64.rpm
      3.10.0-1127
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/centos/3.10.0-1127/kmod-cfsturbo-client.x86_64.rpm
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/centos/3.10.0-1127/cfsturbo-client.x86_64.rpm
      3.10.0-1062
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/centos/3.10.0-1062/kmod-cfsturbo-client.x86_64.rpm
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/centos/3.10.0-1062/cfsturbo-client.x86_64.rpm
      3.10.0-957
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/centos/3.10.0-957/kmod-cfsturbo-client.x86_64.rpm
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/centos/3.10.0-957/cfsturbo-client.x86_64.rpm
      3.10.0-862
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/centos/3.10.0-862/kmod-cfsturbo-client.x86_64.rpm
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/centos/3.10.0-862/cfsturbo-client.x86_64.rpm
      3.10.0-693
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/centos/3.10.0-693/kmod-cfsturbo-client.x86_64.rpm
      wget https://cfsturbo-client-1251013638.cos.ap-guangzhou.myqcloud.com/2.12.4/centos/3.10.0-693/cfsturbo-client.x86_64.rpm
    9. Run the command corresponding to your OS to install the client.

      • Ubuntu:
        sudo dpkg -i
        
      • CentOS:
        yum install
        
    10. Log in to the CFS console and go to the File System page.

    11. Click the ID/name of the target Turbo file system and then select the Mount Target Info tab.

    12. Click to copy the command.

    13. Switch to the CVM instance to run the mount command copied.
      The mount commands are described as follows. You can select one to fit your business needs.
      -If you want extended attributes supported and all operations to be executed synchronously by default (data will not be lost due to instance reboots, but the performance will be affected), copy and run the following command:
      For example:

      sudo mount.lustre -o sync,user_xattrXXXXXXXXXXXXXXXXXXX
      
      • If you want extended attributes supported but don't need operations to be executed synchronously (some data cached in memory might be lost due to instance reboots, but the performance is good), copy and run the following command:
        For example:

        sudo mount.lustre -o user_xattrXXXXXXXXXXXXXXXXXXX
        
      • If you do not need the extended attributes supported or the operations to be executed synchronously (some data cached in memory might be lost due to instance reboots, but the performance is good): copy and run the following command:
        For example:

        sudo mount.lustre XXXXXXXXXXXXXXXXXXX
        
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support