Rclone mounts COS to a Windows Server virtual machine.

Classification: BLOG, Storage
Label: COS, Rclone, VCS

Virtual computing entityUpon setup, a 100 GB system disk is provided as storage space. In practical use, storing data on the system disk would cause management inconvenience; therefore, it's generally preferable to mount a virtual disk as the data disk. This article will provide a guide on mounting COS as storage space using Rclone for user reference.

Preparatory work

 

To create a Windows Server VCS instance on TWSC, the following example demonstrates how to create a win2022std_cht_t20241008 image file.

Detailed Steps

 

Step 1. Install Rclone on Windows

 

Enter Rclone official websiteDownload the Windows version.

 

Step 2. Unzip and move the folder.

 

After decompressing the archive, rename the folder to rclone and copy it to C:\Program Files\.

Step 3. Set environmental variables

 

To enable Windows PATH, go to About > Advanced system settings > Administrator user variables > Environment variables > Path > Edit > Add C:\Program Files\rclone\ to the path.

 

 

 

Step 4. Test Installation

 

Open the command prompt and type `rclone --version` to test and confirm successful installation.

Step 5. Install WinFSP

 

Step 6. Rclone COS settings

 

Refer to Step 2 of this document to set up COS connection information.Set the COS connection to be named sourcecos

Step 7. Mount COS with Rclone

 

  • Start PowerShell
  • Execute PowerShell.exe -windowstyle hidden {rclone mount sourcecos Z:} to mount the file.

  • Once mounted successfully, you will see the created bucket after clicking on it in the space. You can then save and access files in the bucket.

EDM Subscription

EDM Subscription

On-Demand AI Cloud Consulting

Sales Contact
Sales Contact Form