A.5 DST Commands for /etc/opt/novell/ncpserv.conf

Use the commands in this section for the NCP Server configuration file (/etc/opt/novell/ncpserv.conf). The ncpserv.conf file is read only at eDirectory startup time. If you modify this file directly, you must restart ndsd in order for the changes to take effect.

SHADOW_VOLUME volume_name shadow_area_path

Identifies a volume as having a secondary storage area and specifies the path to that secondary volume. Any NCP volume can have a shadow. The root directory for the shadow area needs to already exist; the rest of the directories in the secondary file tree is automatically created as needed. The volume shadow area is available the next time the volume is mounted.

SHIFT_MODIFIED_SHADOW_FILES value

Enables a modified file to be moved from the secondary storage area to the primary storage area. The value can be either 0 (Disabled) or 1 (Allow). The default value is 1. When this parameter is on, and a file that is located in the secondary storage area is modified, the file is automatically moved back to the primary storage area when the file is closed.

SHIFT_ACCESSED_SHADOW_FILES value

Enables a file to be moved from the secondary storage area to the primary storage area if it is accessed as read-only a second time during a specified period of time. The value can be either 0 (Disabled) or 1 (Allow). The default value is 0. When this parameter is on, and a file that is located in the shadow area is accessed, if this is the second access within the configured SHIFT_DAYS_SINCE_LAST_ACCESS, the file is automatically moved back to the primary area when the file is closed.

SHIFT_DAYS_SINCE_LAST_ACCESS value

Specifies the number of days to use when determining if a file should be moved back to the primary storage area. The value may be 0 (Disable), or between 1 and 365 (in days). The default is 1. When it is used with SHIFT_ACCESSED_SHADOW_FILES, the parameter sets the time when files are migrated back to the primary storage area after the second access within the specified elapsed time.

DUPLICATE_SHADOW_FILE_ACTION value

Controls how duplicate files conflicts are handled. The default is 0.

0 - Show duplicate shadow files (default)

1 - Hide duplicate shadow files

2 - Rename duplicate shadow files

3 - Delete duplicate files from shadow area

4 - Move duplicate shadow files to /._DUPLICATE_FILES

DUPLICATE_SHADOW_FILE_BROADCAST value

Enables a message to be broadcast to an NCP user when a duplicate copy of a file is located on both the primary volume and the secondary volume. Valid settings are 0 (Disabled) and 1 (Allow). The default is Allow. The Novell Client version in use must support receiving broadcast messages in order for the user to receive the message.

REPLICATE_PRIMARY_TREE_TO_SHADOW value

Controls how the primary tree is replicated from the primary tree to the shadow tree. Valid settings are 0 (Disabled) and 1 (Allow). By default, it is disabled, and paths are replicated to the secondary storage area gradually as data is moved from the primary location to the secondary location. If it is enabled, the entire tree is replicated even if no files in a path have been moved to the secondary storage location.