# 威联通QTS 如何挂载NTFS硬盘？

#### &#x20;    这里说的挂载，并非用外接USB硬盘的形式，而是直接将NTFS格式的硬盘插入硬盘仓。下面⬇️列出主要的要领或者步骤。

* [ ] 将NTFS硬盘插入硬盘仓
* [ ] 创建共享文件夹——专门用于挂载NTFS硬盘
* [ ] 开启威联通QTS系统的SSH功能
* [ ] 进入ssh 并切换到最高权限
* [ ] 在ssh中，找到NTFS硬盘设备名
* [ ] 挂载NTFS硬盘到最初创建的共享文件夹
* [ ] 测试一下NTFS格式的硬盘在QTS里的读写性能。

## 创建共享文件夹

#### 点击【控制台】——【共享文件夹】，随便取个名字，比如NTFS

<div><figure><img src="/files/fF6rbwjodagJ9TKJ3otP" alt=""><figcaption></figcaption></figure> <figure><img src="/files/AuOFvpGcv7yn7DBxlA2H" alt=""><figcaption></figcaption></figure></div>

## 确保开启了QTS的SSH功能

<div><figure><img src="/files/y8c4PbEnqjeziCuTbwUN" alt=""><figcaption></figcaption></figure> <figure><img src="/files/XpKORGGcBjRrYUABBgnk" alt=""><figcaption></figcaption></figure></div>

## 打开终端或者CMD，连接到QTS后台

```
// 连接到QTS，输入威联通的用户名密码
ssh wukong@192.168.6.88
//切换到最高权限，选择q，输入y
sudo -i  
// 查看新插入的硬盘
fdisk -l
```

<div align="left"><figure><img src="/files/kb4cCePdRviTg2DCJmhn" alt=""><figcaption></figcaption></figure></div>

```
// 鉴别一下，具体的哪个分区是ntfs的
parted -l
```

<figure><img src="/files/mlR6BVkMMuoPfU37Yhuu" alt=""><figcaption><p>parted -l</p></figcaption></figure>

```javascript
// 核心代码，挂载NTFS硬盘
mount -t ufsd /dev/sdh2 /share/NTFS  
// 技巧：共享文件夹全部在/share中,注意这里是ufsd,不是原生命令 ntfs
```

## 测试一下QTS下的NTFS硬盘的写入速度

```clike
// 顺序写入5GB数据
date && dd if=/dev/zero of=/share/NTFS/test.tmp bs=1M count=5k conv=sync && date
```

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


---

# 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://didiboy0702.gitbook.io/wukongdaily/new-shou-ye/nas-qun-hui-wei-lian-tong-etc-shi-yong-ji-qiao/wei-lian-tong-qts-ru-he-gua-zai-ntfs-ying-pan.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.
