# Mount HI GIO S3 Storage vào Windows

## <mark style="color:green;">**Tổng quan**</mark> <a href="#overview" id="overview"></a>

Việc mount một bucket vào ổ đĩa cục bộ giúp tạo ra một ổ đĩa ảo trên máy tính, cho phép người dùng quản lý dữ liệu lưu trữ đám mây một cách dễ dàng mà không cần sử dụng công cụ bổ sung hay truy cập cổng quản lý (portal)..

## <mark style="color:green;">Quy trình</mark>

{% stepper %}
{% step %}
**Bước 1:** Tải công cụ **RClone** tại [“Link”](https://rclone.org/downloads/) và giải nén file sau khi tải về.
{% endstep %}

{% step %}
**Bước 2:** Chạy công cụ RClone bằng **Windows PowerShell**.

1. Ví dụ: Đường dẫn thư mục chứa công cụ RClone là **“.\Downloads\rclone\”**.
2. Mở **Windows PowerShell** và chạy lệnh sau “ **.\Downloads\rclone\rclone.exe help** “ để kiểm tra RClone hoạt động trên Server/PC

<figure><img src="/files/AvnONlUnJABjyZFvVLAy" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 3:** Cấu hình kết nối giữa **HI GIO S3 Storage** và RClone.

* Tạo file cấu hình kết nối bằng lệnh sau:

```
.\Downloads\rclone\rclone.exe config create Higio s3 env_auth false access_key_id xxxxxxxxxxxxxx secret_access_key xxxxxxxxxxxxxxxxxxx region default endpoint https://xxx.xxx.xx
```

\*\* Lưu ý: “ `.\Downloads\rclone\rclone.exe`" là đường dẫn thư mục chứa công cụ RClone.

Khóa bảo mật (**Security Key**) lấy từ "[đây](/hi-gio-user-guide-vn/hi-gio-s3-storage/cach-lay-s3-key.md)"

<figure><img src="/files/pUEOiyQSbbViPdqcSA4p" alt=""><figcaption></figcaption></figure>

* Xác minh kết nối với HI GIO S3 Storage bằng cách thực hiện các thao tác như liệt kê bucket hoặc các objects.
* `"`Liệt kê thông tin bucket`"`

```
.\Downloads\rclone\rclone.exe lsf Higio:
```

* `"`Liệt kê `objects` bên trong bucket`"`

```
.\Downloads\rclone\rclone.exe lsf Higio:examplebucket1
```

<figure><img src="/files/BA0Y9JhS4hnAu0uEB1Mc" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 4:** Gắn một bucket làm ổ đĩa cục bộ trên máy tính để quản lý dữ liệu lưu trữ đám mây trực tiếp.

* Để mount bucket như một ổ đĩa trên máy của bạn, đảm bảo rằng WinFsp đã được cài đặt [“Link Download”](https://winfsp.dev/rel/)
* Cài đặt WinFSP → Chọn Next đến khi Finish

<figure><img src="/files/EDxQ5zuQGTAxkAEW0k4z" alt=""><figcaption></figcaption></figure>

* Sau khi cài đặt **WinFSP**, chạy lệnh sau để gắn bucket:

```
.\Downloads\rclone\rclone.exe mount Higio:examplebucket1 S:\ --vfs-cache-mode full
```

<figure><img src="/files/Sm5PHCjoDvCgpfYQxhn0" alt=""><figcaption></figcaption></figure>

* Xác minh xem quá trình gắn kết có thành công hay không.

<figure><img src="/files/JkpIZkdwSOBQOrgO3FP4" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 5:** Thiết lập cấu hình để tự động gắn bucket khi hệ thống khởi động lại.

1. Mở **“Run”**, sau đó gõ **“shell:startup”**.
2. Tạo một file mới với tên **“mounts3.cmd”**, sau đó sao chép đoạn mã dưới đây vào file:

```
"C:\Users\Administrator".\Downloads\rclone\rclone.exe mount Higio:examblebucket1 S:\ --vfs-cache-mode full
```

Lưu file, sau đó khởi động lại Server để kiểm tra.
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.higiocloud.vn/hi-gio-user-guide-vn/hi-gio-s3-storage/mount-hi-gio-s3-storage-vao-windows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
