Forum Discussion

ianhoskins's avatar
ianhoskins
Level 4
10 years ago
Solved

List Images On DiskPool Before Phase I Import

Is there a way to query a diskpool to get a list of images on it before I initiate a Phase I import? 
I am hesitant to run the Phase I import until I have time to finish the Phase II import as I have been burned in the past where NBU will expire the images off disk because the Phase I sets a 1 week retention on the images in the catalog.
The diskpool I want to query if from a legacy NBU environment that has been decommisioned.
 

I was hoping I could use bpstsinfo to grab the info, but it requires a mediaid which isn't created until Phase I

NBU 7.6.0.2 on RHL

  • As far as I know the disk media id is generated as soon as you add disk volumes in netbackup.. It wouldn't really wait for you to run phase 1 import.. run the "nbdevquery -listdv" command and it should list the media id that you are looking for.

24 Replies

Replies have been turned off for this discussion
  • I will be running my Phase I sometime tomorrow morning.  I have the list of images now from the comparedbstu so hopefully the Phase I images will match up.  From there I will set a retention date and get a PhaseII going.

  • That said, just spotted this ...

    "after reverting the VM to original state/date... how about this... expiring the phase 1 (not yet phase 2) images from the catalog did not remove them from the basic disk STU:"

    I'm wondering now if advanced disk/ OST behaves differently ...I'll run a test when I get 5 mins ...

  • Hmm, clearly I thought wrong ...

    At 7.1 (system I had to hand), expiring a phase 1 basic disk image did NOT delete it from disk ...

    Ad. disk behaved the same way.

    Just had a search through the eTracks, nothing obvious in terms of bugs - I'll check again later ...

  • I was unsure if we delete the frags from disk, when a phase 1 images is expired ...