Overview of Metadata Space Management
From a high level, StorNext uses two kinds of file system metadata:
- Internal metadata: Internal file system metadata consists of low level structures such as inodes and directory blocks and is stored in a raw format directly on the LUNs that have been configured for a file system. Such LUNs are denoted with the parameter
metadata="true"
in the stripe group definition section of the StorNext configuration file (fsname.cfgx). - External metadata: External metadata consists of the StorNext Metadata Archive as well as the MySQL database used by Storage Manager. This metadata is a set of files that typically resides on the HA shared file system under
/usr/adic/HAM/shared/database/mdarchives
and/usr/adic/HAM/shared/mysql
.
All StorNext file systems have internal metadata. However, file systems only consume external metadata if they are managed or if the Metadata Archive feature is enabled. Managed file systems have the parameter storageManager
set to true
in the StorNext file system configuration file. File systems with the Metadata Archive feature enabled have the metadataArchive
parameter set to true
in the StorNext file system configuration file. Newly created unmanaged file systems have Metadata Archive disabled by default, and this feature is typically only enabled for such file systems when you use special features that require or benefit from its use such as FlexSync, stripe group offload, auditing, and so on.