
Solaris snapctl Driver
158 NetBackup ServerFree Agent System Administrator’s Guide
If snapoff is successful, a message of the following form will be displayed:
snap 1 disabled
snap 2 disabled
...
snap n disabled
If snapoff fails, an explanatory message is displayed. Error codes are identified in
/usr/include/sys/errno.h.
snaplist
This command must be invoked as:
/usr/openv/netbackup/bin/driver/snaplist
snaplist displays information about all active snapshots in the following form:
id device size cached cache err time
1 /dev/rdsk/c0t3d0s0 72560 16450 /dev/rdsk/c0t4d0s0 0 12/19/99 13:23:48
Where:
◆ size is the size of the snapped frozen image source in 512-byte blocks.
◆ cached is the number of 512-byte blocks that have been cached (written to) for this
snapshot since it was initiated.
◆ err is an error code; 0 indicates no error.
If a snapshot has encountered an error, then err will be non-zero and the snapshot
will be inaccessible. It can be terminated using snapoff. Error codes are identified in
/usr/include/sys/errno.h. Also, error messages may be found in
/var/adm/messages.
snapcachelist
This command must be invoked as:
/usr/openv/netbackup/bin/driver/snapcachelist
snapcachelist displays information about all partitions currently in use as snapshot
caches. It is useful for monitoring the extent to which caches are full. Displayed output is
of the form:
device free busy
/dev/rdsk/c0t4d0s0 238528 264472
Where:
Kommentare zu diesen Handbüchern