beautypg.com

Resetaudittrailindex command, Setaudittrailindex command, Setaudittrailindex command example – HP NonStop G-Series User Manual

Page 143

background image

SMFIXUP Utility

HP NonStop Storage Management Foundation User's Guide523562-008

9-5

RESETAUDITTRAILINDEX Command

This command can be used to delete catalog files after using a PUP DELETE
POOL or DELETE VIRTDISK command for D-series product versions of SMF, or
an SCF DELETE command for G-series versions of SMF (see also

Section 3,

Configuring and Managing SMF Processes

.)

When using the * wild-card option, specify the ALLOWERRORS command to allow
for multiple errors in wild-card cases. See

ALLOWERRORS Command

on

page 9-11.

RESETAUDITTRAILINDEX Command

The RESETAUDITTRAILINDEX command resets the audit trail index for a specified
pool to -1. Therefore, no disks exist in the pool that match the audit trail index and no
audited files can be created on any VDP belonging to the pool. Use this command if
you issue an incorrect SETAUDITTRAILINDEX command.

pool-name

is the name of the pool whose audit trail index is to be reset.

SETAUDITTRAILINDEX Command

The SETAUDITTRAILINDEX command sets the audit trail index for a specified pool.
This command is useful when a disk is enabled for TMF auditing after it has been
added to a pool. Until the pool process is informed of the audit trail index, you will
receive error 5014 when you attempt to create audited files on that disk.

pool-name

is the name of the pool whose audit trail index is to be set.

audit-trail-index

specifies an audit trail index.

SETAUDITTRAILINDEX Command Example

SETAUDITTRAILINDEX $pool 0

sets the audit trail index for the pool $pool to 0 (the master audit trail). Only disks that
belong to the master audit trail can be included in pool $pool. If any other disk is
included in the pool, it will not be selected for audit file creation.

RESETAUDITTRAILINDEX pool-name

SETAUDITTRAILINDEX pool-name audit-trail-index