To set up a Storage Spaces drive with RAID 10 and write cache on Windows 11 Pro, follow these steps:
-
Connect all the drives you want to include in the RAID 10 array.
-
Press
Win + Xand selectWindows Terminal(or any other terminal emulator). -
Run the following command to open the Disk Management console:
diskmgmt.msc
-
In the Disk Management console, right-click on an unallocated space and select
New simple volume.... -
Follow the wizard to create a new virtual disk, assigning a drive letter and formatting it with the NTFS file system.
-
Now, create a RAID 10 array using the
DiskPartcommand-line tool. Run the following command to open the tool:
diskpart
-
Type
list diskto view all available disks. Identify the disks you want to include in the RAID 10 array. -
Select the first disk you want to include in the array by typing
select disk X, whereXis the disk number. -
Create a stripe set (RAID 0) for the selected disk by typing
create stripe simple size=N, whereNis the size of the stripe set in MB. -
Add the remaining disks to the stripe set by typing
select stripe X add disk Y, whereXis the stripe set number andYis the disk number. Repeat this step for all the disks you want to add. -
After adding all the disks, create a mirror set (RAID 1) on top of the stripe set by typing
create mirror simple size=N, whereNis the size of the mirror set in MB. -
The RAID 10 array is now created. To enable write caching, follow these steps:
a. Right-click on the virtual disk you created earlier and select Properties.
b. Go to the Policies tab and check the Enable write caching on the device option.
c. Click OK to save the changes.
Now, your Storage Spaces drive with RAID 10 and write cache is set up and ready to use.
References