Categories
Knowledge Support Support exacqVision Server Products

Linux – Delete Video from Root Volume

Exacq Technologies does not recommend using the root partition for video recording as the OS is installed on this partition.  Exacq labels the root partition as /mnt/edvr/0.  In the event that /mnt/edvr/0 has been enabled on the storage page,  resulting in video being recorded to the root partition and you now need to delete that video and prevent future recordings follow these instructions.

exacqVision files are stored on each drive enabled for recording in a directory structure beginning with YYYY (Year), see our KB: 393 exacqVision Video File Naming Format for additional details 

Knowing this we only need to concern ourselves with identifying the year folders which have been written to /mnt/edvr/0.  Once identified then they, along with their contents, including sub-directories can be easily removed. 

The basic steps are: 

  • Verify that future recording to /mnt/edvr/0 has been disabled
  • Open terminal and change to the mnt/edvr/0 directory 
  • Determine which Year folders have been created on /mnt/edvr/0
  • Delete the contents, of this year folders, including sub-directories
  • Empty the contents of trash
  • Close the Terminal Window 

In this screenshot mnt/edvr/0 has been enabled resulting in video being recorded to the root partition.  This is not recommended and should be unchecked to prevent recording to the root partition in the future.

Example of deleting video from the root partition (/mnt/edvr/0) and emptying the trash from the terminal

Change directory to /mnt/edvr/0 

$ cd /mnt/edvr/0

List contents of /mnt/edvr/0

$ ls
2021  psfpi

Remove year folder, in this case 2021 and it’s contents 

$ sudo rm -r 2021

Note if prompted enter in the OS root password and press enter.  There will be no visual feedback while you type. 

Empty Trash 

$ sudo rm -rf ~/.local/share/Trash/*

Exit Terminal 

$ exit