I’ve got a Lego build in progress and unraid will be my first delve into Linux as well.
For my case I want to set up ip cameras, so the intent is to have an unassigned WD purple working with blue iris or similar program in a docker (or vm if needed).
First thing is to get its device address. You want to use the device id as this remains persistent across reboots or if you rearrange your drives in your system.
Open the Unraid Terminal from the web GUI or SSH in if you prefer.
Navigate to /dev/disk/by-id/ and ‘ls’ to see all your physical disks and partitions.
In my case I am using a WD Purple 4TB which I know the model is WD40PURX. If you have more than one or are unsure, use the serial number to identify the correct disk.
Copy the entire name of the device which is NOT suffixed (i.e. not the -part1 or -part2 entries)
Next is to assign the unassigned drive to your VM so make sure your VM is shut down and then edit its settings.
You want to add a second vDisk location. Change to location to 'manual.
In the location entry section type “dev/disk/by-id/” and then paste the name of the disk you copied earlier.
Update the settings and start your VM. Winning.
P.S. Just as a reminder, unassigned disks are not protected by parity.
@drunkwater From my understanding, Unraid could not create a second RAID. However, if you use a hardware RAID controller to create a RAID array, that should appear to Unraid as a single disk with its own disk ID which you could pass through in the same fashion.