smora1

updated

19 years ago

S

smora1

253 Posts

0

3443

September 12th, 2007 09:00

Media DB error

Hi all,

we are trying to recover the index of stor machine from 09/21/2006 by nsrck -L7 -t "09/21/2006" stor but after this we try to browse by NetWorker User for that time and doesn't show any data. We have analyzed the daemon.log and have seen the error

nsrmmdbd: Media DB error: Save set eligibility can not be cleared, no clone instance is within recyclable time period

as you can see in the following fragment of daemon.log:

09/07/07 11:02:27 nsrd: index notice: The file index for client 'stor' will be recovered.
09/07/07 11:02:27 nsrd: server1.w.csn.es:root browsing
09/07/07 11:02:28 nsrd: media waiting event: waiting for sdlt320 tape CSN122 on server1.w.csn.es
09/07/07 11:02:30 nsrmmd #5: Start nsrmmd #5, with PID 22778, at HOST server1.w.csn.es
09/07/07 11:05:04 nsrd: server1.w.csn.es:root browsing
09/07/07 11:05:04 nsrd: server1.w.csn.es:root done browsing
09/07/07 11:05:48 nsrd: index notice: The file index for client 'stor' will be recovered.
09/07/07 11:05:48 nsrd: server1.w.csn.es:root browsing
09/07/07 11:05:48 nsrd: Operation 42 started : Load volume `CSN176'.
.
09/07/07 11:05:49 nsrd: media waiting event: waiting for sdlt320 tape CSN176 on server1.w.csn.es
09/07/07 11:05:51 nsrmmd #6: Start nsrmmd #6, with PID 22816, at HOST server1.w.csn.es
09/07/07 11:06:04 nsrd: /dev/rmt/1cbn Verify label operation in progress
09/07/07 11:06:22 nsrd: /dev/rmt/1cbn is now write protected
09/07/07 11:06:22 nsrd: /dev/rmt/1cbn Mount operation in progress
09/07/07 11:06:22 nsrd: media event cleared: confirmed mount of CSN176 on /dev/rmt/1cbn
09/07/07 11:06:22 nsrd: server1.w.csn.es:index:stor (3/24/06) starting read from CSN176 of 280 MB
09/07/07 11:06:26 nsrd: [Jukebox `STK-L180', operation # 42]. Finished with status: succeeded
09/07/07 11:09:49 nsrd: server1.w.csn.es:index:stor (3/24/06) done reading 280 MB
09/07/07 11:09:49 nsrd: server1.w.csn.es:root done browsing
09/07/07 11:09:49 nsrmmdbd: Media DB error: Save set eligibility can not be cleared, no clone instance is within recyclable time period

09/07/07 11:09:49 nsrmmdbd: Media DB error: Save set eligibility can not be cleared, no clone instance is within recyclable time period

09/07/07 11:09:49 nsrmmdbd: Media DB error: Save set eligibility can not be cleared, no clone instance is within recyclable time period

09/07/07 11:09:50 nsrd: index notice: completed recovery of index for client 'stor'


I forgot to tell you that Backup Server has installed NetWorker 7.3.2.

Thanks and regards.
  • dpinink_silva

    2 Intern

    •

    724 Posts

    1255

    0

    Posted September 13th, 2007 01:00

    Hi Sergio,

    I saw in the log that you requested index from 09/21/2006, and Nw got from 3/24/06. If index from 09/21/2006 was no longer available, I can imagine that it expired, and so the same happened to the ones before that day. Maybe Nw tries to get the closer to it on the past, maybe 3/24/06 was the closer one before that day, because somehow it got a different retention or was in a tape that in any way was not expired.

    Do you have any available index for that client before 09/21/2006? If the one from 3/24/2006 was the only one, it confirms what I said. If not, then someone else can help us here :)
  • dpinink_silva

    2 Intern

    •

    724 Posts

    1255

    1

    Posted September 12th, 2007 21:00

    Do you know if the data you want still is in media database? In other words, the savesets still exist in any tape?

    You could try to run scanner -i on tape and see if that helps.
  • smora1

    253 Posts

    1255

    0

    Posted September 13th, 2007 00:00

    Thanks Daniel,

    We found a way to recover what we needed through scanner -i some days ago. As you are saying, the index for requested date no longer is available in tape but my questions are the following:

    1) Why isn't NetWorker able to detect this?

    2) Why does it recover the index of 03/01/07 when there is index closer to the chosen date?

    I remember in the 7.2.x version this mistake didn't happen.
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    1259

    0

    Posted September 13th, 2007 02:00

    What about data saveset? There is different procedure for that in 7.3.x and that has been documented now in release notes and has been discussed here too.
  • dpinink_silva

    2 Intern

    •

    724 Posts

    1259

    0

    Posted September 13th, 2007 02:00

    Hi Sergio,

    If in 7.2 it did not happen, I can only believe that this changed in 7.3. EMC may think that the message in the daemon.log is enough to alert you that Nw is restoring the index from another date then the one you requested.

    Or they may began to act like Microsoft and are trying to create programs that know what is best for you, without asking you :)
  • smora1

    253 Posts

    1259

    0

    Posted September 13th, 2007 02:00

    OK but what this error message means

    nsrmmdbd: Media DB error: Save set eligibility can not be cleared, no clone instance is within recyclable time period

    It seems that after recovering 03/21/06 index, this index is purged because its recyclable time period has already expired. Could it be?
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    1255

    0

    Posted September 13th, 2007 02:00

    Actually the first question is if your saveset is expired or not. As for index date, it means that closest index to that date is the one from 24th for that client.
  • smora1

    253 Posts

    1259

    0

    Posted September 13th, 2007 02:00

    Yes, the index saveset from 09/21/06 is expired.
  • smora1

    253 Posts

    1259

    0

    Posted September 13th, 2007 02:00

    OK Daniel,
    I agree with you, the only thing that I don't understand is why NetWorker shows this error message and recover the closer index in the past instead of recover nothing and shows the reason of that.
    Thank you very much for your collaboration.

    Obrigado
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    340

    0

    Posted September 13th, 2007 05:00

    Yes it could - as I said there is a modified procedure documented and discussed earlier (now you have extra step with nsrmm before restoring index files). Give it a try. As for error message, I have seen it once or twice, but can't remember under what circumstances... could be also index restore. I would advise to use this new method/approach first.