cDVR User Guide, Release 2.0
110
Configuration - Content Management
Deletion
Mechanism
Functionality
The CR automatic content deletion mechanism runs as a cron job from within the RM application itself
and is performed hourly
10
, at which point the RM will perform a calculation from the prior hour to
determine the age and reference status of all segments. The mechanism then deletes the segments
according to the parameters described above. Schedule-based deviations in parameters will override
global parameters for schedules in which the values differ.
The deletion mechanism operates at the segment directory level. That is to say, if a particular segment
directory contains both referenced and unreferenced fragments, the mechanism does not drill down to
this level and remove only the applicable fragments. The segment directory and all its fragments are
either recursively deleted or fully preserved.
What
is
Deleted
For NFS or GPFS, as an example, assume you have created a CR recording under a schedule named,
“Program-2.” The file structure for this CR schedule will look like this:
.
./<Storage Mount Location>/Program-2/<Segment Directories & manifest>/<.ts
files & manifests>
The files in the
Program-2
directory will contain manifest files and segment directories that will look
similar to the following:
10. Currently, this time may not be changed.
# pwd
/nfs1/nDVR/Program-2
# ls -l
drwxr-xr-x 2 678 678 20480 Oct 17 18:54 20141018T014948
drwxr-xr-x 2 678 678 20480 Oct 17 18:59 20141018T015448
drwxr-xr-x 2 678 678 20480 Oct 17 19:04 20141018T015948
drwxr-xr-x 2 678 678 20480 Oct 17 19:09 20141018T020448
drwxr-xr-x 2 678 678 20480 Oct 17 19:14 20141018T020948
drwxr-xr-x 2 678 678 20480 Oct 17 19:19 20141018T021448
drwxr-xr-x 2 678 678 20480 Oct 17 19:24 20141018T021948
drwxr-xr-x 2 678 678 20480 Oct 17 19:29 20141018T022448
drwxr-xr-x 2 678 678 20480 Oct 17 19:34 20141018T022948
-rw-r--r-- 1 678 678 198 Oct 17 16:59 CRManifest_20141017
-rw-r--r-- 1 678 678 990 Oct 17 19:29 CRManifest_20141018
-rwxrwxrwx 1 678 678 651 Oct 17 16:34 index.m3u8
CR Segment Directory