StorNext snpolicyd Policies

You can create and edit StorNext snpolicyd policies from the StorNext GUI or with the snpolicy command. These snpolicyd policies differ from StorNext Storage Manager (SM) policies in several respects. Following is a summary of some of the similarities and differences between these two kinds of policies.

Storage Policy Option

Storage Manager Policy

snpolicyd Policy

Configurable via the StorNext GUI?

Yes. Select the Storage Policies menu’s Storage Manager option.

Yes. Select the Storage Policies menu’s Replication / Deduplication option.

Configurable via the command line?

Yes. Use fs commands such as fsaddclass and fsmodclass

Yes. Use the snpolicy command.

Where are policy internals stored?

In Storage Manager Database. One database per machine.

In the managed file system, in a private directory.

Is the policy used across file systems?

Yes. One policy can be used in multiple directories and multiple file systems.

No. Policies apply to one file system, but can be applied to multiple directories.

Functions?

Store (to tape or SDISK), retrieve, truncate files.

Deduplicate, replicate, truncate files.

How are truncated files retrieved?

The entire file must be retrieved.

Only portions of the file containing needed regions may be retrieved.

Schedules?

fspolicy / schedules stored in Database.

Linux crontab scheduling.

Management daemon?

multiple fs_ processes

snpolicyd

Previous file versions recoverable?

Yes. Recover previous tape version with the fsrecover command. Up to 10 tape versions.

Yes. Previous replicated copies can be kept in previous replication directories. Up to 16.