cancel
Showing results for 
Search instead for 
Did you mean: 

Discovering medias allocated to NBU

Fabian_Schwarz
Level 4

Can you tell me which command show me all medias allocated to NBU ?

 

Thanks

2 REPLIES 2

AntonioVargas
Level 4

Hi,

 

the command bpmedialist should be the one you need.

 

NAME

bpmedialist - display NetBackup tape media status

SYNOPSIS

/usr/openv/netbackup/bin/admincmd/bpmedialist [-mlist] [-U | -l | -L] [-m

media_id] [-rl ret_level] [-d density] [-p pool_name] [-h host_name |-M master_server,...] [-owner host_name | group_name] [-v]

/usr/openv/netbackup/bin/admincmd/bpmedialist -summary [-U | -L] [-brief]

[-p pool_name] [-h host_name | -M master_server,...] [-owner host_name

| group_name] [-v]

/usr/openv/netbackup/bin/admincmd/bpmedialist -mcontents -m media_id [-U

| -l | -L] [-d density] [-h host_name | -M master_server,...] [-owner

host_name | group_name] [-v]

/usr/openv/netbackup/bin/admincmd/bpmedialist -count -rt robot_type -rn

robot_number [-d density] [-U | -l] [-h host_name | -M master_server]

[-v]

 

check unix commands documentation for mor info.

 

regards

Rakesh_Khandelw
Level 6

you can use either of these

 

bpmedialist 

available_media (script provided by NetBackup)

nbemmcmd -listmedia -brief -allrecords

 

o/ps are in different format, use the one which fits your need.