snapcachelist command
snapcachelist displays information about all partitions currently in use as nbu_snap caches. This command shows the extent to which the caches are full.
Note:
snaplist and snapcachelist can also be used to monitor an nbu_snap snapshot that a NetBackup policy started. Note that once the backup completes, NetBackup removes the snapshot. As a result, the snaplist and snapcachelist commands no longer return any output.
Execute this command as root:
/usr/openv/netbackup/bin/driver/snapcachelist
If no snapshots are currently active, no output is returned.
Output is of the form:
device free busy /dev/rdsk/c0t4d0s0 238528 264472
Description of output:
device | The raw partition being used as cache. |
free | The number of 512-byte blocks unused in the cache partition. |
busy | The number of 512-byte blocks in the client data that changed while the snapshot was active. Before being changed, these blocks were copied to the cache partition by the nbu_snap copy-on-write process. For each cache device that is listed, busy shows the total space that was used in the cache. You can use this value as a sizing guide when setting up raw partitions for nbu_snap cache. When a cache is full, any additional change to the client data causes the copy-on-write to fail: the snapshot is no longer readable or writable. Reads or writes to the client data continue (that is, user activity is unaffected). The failed snapshot, however, is not terminated automatically and must be terminated using snapoff. |
More Information