Hi, dear!
Good day to you!
This topic describes how to deal with the problem that failed to write data into the video index file when recording.
Issue Description
Video recording stopped abnormally with the below error on the IVS client.
Failure to Write Data into the Video Index File.
Handling Process
Logged in to VCN server through ssh and run df -h command to check the space usage of each partition and found the /RecordIndexFile partition was full.
Run command: find /RecordIndexFile/bsm -name"*.widx" -type f -mtime +90 -exec ls -l {}\; to check the recording index files whose storage duration exceeds 90 days.
Run the command: find /RecordIndexFile/bsm -name"*.widx" -type f -mtime +90 -exec rm {} \; to manually delete theindex files exceeding 90 days.
Run command: /home/ivstool/bin/service.sh to restart theMU service.
Root Cause
When the storage period is not set or is set to a large value, and the recording policy is to recycle by storage space, the /RecordIndexFile partition space would reach 100% gradually.
Solution
Run the following command to manually delete the index files you don't need:
find /RecordIndexFile/bsm -name "*.widx" -type f-mtime +90 -exec rm {} \;
Note: Before running the above command, ask customer for old recordings that he wants to delete to get space in the directory RecordIndexFile.
Run command: df -h to check the space size. If the available space of /RecordIndexFile is larger than 1GB or Use% is comparatively low, you can stop step2 by pressing Ctrl+C.
Run command: /home/ivstool/bin/service.sh to restart the MU service.
Preventative Measure
Log in to IVS client and choose Workspace > Recording Plan.
Select cameras from the camera list, click Next, and set the value of complete frames(days) to the number of days for storing video recording.
Click Next, complete the recording plan configuration and click Finish.
Log in to the OMU portal web page and change the recording policy to recycle by expiration time.

great



