This topic covers general concepts for server-attached and network-attached (NAS) storage: how storage locations are detected, how data is distributed across drives, and what data types are commonly found there. For storage eligibility rules, configuration procedures, and read-write policies, see the other topics under "Server Storage Configurations".
Key Concepts:
•Each server can use an unlimited number of attached and non-attached (network) storage solutions.
•The number and size of storage devices physically attached to a server may be limited by the server platform.
•Each local hard disk partition is considered a possible, least preferred, storage location.
•Storage locations must be detected by the operating system and be available to Nx Witness applications.
•A local drive with a single partition containing an operating system can be used for recording.
•If a primary partition is used, the "Local storage is used for analytic and motion data (Site)" event will be triggered.
•10% of the total available space is reserved on each storage location.
•See the Relative Capacity Rule in "Storage Eligibility Rules".
•Servers automatically balance usage across drives when more than one storage location is available (see "Background: Archive Distribution and Retention").
•Each server writes to its own sub-directory location based on a unique GUID identifier.
•Every storage location (devices or folders) has a configurable read-write policy.
•Storage device activity levels (read, write, index, clear) are directly related to storage availability as less capacity generates more frequent reuse of a smaller space.
•When local storage is added to a server, an extended partition is created with 5 times the storage capacity of the primary storage, or if the total sum of available (non-primary) storage capacity is 5 times that of the primary storage, the primary partition will be disabled for recording and Nx Witness will record data to the extended partition(s).
NOTE: It is NOT recommended to use the primary drive for any archive, index, or analytical data storage and instead use an independent partition on a separate physical drive for best results.
Data Commonly Found on Drives:
•VMS Data:
oVideo Archive: The recorded audio-video streams provided by a device or camera.
oIndex Data: Motion, Bookmarks, and proprietary metadata resides at the same drive as the corresponding archive.
oAnalytical Data: By default, the largest, local, non-primary drive is used for analytical data storage (see "Configuring Analytics Storage").
•Other Data:
oData not created or managed by the media server.
oOperating System files and OS reserved allocations.
USB Drives:
•Support for USB storage is NOT enabled by default (See Adding a USB Webcam).
•A warning is displayed when attempting to record to a USB device
•USB devices can only be used for Video Archive data.
To Find Archive on a Storage Device
The storage structure on a partition is as follows:
•<drive>/HD Witness Media/$GUID/$Resolution/$ID/$YYYY/$MM/$DD/$HH
where:
•$GUID – Unique identifier for the server
•$Resolution – can be hi_quality (high resolution streams) or low_quality (low resolution streams)
•$ID – if reported, the MAC address of the recorded device, otherwise the Camera ID
•$YYYY – year recorded
•$MM – month recorded
•$DD – day recorded
•$HH – hour recorded