Quantcast
Channel: File Services and Storage forum
Viewing all articles
Browse latest Browse all 13565

cmdlets for a usable storage space

$
0
0

I have available 8 x 2TB HDDs and 4 x 400GB SSD's which I want to create a Tiered Storage based Storage Spaces volume with.  I want to use 10GB of space for the Quorum volume later.  I'm missing something, here's what I'm doing.

Here's my physical disks:

PS C:\Users\administrator> Get-PhysicalDisk

FriendlyName                       CanPool                            OperationalStatus                  HealthStatus                       Usage                                                            Size
------------                       -------                            -----------------                  ------------                       -----                                                            ----
PhysicalDisk3                      True                               OK                                 Healthy                            Auto-Select                                                 372.61 GB
PhysicalDisk6                      True                               OK                                 Healthy                            Auto-Select                                                 372.61 GB
PhysicalDisk1                      True                               OK                                 Healthy                            Auto-Select                                                   1.82 TB
PhysicalDisk4                      True                               OK                                 Healthy                            Auto-Select                                                 372.61 GB
PhysicalDisk8                      True                               OK                                 Healthy                            Auto-Select                                                   1.82 TB
PhysicalDisk5                      True                               OK                                 Healthy                            Auto-Select                                                 372.61 GB
PhysicalDisk12                     True                               OK                                 Healthy                            Auto-Select                                                   1.82 TB
PhysicalDisk2                      True                               OK                                 Healthy                            Auto-Select                                                   1.82 TB
PhysicalDisk9                      True                               OK                                 Healthy                            Auto-Select                                                   1.82 TB
PhysicalDisk11                     True                               OK                                 Healthy                            Auto-Select                                                   1.82 TB
PhysicalDisk10                     True                               OK                                 Healthy                            Auto-Select                                                   1.82 TB
PhysicalDisk7                      True                               OK                                 Healthy                            Auto-Select                                                   1.82 TB


I assign the available physical disks to the array variable $PhysicalDisks




$pooldisks = Get-PhysicalDisk | ? {$_.CanPool –eq $true }



Then I create a new storage pool using $pooldisks. 

New-StoragePool -StorageSubSystemFriendlyName *Spaces* -FriendlyName TieredPool1 -PhysicalDisks $pooldisks


Then I assign them to SSD and HDD tiers:

$tier_hdd = New-StorageTier -StoragePoolFriendlyName TieredPool1 -FriendlyName HDD_TIER -MediaType HDD
$tier_ssd = New-StorageTier -StoragePoolFriendlyName TieredPool1 -FriendlyName SSD_TIER -MediaType SSD

And I get stuck trying to create the Virtual Disk:

New-VirtualDisk -FriendlyName VirtualDisk1 -StoragePoolFriendlyName TieredPool1 -NumberOfColumns 4 -OtherUsageDescription "8 x 2TB HDD and 4 x 400GB SSD" -ProvisioningType Fixed -ResiliencySettingName Mirror -StorageTiers $tier_ssd, $tier_hdd -StorageTierSizes 800GB, 8000GB -WriteCacheSize 5GB

The error message I receive is:

New-VirtualDisk : There are not enough eligible physical disks in the storage pool to create the specified virtual disk configuration.
At line:1 char:1+ New-VirtualDisk -FriendlyName VirtualDisk1 -StoragePoolFriendlyName TieredPool1  ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo          : InvalidOperation: (StorageWMI:ROOT/Microsoft/...SFT_StoragePool) [New-VirtualDisk], CimException+ FullyQualifiedErrorId : StorageWMI 48004,New-VirtualDisk

The reason I am trying to do this manually and not via the GUI, is because I need to assign 4 columns to the Storage Space, and the GUI defaults to 2. Any help is appreciated.


Viewing all articles
Browse latest Browse all 13565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>