Table of Contents

HyprSpace

HyprSpace is a WolfRecorder feature that lets you extend the storage space used for user-exported camera video clips beyond the default root filesystem on the fly.

Overview

By default, all exported video files are saved in a reserved area inside the root filesystem (/).

When HyprSpace is enabled, user exported recordings files can be stored on any other storage location, for example:

The underlying storage type does not matter as long as it is properly mounted in the system.

How it Works

The feature can be enabled via a checkbox in “System settings” named “User exported videos in HyprSpace”.

After HyprSpace is activated:

The “Storages” module shows the HyprSpace as “Storage of user exported videos”.

The “System info” module start display information about HyprSpace storage capacity.

All videos exported by the users will automatically be saved in an alternative mount point /hyprspace.

Requirements

Setup Steps

Create the mount point if it does not already exist:

mkdir /hyprspace

Prepare and mount the storage device or network share as needed (see examples below).

Create the directory /hyprspace/recdl and set the correct permissions:

mkdir /hyprspace/recdl
chmod 777 /hyprspace/recdl

Enable the checkbox “User exported videos in HyprSpace” in “System settings”.

Notes

Migrating Existing User Exported videos

To move previously exported user videos to the new HyprSpace location, run:

mv /usr/local/www/apache24/data/wr/howl/recdl/* /hyprspace/recdl/

Few examples

Mount a new UFS disk:

mkdir /hyprspace
newfs -U /dev/da10
mount /dev/da10 /hyprspace
mkdir /hyprspace/recdl
chmod 777 /hyprspace/recdl

Mount an NFS share:

mkdir /hyprspace
mount 192.168.0.12:/mnt/share /hyprspace/
mkdir /hyprspace/recdl
chmod 777 /hyprspace/recdl

Mount a ZFS filesystem:

zpool create hyprspace /dev/da10
mkdir /hyprspace/recdl
chmod 777 /hyprspace/recdl