How To replace S2D Cache device from SSD to NVME

A friend of mine asked me about this a while ago, as he had setup his S2D cluster with SSD and HDD only. So the SSD’s became the journal drives(caching drives). Now he wanted to replace the SSD’s with NVME disks that he had replaced. Yesterday he did the swap and it worked great.

The process of doing this is.

Stop all VM’s running.

Shut down nodes one and one, then add the NVME disks to the server

Retire the SSD journal drives

Run command on the node that is the owner of the storagepool

PowerShell

1

enable-clusters2d-autoconfig:0-cachestateenabled-Verbose

Here is a screenshot of the above command where the NVME disks where not added as caching drives. But what you should see at the bottom is that drives are added as caching drives.

Add NVME drives to storagepool

Set NVME drives as Journal drives, should go automatic

Remove SSD drives from the pool

Add SSD drives back to the pool and add them as autoselect drives.

Thanks to my good friend Vidar Friis for doing this and testing it out.

Use at own risk on any production cluster. If you are doing this make sure you have backup of the files on your storage.