cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot delete assigned volume

Dharmesh_K
Level 4

Dear All,

We were installed Netbackup 4.5. In that we are used DLT8000, so that all media id are density of dlt. Now we are upgrade 4.5 to 5.1 and then 6.0. With reference to that density dlt was changed to dlt2. In one media id A00013 was already assigned while 4.5 was working, is not change to dlt2. If we are delete the media id it showd the message cannot delete assigned volume (92).

Please reply if any body knows how to do it.

 

Regards

Dharmesh

1 ACCEPTED SOLUTION
12 REPLIES 12

Karthikeyan_Sun
Level 6

So you are going re use that tape, Be careful; you will not be able to recover the data after expire.

use the following command 

bpexpdate -m A00013 -d 0 -force

Andy_Welburn
Level 6

You are possibly getting this message as NetBackup has identified this media as having valid, un-expired images on it.

If you are sure that there are no images on this tape that you wish to keep (try 'Images on Tape' report or bpmedialist?) then you could try & use bpexpdate to expire this tape prior to deleting it. e.g. bpexpdate -d 0 -m <media_id>

 

***Edit***

Touche'

Dharmesh_K
Level 4

Thanks,

Actually, when I am trying a command "bpexpdate -d 0 -m media_id" it shows "requested media id was not found in the EMM database" results.

Is there any other way to doing this.

Actully, when Netbackup was 4.5 then dlt 8000 shows density was dlt. A00013 media id registered with this density. Then we upgrade 4.5 to 5.1 and then 6.0, A00013 shows the same dlt density eventhough dlt 8000 shows density dlt2 in netbakcup 6.0

Please reply.

--Dharmesh

Nathan_Kippen
Level 6
Certified

Run nbemmcmd -listmedia -mediaid <media id> and find out which media server owns the media.  Then run your bpexpdate command:

 

bpexpdate -m <media id> -d 0 -host <media server> -m <master server>

 

 

Dharmesh_K
Level 4

Thanks,

I will try this it gives following error:

Database system error:

Following are the some information while give the nbemmcmd command as per your reply.

Media Type: DLT (which actually now is DLT2)

Media Flag: 1

Media server: NONE

Robot Type: NONE

Media Status: ACTIVE

Origin Host: Server_name ( same server name which was upgraded from 4.5 to 6.0)

Please reply if any solution.

--Dharmesh

AndreaBolongaro
Level 5
Certified

Hello Dharemsh,

try this technote

http://support.veritas.com/docs/208420

How to manually remove a tape completely from NetBackup/Media Manager.

 

I use it serveral times in NB5.1. Please, look for any updates in commands for NB6, before using it.

Hope this helps.

Bye

Dharmesh_K
Level 4

Hello,

Thank you for solution. It works and we are assign said media id in upgarded server and also successfully expire it.

One more query is that how can we know the current media id which are mounted in tape drive?

e.g. suppose we are loaded A00013 tape in tape drive. Which command shows the currently A00013 mediaid are loaded in tape drive?

Please reply.

 

Andy_Welburn
Level 6

vmoprcmd

 

This allows you to perform 'operator functions' on drives, but without any options it displays current drive status etc etc.

S_H1
Level 5
Partner

Use /usr/openv/volmgr/bin/vmoprcmd -d

--------------------------------------------------------------------------------

                                  DRIVE STATUS

Drv Type   Control  User   Label  RecMID  ExtMID  Ready   Wr.Enbl.  ReqId
  0 hcart2   TLD                Yes   000001                 Yes       Yes         0
  1 hcart2   TLD                  -                                 No           -           0
--------------------------------------------------------------------------------

 

Check RecMID.

Dharmesh_K
Level 4

Hello,

Thanks.

Beyond this query, we have one more question. If we have a backup in A00013 media. Now we are interested to change media id from A00013 to A00003 with backup image which already in A00013. It is possible?

We have alos query regarding installing Veritas file system in SRT (BMR) with another case title "Add Veritas File System in SRT in Netbackup & BMR 6". If anyone know please reply.

Regards,

Dharmesh

J_H_Is_gone
Level 6

you cannot make any changes to a tape that has vaild images on it.

you cannot rename/label the tape without losing access to the images on the tape.

 

you could dup it to a new tape if you wanted.

but why whould you need to change a tape label from A00013 to A00003, what difference does it make?