Forum Discussion

Dirk_Mueller's avatar
11 years ago

bpexpdate -deassignempty

Hi,

 

bpexpdate -deassignempty don´t delete valid images of a tape???

I have some assigned tapes, with (I think) no images on it. I want to delete them, but it´s not possible, because they are assigned.

Now I want to unassign them with bpexpdate. After that I want to delete them.

I checked the tapes with

bpmedialist -mcontents -m XXXXX -U

 

Kind regards

Dirk

  • This will do exactly what it says - any empty tapes are deassigned (unassigned) - which should then allow you to delete them (I presume you mean actually remove them totally from NB as they are no longer part of your environment)

    Normally run as part of the normal clean-up procedure (every 12 hours), but can be run manually if required.
     

13 Replies

  • It is quite possible if a normal 12-hourly Image Cleanup job ran in the meantime.

    Or if someone has issued bpexpdate -deassignempty.

    nbemmcmd command should now also have the Assign Time and all image references cleared.

  • Hello Dirk,

     

    to see if a image is on the tape run bpimmedia -tape -mediaid xxxxxxL6. With this you see if any image is on the tape. bpexpdate -deasignempty will not deassign the media if any image or fragment is on the tape.

     

    We see us (hopefully) tomorrow

    Johannes