> ## Content Index
> Fetch the complete content index at: https://note.xdq.me/llms.txt
> Use this file to discover other available public pages before exploring further.

# 使用存储空间整合SSD空间
- URL: https://note.xdq.me/shi-yong-cun-chu-kong-jian-zheng-he-ssdkong-jian/
- Published: 2017-04-13T05:37:37.000Z
- Updated: 2026-10-03T03:01:24.000Z
- Author: xud6
- Tags: #Import 2026-10-03 02:45

最进空余了几块不同容量的固态硬盘打算将它们合并到一个分区用来放steam，可惜Windows10控制面板默认的存储池设置很不理想，只好用powershell

确认将加入存储池的硬盘  
Windows会自动将没有分区的硬盘标为可加入存储池。

```
Get-PhysicalDisk -CanPool $True

```

创建存储池，使用4k逻辑扇区，默认关闭回写缓存  
"ssd" 可以替换为任意希望的名字

```
$pd = Get-PhysicalDisk -CanPool $True
$spname = "ssd"
New-StoragePool -PhysicalDisks $pd –StorageSubSystemFriendlyName "*" -FriendlyName $spname –LogicalSectorSizeDefault 4096 –WriteCacheSizeDefault 0

```

创建虚拟硬盘  
column相当于raid0中硬盘的数量，按我有的1个512，2个256，选择2可以使用大部分的空间并增加一倍的持续速度

```
$vdname = "games"
$column = 2
$vd1 = New-VirtualDisk -StoragePoolFriendlyName $spname -FriendlyName $vdname -MediaType SSD -ResiliencySettingName Simple -WriteCacheSize 0 -NumberOfColumns $column -ProvisioningType Fixed -UseMaximumSize

```