Storage: Create Storage Space with Parity.

So you've got a bunch of disks and want to create a Storage Space with Parity and journaling? (In case of SharePoint servers this could be very usefull performance wise and integrity wise. Be it for a SharePoint WFE or a Service Tier running Excel services.

Here's the script i used.

$HDD = Get-PhysicalDisk -CanPool $true | where {$_.mediatype -eq "HDD"}
$SSD = Get-PhysicalDisk -CanPool $true | where {$_.mediatype -eq "SSD"}

New-StoragePool -FriendlyName 'Data01' -PhysicalDisks $HDD -ResiliencySettingNameDefault Parity -StorageSubSystemFriendlyName "Windows Storage on W2016-HOST02"
Add-PhysicalDisk -StoragePoolFriendlyName Data01 -PhysicalDisks $SSD -Usage Journal

New-VirtualDisk -FriendlyName "Parity with Journaled Data" `
    -StoragePoolFriendlyName "Data01" -NumberOfColumns 3 `
     -ProvisioningType Thin -ResiliencySettingName Parity -Size 2TB `
    | Initialize-Disk -PassThru -PartitionStyle GPT `
    | New-Partition -AssignDriveLetter -UseMaximumSize `
    | Format-Volume -FileSystem NTFS `
        -NewFileSystemLabel "Parity with Journaled Data" -Confirm:$false -Verbose

Reacties

Populaire posts van deze blog

One ADFS to serve them all (Part I)!

Microsoft Hub NVA configuration example.

RDS: Remote Desktop Gateway with NPS and Cross domain identities.