nbdelete

nbdelete — remove deleted fragments from disk volumes

SYNOPSIS

<admin_dir_path>nbdelete -allvolumes [-priority number] [-force]

<admin_dir_path>nbdelete -dt disk_type -media_id name [-bpdm_media_server name] [-media_server name] [-storage_server name] [-priority number] [-force]

On Windows systems, <admin_dir_path> is <install_path>\NetBackup\bin\admincmd\

DESCRIPTION

The nbdelete command removes all deleted fragments from the disk volumes that are specified on the command line. The -allvolumes option removes the fragments from all volumes that contain deleted fragments. The -dt, -media_id, -media_server, and -storage_server options specify an individual volume where deleted fragments should be removed.

OPTIONS

-allvolumes

Queries the image list in the EMM database to obtain the list of volumes with deleted fragments. nbdelete then removes the fragments from those volumes.

-bpdm_media_server name

Starts up bpdm on the specified media server. Use if a media server has a much faster network connection to the disk volume's storage server for the delete operations.

-dt disk_type

Specifies the disk type where the deleted fragments should be removed. The following are the valid values for disk_type:

0 - All

1 - BasicDisk

2 - NearStore

3 - SnapVault

6 - DiskPool

-force

Removes the database entries whether the disk deletion is successful or not. NetBackup removes image copies at catalog cleanup time and after the disk fragments have been removed. If a problem occurs when you try to delete the fragments, the database entries are retained for the deletion to be retried later. Deletion can fail if the following occurs: disk volume is offline, corrupted, or inaccessible; a hardware error or network error; or someone has already manually removed the fragments.

-media_id name

Specifies the name that represents the media ID of the volume whose deleted fragments are to be removed.

-media_server name

Specifies the name that represents the media server for the volume whose deleted fragments are to be removed.

-priority number

Specifies a new priority for the job that overrides the default job priority.

-storage_server name

Specifies the name that represents the storage server of the volume whose deleted fragments are to be removed.