Disk Space, Disk Blocks, Disk Percent?

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
nixcamic
Posts: 11
Joined: Thu Jun 06, 2019 2:55 pm

Disk Space, Disk Blocks, Disk Percent?

Post by nixcamic »

Hey I'd like to limit my recorded footage to 300gb, regardless of how much space there is free on the drive. So disk percent doesn't really work for what I need to do. Will either Disk Blocks or Disk Space do that, or do they just look at how much free space there is on the drive also? Also, what does disk space use as its units? MB? KB? GB? Bits? It's not in the docs at all.
Attachments
Screen Shot 2019-06-06 at 8.54.11 AM.png
Screen Shot 2019-06-06 at 8.54.11 AM.png (75.49 KiB) Viewed 1637 times
User avatar
kitkat
Posts: 193
Joined: Sun Jan 27, 2019 5:17 pm

Re: Disk Space, Disk Blocks, Disk Percent?

Post by kitkat »

Disk Space pulls a value from the database for each event, and it looks like it's in bytes.

Disk Blocks appears to take the value from the 'Used' column in the output of df , so it applies to the drive rather than a specific event.

e2a: On my system, df reports that the disk blocks are 1K each, so 300 GB would be in the region of 300,000,000 blocks (depending on the 1,024/1,000 bytes per kbyte thing).
Post Reply