You create a new virtual disk in a storage pool by using the New Virtual Disk Wizard. You discover
that the new virtual disk has a write-back cache of 1 GB.
You need to ensure that the virtual disk has a write-back cache of 5 GB.
What should you do?
A.
Detach the virtual disk, and then run the Resize-VirtualDisk cmdlet.
B.
Detach the virtual disk, and then run the Set-VirtualDisk cmdlet.
C.
Delete the virtual disk, and then run the New-StorageSubSystemVirtualDisk cmdlet.
D.
Delete the virtual disk, and then run the New-VirtualDisk cmdlet.
Explanation:
So what about changing the cache size? Well, you can’t modify the cache size, but you can specify it
at the time that you create a new virtual hard disk. In order to do so, you have to use Windows
PowerShell.
New-VirtualDisk –StoragePoolFriendlyName “<storage pool name>” –FriendlyName “<vUsing Windows Server 2012’s SSD Write-Back Cache
C confirmed.
Q: Can the 2012 R2 Storage Space Write-back cache size be set via Server Manager in 2012 R2?
A: It isn’t possible to set a write-back cache custom size by using Server Manager in Windows Server 2012 R2. By default, if you create a virtual disk using Server Manager, it will create a 1GB write-back cache if sufficient space exists on solid-state disk (SSD) storage in the pool.
If you want to customize the write-back cache size, use the Windows PowerShell cmdlets and the -WriteCacheSize parameter, for example:
New-VirtualDisk -StoragePoolFriendlyName “My Storage Pool” -FriendlyName TieredSpace -StorageTiers @($ssd_tier, $hdd_tier) -StorageTierSizes @(50GB, 300GB) -ResiliencySettingName Mirror -WriteCacheSize 2GB
Note: After a virtual disk is created, its WriteCacheSize can’t be modified.
http://windowsitpro.com/windows-server-2012-r2/set-windows-server-2012-r2-storage-space-write-back-cache
Sorry, D confirmed
of course 😉
Joe says:
July 20, 2015 at 2:59 pm
After a virtual disk is created, its WriteCacheSize can’t be modified – this means it can’t be A or B.
create a new virtual disk and specify -writecachesize 5GB
Answer is D