Top
PRIMECLUSTERGlobal Disk Services Configuration and AdministrationGuide 4.5
FUJITSU Software

D.10 sdxcopy - Synchronization copying operation

SYNOPSIS

sdxcopy -B -c class -v volume,...[-e delay=msec,nowaitsync]
sdxcopy -C -c class -v volume,...
sdxcopy -I -c class -v volume,...
sdxcopy -P -c class -v volume,... -e delay=msec

DESCRIPTION

Use sdxcopy to access to synchronization copying for volume objects (excluding shadow volumes) specified by volume.
You must be superuser to use this command.


PRIMARY OPTIONS

You can use one of the following options.

-B

Begin
Attaches slices that have been detached from mirror volumes specified by volume,... and executes synchronization copying. The command returns control after the synchronization copying is complete (before the copying process starts when using the -e nowaitsync option). class indicates the class name to which the volume belongs.

Slices on the volume that have a status of INVALID are attached, and then a synchronization copying is executed.
Slices with a status of TEMP* or NOUSE are not attached.
If there are any slices currently involved in a synchronization copy on the volume, this command will terminate with an error.

This command resumes copying from the point where it was interrupted with the -I option.

Synchronization copying will be executed while the volume is activated or stopped.


-C

Cancel
Cancels synchronization copying in process or interrupted on the mirror volume or mirror volumes specified by volume,.... After the cancel is completed, the system returns from the command. The class indicates the class name to which volume belongs.

-B option executes the copying process again.


-I

Interrupt
Interrupts the synchronization copying currently underway on a mirror volume or mirror volumes specified by volume,.... The command returns after the interrupt is completed. The class indicates the class name to which volume belongs.

-B option executes the copying process from the point where it was interrupted.


-P

Parameter
Changes parameter related to the synchronization copying in process or interrupted on the mirror volume or mirror volumes specified by volume,.... The class indicates the class name to which volume belongs.

Copying in process will resume after the parameter is changed.

The current status of synchronization copying that is either in process or interrupted can be checked by executing the sdxinfo -S command.


SUB OPTIONS

Sub options are as follows:

-c class

The class indicates the class name to which volume belongs.


-e delay=msec (when using -B,-P)

Delays the issuing of the input/output request to the disk at the time of copying by milliseconds specified by msec. This option allows you to adjust the influence on the application accessing the volume.

The value is set to 0 by default. If the copying process is either completed or canceled, the delay time will return to default (0).

Values from 0 to 1000 may be specified for msec.


-e nowaitsync (when using -B)

Returns the command before the copying is complete.


-v volume,...

The volume indicates the volume name that is the target of the operation.
To indicate multiple volumes, separate each volume name with a comma (,) as the delimiter. volume which can be specified is up to 400.


RETURNED VALUE

Upon successful completion, a value of 0 is returned.
Otherwise, a non-zero value is returned.