UNSOLVED

VP1

updated

17 years ago

V

VP1

1 Rookie

•

58 Posts

0

2543

September 2nd, 2009 18:00

Tapes Not Marked "Expired"

For past few weeks LTO3 tapes are not being marked "expired" automatically. When I check in NW GUI - Media - Volumes: expiration column is empty for these LTO3 tapes. ALL the savesets for these tapes say "recyclable" - but I have to manually make the tapes "recyclable". This applies to all the tapes from different pools.

We have already ran nsrck -L6 and nsrim -X. Not sure what else we could try.
  • DavidHampson

    2 Intern

    •

    1080 Posts

    829

    0

    Posted September 3rd, 2009 01:00

    You have dependent savesets. To explain this say you have a backup at level full at the start of the week and other days you do an incremental, and all backups have a 1 week retention. After a week the full backup reaches its retention point so we would expect it to expire, right? But we also need to think about our incremental backups - the incremental backup is not an entity on its own but one that taken with previous incremental and full backups makes a backup of the system at that time. Your backup taken the previous day on the last day of the week still has 6 days to run until expiration, but you need to take into consideration for expiration the previous backups made which that incremental backup depends on, which includes our full backup we believe should have now became recyclable, but obviously cannot be as it also makes up a part of backups yet to expire.

    Marking the tape as recyclable does not definitely mean it will be overwritten, but if it does get overwritten you will find you cannot recover your backups from the end of the week within the retention period you expected.
  • DavidHampson

    2 Intern

    •

    1080 Posts

    829

    0

    Posted September 3rd, 2009 01:00

    I've just re-read your post. You state all the savesets are recyclable, if that is the case you would expect to have the tape become recyclable. This may be similar to a bug I have seen recently (3 months back but I am still waiting for the muppet at EMC to understand it). Try this:

    Take one of your tapes, check in the GUI that all savesets say recyclable. At the command line type mminfo -mq volume=volumename and ensure all savesets are recyclable there too.

    Next at the command line type nsrim -V volumename - this will examine all the savesets on the tape which may produce a lot of output for maybe up to a minute. At the end it will give a summary of what is on the tape, what savesets are recyclable and what are not. For the bug I saw there were additional savesets summarized that were not shown either in the GUI or mminfo output. The problem affected a small percentage of our tapes then went away, but it is worrying that backup data may not be recoverable (since we are unable to establish what the data was it was not possible to ascertain whether the data would be known to the recover operation).
  • VP1

    1 Rookie

    •

    58 Posts

    829

    0

    Posted September 4th, 2009 06:00

    This is what I get: Tape expiration says yesterday's date instead of "Expired"

    # mminfo -mq volume=SV0042
    state volume written (%) expires read mounts capacity
    SV0042 414 GB full 09/03/09 0 KB 92 400 GB


    # nsrim -V SV0042
    ...
    ...
    ...
    SV0042: 414 GB used, 169 save sets, full->recyclable, 169 recyclable save sets
  • lpenarub

    43 Posts

    691

    0

    Posted September 4th, 2009 10:00

    What is the OS & NetWorker version and build number on your backup server?
  • VP1

    1 Rookie

    •

    58 Posts

    691

    0

    Posted September 4th, 2009 10:00

    HP-UX - NW 7.4
  • DavidHampson

    2 Intern

    •

    1080 Posts

    829

    0

    Posted September 7th, 2009 01:00

    SV0042: 414 GB used, 169 save sets, full->recyclable, 169 recyclable save sets

    This is saying your tape is being made recyclable now - could you advise on the status of tape SV0042 now?
  • VP1

    1 Rookie

    •

    58 Posts

    829

    0

    Posted September 7th, 2009 07:00

    meant to say 15 **some NOT "same".
  • VP1

    1 Rookie

    •

    58 Posts

    829

    0

    Posted September 7th, 2009 07:00

    David - I had to manually mark it "recyclable" with other 15 same tapes that I have to mark recyclable manually everyday. All these expired tapes are still NOT being marked properly.
  • DavidHampson

    2 Intern

    •

    1080 Posts

    829

    0

    Posted September 7th, 2009 08:00

    Okay try this with a different tape with the same status:

    mminfo -q volume=volume -r volume,state,volretent, ssflags,ssretent

    Check the state - you are looking to see if the volume is set to E for expired; you are looking to ensure the volretent value has been exceeded, you can also check the saveset information to ensure all savesets have passed their retention and are expired.

    Next run nsrim -V volume again, see if it again indicates it is setting the volume to be recyclable.

    Finally run the mminfo command again and see what changes we see...
  • PrinceAijaz

    1 Rookie

    •

    38 Posts

    453

    0

    Posted September 7th, 2009 09:00

    May be you have set your volumes as manual recycle.

    A volume that has been set to manual recycle retains that setting, even after relabeling. A Manual Recycle policy cannot be changed back to Auto Recycle simply by unselecting the Manual Recycle checkbox. The volume must be explicitly reset to use auto recycle.