I'm new to VMWare ESXi but basically I have a server that I want to use ESXi on and I have 1 1TB SSD (OS drive for VMs) and then I have 6 2TB hard drives and 2 8TB hard drives. I am wanting to setup a software raid on WS2022 Standard for these drives. How do I give the VM running WS2022 access to all the drives?
I'm usually using hardware RAID on the host itself, rather than anything on the guest OS.
Anyway, you can present the drives to your guest as RDM (Raw Device Mapping) instead of formatting them as VMFS datastores. For the purpose you mentioned, I think it might be best to configure physical mode RDMs.
I've very rarely seen a hardware RAID controller failing in the past decades that I work in IT, it's rather the HDDs which fail.
Even if it fails, it should be possible to replace it with an identical model, or restore the data from your backup.
A hardware RAID controller (please note that software RAID controllers are not supported) transparently presents the storage to the operating system as a logical drive, and takes care of drive failures in a given RAID set. The operating system - in this case ESXi - will not be affected as long as the RAID controller is able to present the logical drive, i.e. no hardware failures that the selected RAID level cannot handle.
An addition note: Make sure that you are going to use a hardware RAID controller with write-cache that allows for write-back operation! This makes a huge difference compared to write-trough operation.
Thanks for the info Andre. Apologies it’s my first time with ESXi and I’m wanting to learn more hence why I’m installing it in my home lab. If the drive failed I would have a drive for my OS raid 1 and another 2 raid 1 again storing network drives how would I access the drives if one of them failed?