Storage Spaces via PowerShell | Create your own NAS on Windows 10

Опубликовано: 02 Июль 2020
на канале: landpet
2,563
45

Create your own NAS drive on Windows 10 using Storage Spaces via PowerShell. Combine several hard drive to appear as one larger drive with redundancy. If you have had issues creating Storage Spaces with the GUI, then you can simply create it with PowerShell commands.

This is for tutorial purposes only, I am not liable for anything that can potentially happen.

How to add a hard drive to an existing storage space:    • Add Hard Drive To Storage Spaces via ...  

Useful information from Microsoft: https://docs.microsoft.com/en-us/powe...

DISCLAIMER: Backup all your data, this process formats all the hard drives completely erasing all the data on all the drives which are intended for the creation of the storage space.

**DISKPART Commands:**

list disk
select disk X
clean
(repeat for the other physical drives you plan on using to create the storage space)

**PowerShell Commands**

Get-PhysicalDisk

Get-PhysicalDisk -CanPool $true

$PhysicalDisks = Get-StorageSubSystem -FriendlyName "Windows Storage*" | Get-PhysicalDisk -CanPool $True

New-StoragePool -FriendlyName "StoragePool" -StorageSubsystemFriendlyName "Windows Storage*" -ResiliencySettingNameDefault Mirror -PhysicalDisks $PhysicalDisks|New-VirtualDisk -FriendlyName "PoolData" -Size 21.3TB -ProvisioningType Thin |Initialize-Disk -PassThru |New-Partition -AssignDriveLetter -UseMaximumSize |Format-Volume

Get-StoragePool

Get-VirtualDisk


Смотрите видео Storage Spaces via PowerShell | Create your own NAS on Windows 10 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь landpet 02 Июль 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,563 раз и оно понравилось 45 людям.