Smf process maintenance commands, Abandonpendops command, Abandonpendops command examples – HP Integrity NonStop J-Series User Manual
Page 145
SMFIXUP Utility
HP NonStop Storage Management Foundation User's Guide—523562-007
9-7
SMF Process Maintenance Commands
SMF Process Maintenance Commands
The following commands are used to make requests of a process itself.
ABANDONPENDOPS Command
This command instructs a process to abandon an in-process operation recorded in
PENDOPS: for example, during a process start up or takeover.
When an SMF process processes entries in its PENDOPS catalog file, the process is
occasionally unable to determine whether or not an operation should be finished or
abandoned. If this occurs, the SMF process emits an EMS event that describes the
situation. The EMS event contains the name of the object. Because only one operation
at a time can be performed on an object by an SMF process, the name of the object
uniquely identifies the operation to the SMF process.
For additional information, see
object-name
is the name of the object, as specified in the EMS event message.
process-name
is the name of an SMF process: for example, the pool process, the virtual disk
process, or the SMF master process.
ABANDONPENDOPS Command Examples
The following example begins with an attempt to create a file with FUP CREATE :
FUP CREATE $VPRAC.SUBVOL1.B
Before the operation finishes, the VDP process goes down, resulting in the operation
being logged as a “pending operation.” When the VDP is brought back up, the
operation is retried, and the following EMS message is displayed:
5095 Recovery operation type -102 for object SUBVOL1 B has
been started.
The physical disk on which the file was to be created is also down, making it
impossible for the VDP to resolve the operation. The VDP retries the operation and
emits the following EMS message:
5095 Recovery operation type -102 for object SUBVOL1 B
completed with error, will be retried.
ABANDONPENDOPS object-name process-name