2022-09-22 11:52:17 +08:00
|
|
|
+++
|
|
|
|
author = "FlintyLemming"
|
|
|
|
title = "Windows Server 创建 Parity HDD 与 Mirror SSD 混合存储"
|
2022-09-23 16:52:31 +08:00
|
|
|
slug = "f5410c3f9031454fbb16d476c7145475"
|
2022-09-22 11:52:17 +08:00
|
|
|
date = "2022-06-27"
|
|
|
|
description = ""
|
|
|
|
categories = ["Windows"]
|
|
|
|
tags = ["NAS"]
|
2024-11-20 13:43:52 +08:00
|
|
|
image = "https://gitee.com/flintylemming/mitsea-public-source/raw/master/images/blog/posts/2022/06/Windows%20Server%20%E5%88%9B%E5%BB%BA%20Parity%20HDD%20%E4%B8%8E%20Mirror%20SSD%20%E6%B7%B7%E5%90%88%E5%AD%98%E5%82%A8/title.avif"
|
2022-09-22 11:52:17 +08:00
|
|
|
+++
|
|
|
|
|
|
|
|
当尝试创建分层存储空间的时候,我发现如果勾选,则不能创建 Parity 分区
|
|
|
|
|
2024-11-20 13:43:52 +08:00
|
|
|
![](https://gitee.com/flintylemming/mitsea-public-source/raw/master/images/blog/posts/2022/06/Windows%20Server%20%E5%88%9B%E5%BB%BA%20Parity%20HDD%20%E4%B8%8E%20Mirror%20SSD%20%E6%B7%B7%E5%90%88%E5%AD%98%E5%82%A8/1.avif)
|
2022-09-22 11:52:17 +08:00
|
|
|
|
2024-11-20 13:43:52 +08:00
|
|
|
![](https://gitee.com/flintylemming/mitsea-public-source/raw/master/images/blog/posts/2022/06/Windows%20Server%20%E5%88%9B%E5%BB%BA%20Parity%20HDD%20%E4%B8%8E%20Mirror%20SSD%20%E6%B7%B7%E5%90%88%E5%AD%98%E5%82%A8/2.avif)
|
2022-09-22 11:52:17 +08:00
|
|
|
|
|
|
|
可能是因为我的 SSD 只有两块,所以只能通过 PowerShell 手动创建了
|
|
|
|
|
|
|
|
## 预览存储空间大小
|
|
|
|
|
|
|
|
因为后面有一个步骤需要输入 SSD 和 HDD 两个池分别设置多大,所以需要提前预览一下空间。比如可以先把所有的 HDD 创建一个存储池,然后新建虚拟磁盘,选择 Parity 后,看下这里的值是多少。
|
|
|
|
|
2024-11-20 13:43:52 +08:00
|
|
|
![](https://gitee.com/flintylemming/mitsea-public-source/raw/master/images/blog/posts/2022/06/Windows%20Server%20%E5%88%9B%E5%BB%BA%20Parity%20HDD%20%E4%B8%8E%20Mirror%20SSD%20%E6%B7%B7%E5%90%88%E5%AD%98%E5%82%A8/3.avif)
|
2022-09-22 11:52:17 +08:00
|
|
|
|
|
|
|
## 创建存储池
|
|
|
|
|
|
|
|
创建时,把 HDD 和 SSD 都勾选上
|
|
|
|
|
2024-11-20 13:43:52 +08:00
|
|
|
![](https://gitee.com/flintylemming/mitsea-public-source/raw/master/images/blog/posts/2022/06/Windows%20Server%20%E5%88%9B%E5%BB%BA%20Parity%20HDD%20%E4%B8%8E%20Mirror%20SSD%20%E6%B7%B7%E5%90%88%E5%AD%98%E5%82%A8/4.avif)
|
2022-09-22 11:52:17 +08:00
|
|
|
|
|
|
|
## 创建虚拟磁盘
|
|
|
|
|
|
|
|
1. 检查硬盘
|
|
|
|
|
|
|
|
```powershell
|
|
|
|
Get-StoragePool <存储池名称> | Get-PhysicalDisk | Sort Size | FT -AutoSize
|
|
|
|
```
|
|
|
|
|
2024-11-20 13:43:52 +08:00
|
|
|
![](https://gitee.com/flintylemming/mitsea-public-source/raw/master/images/blog/posts/2022/06/Windows%20Server%20%E5%88%9B%E5%BB%BA%20Parity%20HDD%20%E4%B8%8E%20Mirror%20SSD%20%E6%B7%B7%E5%90%88%E5%AD%98%E5%82%A8/5.avif)
|
2022-09-22 11:52:17 +08:00
|
|
|
|
|
|
|
2. 创建高速存储
|
|
|
|
|
|
|
|
```powershell
|
|
|
|
New-StorageTier -StoragePoolFriendlyName <存储池名称> -FriendlyName performance -MediaType SSD
|
|
|
|
```
|
|
|
|
|
2024-11-20 13:43:52 +08:00
|
|
|
![](https://gitee.com/flintylemming/mitsea-public-source/raw/master/images/blog/posts/2022/06/Windows%20Server%20%E5%88%9B%E5%BB%BA%20Parity%20HDD%20%E4%B8%8E%20Mirror%20SSD%20%E6%B7%B7%E5%90%88%E5%AD%98%E5%82%A8/6.avif)
|
2022-09-22 11:52:17 +08:00
|
|
|
|
|
|
|
3. 创建容量存储
|
|
|
|
|
|
|
|
```powershell
|
|
|
|
New-StorageTier -StoragePoolFriendlyName <存储池名称> -ResiliencySettingName Parity -FriendlyName capacity -MediaType HDD
|
|
|
|
```
|
|
|
|
|
2024-11-20 13:43:52 +08:00
|
|
|
![](https://gitee.com/flintylemming/mitsea-public-source/raw/master/images/blog/posts/2022/06/Windows%20Server%20%E5%88%9B%E5%BB%BA%20Parity%20HDD%20%E4%B8%8E%20Mirror%20SSD%20%E6%B7%B7%E5%90%88%E5%AD%98%E5%82%A8/7.avif)
|
2022-09-22 11:52:17 +08:00
|
|
|
|
|
|
|
4. 创建混合卷
|
|
|
|
|
|
|
|
注意这里容量的值可能要设置的比之前看的要小一些
|
|
|
|
|
|
|
|
```powershell
|
|
|
|
New-Volume -FriendlyName <卷名称> -FileSystem ReFS -StoragePoolFriendlyName <存储池名称> -StorageTierFriendlyNames performance, capacity -StorageTierSizes <高速空间大小>, <容量空间大小>
|
|
|
|
```
|
|
|
|
|
2024-11-20 13:43:52 +08:00
|
|
|
![](https://gitee.com/flintylemming/mitsea-public-source/raw/master/images/blog/posts/2022/06/Windows%20Server%20%E5%88%9B%E5%BB%BA%20Parity%20HDD%20%E4%B8%8E%20Mirror%20SSD%20%E6%B7%B7%E5%90%88%E5%AD%98%E5%82%A8/8.avif)
|
2022-09-22 11:52:17 +08:00
|
|
|
|
|
|
|
5. 添加盘符
|
|
|
|
|
2024-11-20 13:43:52 +08:00
|
|
|
![](https://gitee.com/flintylemming/mitsea-public-source/raw/master/images/blog/posts/2022/06/Windows%20Server%20%E5%88%9B%E5%BB%BA%20Parity%20HDD%20%E4%B8%8E%20Mirror%20SSD%20%E6%B7%B7%E5%90%88%E5%AD%98%E5%82%A8/9.avif)
|
2022-09-22 11:52:17 +08:00
|
|
|
|
|
|
|
6. 然后在卷这边就能看到了,可以开启去重等功能
|
|
|
|
|
2024-11-20 13:43:52 +08:00
|
|
|
![](https://gitee.com/flintylemming/mitsea-public-source/raw/master/images/blog/posts/2022/06/Windows%20Server%20%E5%88%9B%E5%BB%BA%20Parity%20HDD%20%E4%B8%8E%20Mirror%20SSD%20%E6%B7%B7%E5%90%88%E5%AD%98%E5%82%A8/10.avif)
|