Top
ETERNUS SF AdvancedCopy Manager V16.9A Operation Guide
FUJITSU Storage

C.2.1 Pre-processing and Post-processing for File System

The pre-processing and post-processing for a file system is typically the unmounting and remounting of the file system. (For Windows, the processing consists of allocating and cancelling a drive letter.) Pre-processing and post-processing of the replication source volume is performed in order to guarantee the replication source data by disabling access from other processes during execution of synchronous processing and snapshot copy.

If no volume is mounted and inactivate, the pre-processing and post-processing are not performed.

The implementation status of the pre-processing and post-processing for a file system is shown below.
This table shows whether pre-processing and post-processing are performed depending on the command type. It also shows the copy status at the time of the command execution.

Table C.1 Pre-processing and Post-processing for File System

Command

Copy Status

Source/Destination

Pre-processing

Post-processing

swsrpstartsync

Copy not started, or
replication establishment

Source

X

X

Destination

O--*1

X

swsrpmake

Equivalency maintenance

Source

O

O

Destination

X

O--*2

swsrpcancel

Equivalency maintenance

Source

O

O

Destination

X

O--*2

Replication establishment

Source

X

X

Destination

X

X

Copying

Source

X

X

Destination

X

X

swsrpmake

Copy not started

Source

O

O

Destination

O

O

O: Executed
X: Not executed

The post-processing for the pre-processing executed in step (*1) is executed in step (*2). In the post-processing in (2), re-mount is performed for the mount point where unmount was performed in the pre-processing in (1).

The pre-processing and post-processing for a file system can be customized. The processing is started in accordance with the table above when a replication management command is executed. For server-to-server replication, these scripts are executed by remote execution using TCP/IP in the pre-processing and post-processing of a volume that is not connected.

The operation image before and after processing is shown in the following figure.

Figure C.1 Synchronized Replication Processing

If processing other than the standard pre-processing and post-processing is required in the pre-processing and post-processing, customize the scripts.

When customizing a script, strictly observe the following rules regarding error codes:

Table C.2 Error Code Rules

Error Code

Usage

0-99

Unusable (reserved for AdvancedCopy Manager)

100-255

Usable

Note

  • When the replication target is a volume group that includes a logical volume in which the file system has been built, refer to "When Replication Target Is Volume Group". The pre-processing and post-processing scripts have to be customized to execute unmount/mount processing for all logical volumes in which the file system has been built.

  • AdvancedCopy Manager does not support pre-processing and post-processing of databases.Database pre-processing and post-processing must be executed uniquely before and after (respectively) the execution of the AdvancedCopy Manager command.