Reading Time: 2 minutes
Share:
Twitter
LinkedIn
Facebook
Reddit
Whatsapp
Follow by Email

This blog post is going to be a small one.

Azure Stack Development Kit has just been released and I thought it was about time I got it running on one of my Hyper-V servers. Before I was able to, I ran into an issue with the storage. I had repurposed some disks from an old server that had a storage pool.

I tried to delete the old storage pool on this new server but came up the below message.

To get around this error I jumped into an elevated PowerShell window and ran the following command.

Get-StoragePool -FriendlyName "SU1_Pool" | Set-StoragePool -IsReadOnly $false
view raw Storagepool.ps1 hosted with ❤ by GitHub


The friendly name has to be changed to the name of your storage pool.

This command basically just takes the storage pool out of read only mode.

Now to delete it. As we are in PowerShell it’s easily done by using the following command.

Get-StoragePool -FriendlyName "SU1_Pool" | Remove-StoragePool
view raw Storagepool.ps1 hosted with ❤ by GitHub


The friendly name has to be changed to the name of your storage pool.

And that’s it. You are now able to use the disks as required. I hope you found this article helpful and questions please leave a comment.

Share:
Twitter
LinkedIn
Facebook
Reddit
Whatsapp
Follow by Email

Pixel Robots.

I’m Richard Hooper aka Pixel Robots. I started this blog in 2016 for a couple reasons. The first reason was basically just a place for me to store my step by step guides, troubleshooting guides and just plain ideas about being a sysadmin. The second reason was to share what I have learned and found out with other people like me. Hopefully, you can find something useful on the site.

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *