Windows Server 2016 Software RAID

Status
Not open for further replies.

Klockwerk

Ars Praefectus
3,763
Subscriptor
We've got some Dell rackmount servers with some PCIe NVme storage devices that can't go through the hardware raid. I'm trying to look for performance/reliability/walkthroughs to put them in RAID 0/RAID 1/RAID 10, but all I'm able to find through google is Storage Spaces stuff, which is not what I want (Storage Spaces seems to talk about storage at the cluster level).

There is application level availability so putting these devices into RAID 0 isn't the end of the world, and is needed for space rather than speed requirements.

Where do I go to find what I'm looking for?
 

Klockwerk

Ars Praefectus
3,763
Subscriptor
I've been able to look into this further, and Storage Spaces might be great for clusters, but it's horrible for what I was trying to use it for. I can create a stripe (but lots of space gets taken with what I'm assuming is the write cache), and the same thing happens for a mirror. A parity set of 4x6GB drives turns into a 10GB virtual disk.

I ended up discovering that Disk Management works well enough to create just a straight mirror, and that the space required for the application will now fit in what I've got.
 

gusgizmo

Ars Praefectus
3,057
Subscriptor
What is your desired application for the devices? Storage spaces is pretty rad and works fine as a simple standalone software raid solution, or a multi-tiered hybrid storage system. And now with storage spaces direct, apparently clustered storage.

I suspect you are doing something backwards if you are losing space to parity raid, it should be exactly like RAID5 or 6 depending on your configuration. What sort of devices only have 6GB of storage anyway?
 

Klockwerk

Ars Praefectus
3,763
Subscriptor
I am undoubtably doing something wrong, but I couldn't figure it out.

The servers in question each have 2x multi terabyte PCIe NVme storage devices, which are presented directly to the operating system. They were formatted as two drives (E: and F:) with their full capacity, and then one of them broke. It was then decided that having non-raid storage for mission critical applications was a stupid idea, and then I discovered that because they're PCIe they go straight to the cpu and aren't able to be put into a RAID 1 with the onboard PERC raid controller (which makes sense when I actually thought about it).

The next step was to put them into a raid. With hardware raid out of the question I looked at what was available, and initially considered Storage Spaces. I decided to try this out on a virtual machine, and added to my test vm four x 6GB drives. I put two into a mirror and I got a virtual drive of 4GB. When I put all four drives into a raid config I got a 10GB virtual drive (using 24GB raw storage). Further reading showed that Storage Spaces reserves part of the drive for caching, which is not what I want.

From what I can tell, Storage Spaces is geared more towards using SSD/NVMe as caching drives and then having storage on SSD/spinning disk, which is absolutely not what I want. The outcome I wanted was a raid protected multi terabyte virtual drive, as there's plenty of ram in these servers to act as cache.


I can generate some images if you're interested in seeing what I'm doing - I'm very interested in seeing what I'm doing wrong.
 

Tobold

Ars Tribunus Militum
2,284
Subscriptor++
Storage Spaces indeed does use space for a write cache, but it's a flat 1GB/drive by default. Your test is something of a worst-case scenario, but 24GB - 4drives*1GB/drive and mirrored does indeed produce 10GB usable. Try it with your multi-TB drive, and you'd barely notice the write cache.

You can control all the settings via Powershell when you create the space. Reference here and relevant bit:
Storage Spaces write-back cache (WBC)

Many enterprise workloads have bursts of random write I/O which can result in periodically high latencies to the underlying storage. For simple and mirrored spaces, a per-space persistent cache can be configured which uses available SSD capacity in the pool to stage these small write bursts, which are then destaged to the HDDs in a more optimal sequential manner.

By default, the system will configure a simple or mirrored storage space with 1GB of WBC (if there are sufficient SSDs and capacity in the storage pool). By using Windows PowerShell, you can choose an alternate WBC size at create time through the following option. It is recommended to keep the size of the WBC under 10GB in clustered deployments, and under 16GB in non-clustered deployments.
 

gusgizmo

Ars Praefectus
3,057
Subscriptor
Performance should be largely similar, the difference is in the management tools, and the ability to do tiered storage in SS. More options for parity as well, to let you do multi-disk parity type configurations instead of just a RAID 5 alike.

I would think to try to use the NVMe storage solely as cache for a SAS/SATA array, especially with only 24GB raw.
 

Klockwerk

Ars Praefectus
3,763
Subscriptor
Performance should be largely similar, the difference is in the management tools, and the ability to do tiered storage in SS. More options for parity as well, to let you do multi-disk parity type configurations instead of just a RAID 5 alike.

I would think to try to use the NVMe storage solely as cache for a SAS/SATA array, especially with only 24GB raw.

The actual NVMe are 3.2TB in size; the 24GB raw was the size of the virtual disks on the virtual machine I did testing on. I didn't make it clear in my original posts that this was the case - sorry.

RAID 1 is fine after I talked to the team in question and worked out that 3.2TB would be enough for their application. If they'd needed more, then i'd be getting out the checkbook (and using storage spaces to RAID 10).
 

Klockwerk

Ars Praefectus
3,763
Subscriptor
At that point I'm not sure why you wouldn't just get the 1.8" SSDs. You can get 24 in a 1U R630, with a max of just over 19TB RAW. Or if you go for the small disks, you can get ~ 5TB over 24 drives.

These servers are were ordered before my time, we waited 6 or months for Dell to pull their finger out and deliver, and then the IBM shitastic servers that they were replacing became shitastic and the Dells were rushed into production by someone that wasn't me. Thus, mission critical data on drives not in raid.

When the first 3.2TB NVMe decided to randomly disappear after boot (taking the drive with all the data on it offline) the problem got handed to me and I was told to get it working. As the devices cost a fair bit there was never any considering for junking them for something that went through the onboard RAID controller. I ran around trying to get to grips with Storage Spaces as the Enterprise Way(tm)* to get them into RAID, discovered that I didn't know what I was doing and then found that mirroring in Disk Management

a) Got them into RAID without any penalty (that I've found - we're slowly ramping up load)
b) Is simple
c) Doesn't involve spending any money over and above what the organisation has already spent

The downside is that I discovered that these devices aren't supported in Windows Server 2016, which is what we're running. This probably means exciting times down the road, but right now the solution's other legs are running on IBM hardware which support ends next month, and the mirror new server that requires a rebuild because configuring a server to boot off the boot drives is a foreign concept for some people. Future me will have to wear any problems to do with support; current me has his plate full and this way looks pretty solid for now.

* An email to Dell got a response almost literally along the lines of "yeah, you can't use the onboard raid for what you want to do. We've heard good things around the office that Storage Spaces is what you want to do, but we don't have any experience of that so good luck and tell us how it goes".
 
Status
Not open for further replies.