You can insert a compatible hard drive (HDD) in multiple UniFi products, such as the UniFi Dream Machine Pro (UDM Pro), UniFi Protect Network Video Recorder (UNVR), and Cloud Key Gen2 Plus (UCK Gen2 Plus).
We recommend using UniFi HDDs (8TB) with the UniFi Protect Network Video Recorder (UNVR) and the UniFi Dream Machine Pro (UDM-Pro). They can be purchased from the Store after you add your device to the cart.
This article describes how to determine if your HDD is compatible with these UniFi products, how to install an HDD in a UniFi device, and how to swap HDDs.
Note: If you have questions about a particular hard drive or need help choosing a hard drive, please reach out to the Ubiquiti Community members for insights and recommendations.
- Use of hard drives in UniFi devices
- HDD compatibility requirements for UniFi devices
- Confirmed incompatible HDDs
- Inserting, formatting, and swapping HDDs
- Corrupted or failed HDDs
- Monitoring the remaining space on an HDD
Use of hard drives in UniFi devices
Neither UniFi Access nor Protect deployments require a hard drive to operate, but their overall functionality may be limited without one installed.
UniFi Protect requires an HDD to record footage on your device. Your cameras, however, will still capture live video and you will still be able to review their streams without an HDD.
Similarly, UniFi Access requires an HDD to record entry footage captured by UA-Pro devices. However, your UA-Pro will still function as a regular door access mechanism without an HDD installed.
UniFi Talk requires an HDD to store call recordings and voicemails. However, your UniFi Talk Controller will still function normally without an HDD installed.
HDD compatibility and storage requirements for UniFi devices
Most SATA HDDs should be compatible with UniFi devices, as long as they:
- Fit the NVR's HDD tray (2.5” for the UCK Gen2 Plus, 2.5, or 3.5” for the UDM Pro and UNVR).
- Are designed for continuous load or marketed as NAS or surveillance-grade.
- Offer at least 128 GB of storage.
If you're using multiple HDDs with your UniFi device, they must all be the same size.
Minimum and maximum storage capacity requirements
The minimum storage requirement for a single HDD is 128 GB.
Ubiquiti has tested and verified HDDs containing up to 16 TB of storage. Please note, however, that no maximum storage threshold has been confirmed for any controller or HDD model.
Recording capacity (UniFi Protect)
When choosing a hard drive for your UniFi Protect deployment, consider your recording needs. Your recording capacity will change based on your HDD's storage and the camera resolution settings you select in your UniFi Protect Controller.
For example, the recording capacity for a 1TB HDD, assuming normal quality settings, is:
- 9 days of 4K video recording
- 20 days of HD (1080p) video recording
Note: Recording capacity can also fluctuate due to other factors such as custom camera settings, on-screen motion, and other applications in use (e.g., Talk).
For more information on how camera quantity and image settings affect the recording capacity of a typical UNVR setup, see the UNVR product page.
Confirmed incompatible HDDs
HDDs incompatible with UDM Pro and UNVR
|SkyHawk||ST10000VX0004||10TB||Does not fit the drive tray.|
|Ultrathin||ST500LT032||500GB||Does not have bottom screws.|
|Western Digital||UltraSlim||WD5000MPCK||500GB||Does not have bottom screws and connectors do not fit the tray.|
|Any||SMR Drives||Any||Drives fit the tray but cause issues.|
HDDs incompatible with Cloud Key Gen2
|Ironwolf||ZA960NM10001||960GB||Does not meet the Power requirements*|
|Ironwolf||ZA1920NM10001||1.92TB||Does not meet the Power requirements*|
|Ironwolf||ZA3840NM10001||3.84TB||Does not meet the Power requirements*|
*The Cloud Key Gen2 Plus does not support hard drives that require a 12V supply in addition to the default 5V supply.
Inserting, formatting, and swapping HDDs
Inserting an HDD into a UniFi device
When the device is powered off, safely insert all your 2.5 and 3.5” hard drives.
For a more detailed, visual walkthrough of the installation process, please check your UniFi device’s Quick Start Guide.
Formatting an HDD (UNVR and UNVR-Pro only)
Raid formatting is the process in which your HDDs are split logically to prepare for redundant data distribution. If a specific partition or the entire HDD fails, its data will still be recoverable since it’s been distributed across other hard drives.
Regardless of whether or not your HDD has been formatted with the right RAID configuration, your controller host device will format it to the appropriate configuration.
RAID configuration can be enabled in System Settings > General under Storage & Capacity. There are two possible settings for RAID configuration selections for your UNVR or UNVR Pro: “One disk” and Half of disks”.
If “One disk” is chosen, then one of your HDDs will be used for data redundancy. RAID configuration is automatically set based on the number of HDDs inserted:
- RAID1 will be set for devices with 2 HDDs or less.
- RAID5 will be set for devices with 3 HDDs or more.
If “Half of the disks” is chosen, then half of your disks will be used for data redundancy, formatted in RAID 10.
The UniFi Protect system will detect new drives inserted, and typically all drives are expanded at once.
There are a few exceptions when the system will expand the storage one by one:
- When your controller device has only one hard drive installed, and multiple additional drives are then inserted. The system will first mirror the data to another drive, which makes your data protected by RAID1. Then, the system will expand the storage size with all remaining drives based on the logic above.
- When the device is running and multiple hard drives are installed. The system will detect only a part of the drives in the first scan. Afterward, the system will start expanding storage, and the rest of the hard drives will have to wait until the expanding process is complete.
Note: HDDs will not be usable during the raid formatting process.
RAID0 configuration is not possible for any controller at the moment.
Swapping an HDD in a UniFi device
You can swap the HDD(s) of two UniFi controllers and still retain each drive’s recorded footage.
Swap the HDD(s) of two controllers:
- Turn off both controller devices.
- Pull out the HDD(s) from your current controller and insert them into your new one.
- Boot up your new controller once the HDD(s) are correctly installed.
Note: If you remove an HDD from a controller device with pre-existing data and insert it into a UNVR with HDDs that are already in use and recording footage, the UNVR will reformat the newly inserted HDD and your pre-existing data will be lost.
Hot spares act as standby drives in RAID 1 and RAID 5 HDD groups. If an HDD fails, then the UNVR or UNVR Pro will automatically migrate data from the failed HDD to the spare drive.
You can enable spare drive in System Settings > General under Storage & Capacity.
Once the spare drive is enabled, your UNVR or UNVR Pro will request to do a format and one of the existing disks will become a hot-spare drive.
When an HDD fails and the spare drive is needed, an automatic rebuild will take place - the spare drive will join the RAID and do a rebuild. Once you switch out the failed HDD, the newly installed disk will then become the new spare disk.
Corrupted or failed HDDs
Currently, there is no way for UniFi to recover information from corrupted or failed HDDs.
If there is a corrupted or failed HDD in your UDM-Pro or CK-G2-PLUS:
- Turn off your controller device.
- Replace the corrupted or failed HDD with a functional storage drive.
- Reboot the controller device.
Note: The controller will automatically configure your HDD and begin storing data.
If there is a corrupted or failed HDD in your UNVR, you can swap that HDD out while the controller is still running. The controller will repair the stored files after a healthy drive is installed. The controller will automatically configure your HDD and begin storing data.
Important: Do not pull out more than one disk at a time.
Monitoring an HDD’s remaining space
To check the remaining capacity of your HDD(s) and your controller's internal storage, go to the General tab on your controller.
If a hard drive runs out of space, its oldest recordings will be automatically deleted to create space for new ones.