Yesterday i decided to remove an old HP DL380G7 node from my Windows cluster and replace it with a Dell Poweredge T330. I read somewhere on Microsoft web site if you move all drives to a new server it will work. You cant spread out the drives over the cluster. It looked easy. I had already joined the T330 to the cluster. I moved all the drives. Set them to not RAID. Windows found all drives and all were pass-through. Storage spaces did not want to use them. I tried many things. When i ran Enable-ClusterStorageSpacesDirect it said that there was no drives with correct bustype that could be used. I looked at the bustype for the drives. It was RAID. Storage spaces direct dont like RAID drives. But these were pass-through so they were usable. I found a web page told me how to get around this.
https://community.spiceworks.com/topic/2296087-conceptualizing-windows-server-storage-spaces-or-s2d
I ran the command “(Get-Cluster).S2DBusTypes=256” to allow RAID drives.. After that Enable-ClusterStorageSpacesDirect. All disks and volumes went offline. ☹️I tried restarting everything. But S2D could not find most of the drives. After thinking about it for a while noticed that the value 256 looked suspiciously like a bit mask. Maybe i had allowed only RAID drives. I tried with “(Get-Cluster).S2DBusTypes=4294967295” to allow all bustypes. Then S2D found the drives. The disks and volumes were still offline, but when i manually took them online they came online. For a while i thought i had crashed all my cluster volumes. If i had enabled all bustypes first maybe this would have been easy.
