Some of the UniFi UNVR’s have system files on a USB drive. There seem to be a number of the drives failing recently, rendering the UNVR inoperable. Fortunately it is easy to replace. The following steps should preserve the video recordings.
Remove the USB drive (use a heat gun or screw driver to break the glue that is holding the USB drive)
Install new USB drive
Temporarily remove UNVR HDDs (this may not be necessary, but rather be safe then sorry.)
Boot UNVR with new USB drive. (Give it a little time to format and copy contents to the new USB drive. Should not take more then 30 minutes.)
Setup the UNVR like it was before
Power off the UNVR again
Reinstall the HDD’s
Power on the UNVR
Log in and reconfigure the users
Note on Recovery
You could potentially mount the failed or failing USB drive on a Linux machine copy off a UniFi backup. Unfortunately, the UniFi Protect backup does not preserve the users. Just the video groups. You will probably have to resend invites to users.
Note on the video storage drives
It sounds like the UniFi Protect system will try to read the drives and if it can preserve the data or read the raid information it will try to use that. That is what it sounds like at least from the forums. More info on drive management.
Error code: 0x000000f
The Boot Configuration data for your PC is missing or contains errors.
The following notes may be of some help when trying to resolve the above error. Think the primary issue had to do with cloning a GPT drive to a RAID array that was using MBR. So think everything worked after converting it to GPT
All the commands are/were run from a recovery Command Prompt
Convert MBR disk to GPT
After running the following command the EFI directory was automatically created. The command is supposed to be non destructive. Change the disk to whichever disk your trying to change to gpt.
gpt2efi /validate /disk:0
If running the above command did not work then you may give the following command a try. Change the drive names where appropriate.
bcdboot c:\windows /s s: /f UEFI /v
You may be able to get away with just using
You can check if the above worked by seeing if it created any files in the directory, if new efi partition is S:, then from a command prompt run
Commands for recreating the EFI partition (WARNING! MAY DESTROY DATA!)
select disk # Note: Select the disk where you deleted the EFI System partition.
create partition efi
format quick fs=fat32