Issue when deploy AzureStack Technical Preview 1 only on SSD

The last week-end, I have deployed AzureStack Technical Preview 1 on my lab server that has only SSD. When the deployment was finished, I checked the Storage Spaces and I saw that the available space on each SSD was 31,5GB instead of 512GB.

In Storage Spaces Direct, there is a cache mechanism. This cache mechanism takes all the available space on caching devices (as SATA SSD or NVMe SSD) except 32GB for metadata by default. This cache mechanism can be disabled when enabling Storage Spaces Direct in the Failover Cluster. Moreover, Microsoft indicates that this cache mechanism should be disabled when using only SATA SSD or only NVMe SSD.

So I mounted the MicrosoftAzureStackPoc.vhdx and I edited the CreateFailoverCluster.ps1 script located in AzureStackInstaller\PocFabricInstaller. If you navigate to line 123, you’ll find the command that enables Storage Spaces Direct. So I have changed this line by:

Enable-ClusterS2D -S2DCacheMode Disabled

Then I saved this file in the MicrosoftAzureStackPoc.vhdx. Next I have deployed again the AzureStack Technical Preview 1 from scratch by using the modified MicrosoftAzureStackPoc.vhdx. Once the deployment finished, I check again the storage and this time all is well configured:

About Romain Serre

Romain Serre works in Lyon as a Senior Consultant. He is focused on Microsoft Technology, especially on Hyper-V, System Center, Storage, networking and Cloud OS technology as Microsoft Azure or Azure Stack. He is a MVP and he is certified Microsoft Certified Solution Expert (MCSE Server Infrastructure & Private Cloud), on Hyper-V and on Microsoft Azure (Implementing a Microsoft Azure Solution).

One comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Check Also

Deploy MySQL resource provider in Azure Stack TP1

Microsoft has released Azure Stack in the end of January. Then not long after, Microsoft ...

Create an offer, a plan and get a subscription in Azure Stack Technical Preview 1

In a last topic, I have explained how to deploy Azure Stack Technical Preview 1. ...

Deploy Azure Stack Technical Preview 1

Azure Stack Technical Preview 1 has been released by Microsoft this January, 29th 2016. Azure ...