Project

General

Profile

Feature #1272

Warn on low disk recording space

Added by Richard Lloyd about 9 years ago. Updated about 9 years ago.

Status:
Accepted
Priority:
Normal
Assignee:
-
Category:
User Interface
Target version:
-
Start date:
2012-09-29
Due date:
% Done:

0%

Estimated time:

Description

There's just one recording location (with sub-directories under it depending on the config option), so it should be easy to determine the amount of free space on that location's device. To get that, use statvfs(), but also be wary about quota'ed disks so use quotactl() for that. There should be a config option to allow the user to suggest free space warning level (either percentage or perhaps GB free) - should the filestore space go below the warning level, there should be some sort of alert (and a log entry). It gets a bit tricky how often you display that warning (probably only when it goes from being OK to being in warning state, so you'd need to know what the previous state was, so you don't keep displaying the alert).

History

#1

Updated by Adam Sutton about 9 years ago

  • Status changed from New to Accepted
  • Assignee deleted (Hein Rigolo)

Yeah the details about when you warn etc.. would need to be included. But this also somewhat relates to various other bits that I need to look at. Like checking whether recording files have been moved (thus making the recording unusable).

Also this might tie into the retention policy, i.e. start deleting older recordings when disk fills.

Adam

Also available in: Atom PDF