Problems set-physicaldisk in VBOX testing srv2016 storage spaces

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Thor

New Member
Apr 28, 2017
13
0
1
48
hi. Im trying to test srv 2016 in virtualbox and ive met some issues:

1. All disks come up as unknown mediatype and tiered storage needs to understand the type..

PS C:\Users\Administrator> Get-PhysicalDisk

FriendlyName SerialNumber CanPool OperationalStatus HealthStatus Usage Size
------------ ------------ ------- ----------------- ------------ ----- ----
VBOX HARDDISK VB812a9303-562fa1c5 False OK Healthy Auto-Select 32 GB
VBOX HARDDISK VB752bcfb9-d6daed2a True OK Healthy Auto-Select 32 GB
VBOX HARDDISK VB24ce5a0d-ee132fc1 True OK Healthy Auto-Select 232 GB
VBOX HARDDISK VB80b397c8-f4536400 True OK Healthy Auto-Select 32 GB
VBOX HARDDISK VB4d9de228-56845839 True OK Healthy Auto-Select 232 GB

the 3 x 32GB disks are virtual disks on a SSD


PS C:\Users\Administrator> Get-PhysicalDisk | Select-Object SerialNumber,UniqueID,size

SerialNumber UniqueID size
------------ -------- ----
VB812a9303-562fa1c5 {65e5d989-046e-c88c-f6e6-28b51cd1c7f8} 34359738368
VB752bcfb9-d6daed2a {88b816db-8df2-bbf4-737f-b810273fc4a9} 34359738368
VB24ce5a0d-ee132fc1 {890d74aa-5b7c-fef2-53a2-295bdeeecea2} 249108103168
VB80b397c8-f4536400 {9af03038-4f29-8dd4-3388-fb81da0c21ce} 34359738368
VB4d9de228-56845839 {c66244a3-a66c-22db-2792-711201e80764} 249108103168

PS C:\Users\Administrator> Set-PhysicalDisk -UniqueId "{9af03038-4f29-8dd4-3388-fb81da0c21ce}" -MediaType SSD
Set-PhysicalDisk : Not Supported
Activity ID: {06c51d74-8b14-44ba-ae90-3ec67a660e99}
At line:1 char:1
+ Set-PhysicalDisk -UniqueId "{9af03038-4f29-8dd4-3388-fb81da0c21ce}" - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (StorageWMI:ROOT/Microsoft/..._StorageCmdlets) [Set-PhysicalDisk], CimException
+ FullyQualifiedErrorId : StorageWMI 1,Set-PhysicalDisk

Anyone know why this isnt supported?
 

Thor

New Member
Apr 28, 2017
13
0
1
48
nope, ure right.. needs to be part of the pool before changing mediatype..
 

Thor

New Member
Apr 28, 2017
13
0
1
48
PS C:\Users\Administrator> Get-PhysicalDisk | Select-Object SerialNumber,UniqueID,size,mediatype

SerialNumber UniqueID size MediaType
------------ -------- ---- ---------
VB812a9303-562fa1c5 {65e5d989-046e-c88c-f6e6-28b51cd1c7f8} 34359738368 SSD
VB752bcfb9-d6daed2a {88b816db-8df2-bbf4-737f-b810273fc4a9} 34359738368 SSD
VB24ce5a0d-ee132fc1 {890d74aa-5b7c-fef2-53a2-295bdeeecea2} 249108103168 HDD
VB80b397c8-f4536400 {9af03038-4f29-8dd4-3388-fb81da0c21ce} 34359738368 SSD
VB4d9de228-56845839 {c66244a3-a66c-22db-2792-711201e80764} 249108103168 HDD
 

Thor

New Member
Apr 28, 2017
13
0
1
48
How can i use storage tiers on this setup? Its greyed out..
It says i have to have one automaticall allocated physical disk of each media type.. which i now have.. (2 for each)..