Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Home Assistant VM with frigate NVR software keeps getting too big

Featured Replies

I run in my unraid server a VM of Home Assistant with the FRIGATE NVR addon.

 

I have 3 cameras in frigate, recording 1 day of all MOTION + 5 days of PERSON detection.

 

But the size of the VM always rise, i have to expand it a lot... but the frigate auto delete the old videos that have passed the date limit of my configuration. Once the frigate has saved the video, even after it delete it, the alocation size is not downsized?

 

image.thumb.png.489da0a6c4d94704b644195059b3f962.png

  • Author
3 minutes ago, meep said:

Qcow2 images don’t auto-shrink when data is removed, afaik.

 

i found this on the inter web describing how trimming is possible if the vm is set up just right. I’ve never tried it in unRAID, but it should work. There may be other solutions as well;

 

https://kparal.wordpress.com/2017/10/06/automatically-shrink-your-vm-disk-images-when-you-delete-files/

 

 

 

Maybe can i do like docker and set a folder inside a VM to a share in the array?

Yes, inside your vm, you can mount any unRAID share just like you would from a regular PC. It behaves just like a network volume. This is a good solution.

 

I run blueiris in a Windows VM for my security cameras. I have an unassigned disk passed through to the VM for recording  storage / scratch The VM sees this as a locally mounted HD. I also have a an unRAID share mounted in the VM as a network drive. Here,  BlueIris moves ‘motion’ tagged clips nightly. Works really well.

 

Edited by meep

  • Author
13 minutes ago, meep said:

Yes, inside your vm, you can mount any unRAID share just like you would from a regular PC. It behaves just like a network volume. This is a good solution.

 

I run blueiris in a Windows VM for my security cameras. I have an unassigned disk passed through to the VM for recording  storage / scratch The VM sees this as a locally mounted HD. I also have a an unRAID share mounted in the VM as a network drive. Here,  BlueIris moves ‘motion’ tagged clips nightly. Works really well.

 

 

Do you know any tutorial on how to do that?

Not off hand. If I get a chance I'll try too write up a short blog post later

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.