• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.


    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

A few questions on audit volume?


I ran an `audit volume fix=no` on several tapes as a test. No discrepancies were reported, but I have several questions:

1. Does the audit actually read each file on the tape, just as a recover operation would, or does it instead read some type of metadata on the tape to compare with the database?

In other words, if you were restoring data to the backup server from the same tape, and the tape drive was local (no network) then aside from the time to write to disk would the speed to read the data from tape be the same as the audit's reading of the data? Is that part of the operation the same?

2. What happens if you audit volumeA after you move the data to volumeB?

I would assume that if no newer data was written to volumeA (read-only) then TSM is no longer tracking any data for tape A. So a `q content volumeA` would report nothing. Data is still physically on the tape, of course, but TSM no longer knows about it being there, only now volumeB. But I wonder about an audit? Would it:

A. Fail immediately?

B. It would try to read the tape (surely it could read it), but then it would report an error for each file since that file would not be listed in the DB for volumeA?

C. It would run silently and then end with the usual summary report wherein everything would then be reported as missing or some such thing?

I meant to try this after data was moved to another tape, but the volume was returned to the scratch pool (resuse delay for the stgpool expired) and recycled and then written to before I thought about it.


ADSM.ORG Moderator
1. Does the audit actually read each file on the tape, just as a recover operation would, or does it instead read some type of metadata on the tape to compare with the database?
It reads the data. It can't validate the integrity of the data, but it can validate that the data is readable from the tape, meaning it's not damaged.
2. What happens if you audit volumeA after you move the data to volumeB?
None of the above. D Because A is empty is empty, the audit finishes successfully in a matter of seconds.


Thank you :) But I'm a bit confused about D. The tape is not physically empty since the data was copied, not wiped, so it's still physically on the tape, just as it was, never mind the fact that TSM no longer lists that data in its database for tape A. Does the move command write a double end of file mark to the beginning of the tape once it's done? If so, most tape drive firmware will not read past that, so then I could see that an audit would just stop, nothing to read. It's done. Otherwise, why would moving the data to another tape prevent the audit from still reading the data on the source tape? Does it even load the tape in a drive? Or does it check with the database, and the DB tells it don't even bother, there's nothing on that tape? Something like that?


ADSM.ORG Moderator
That doesn't matter. During the audit, the server is looking for what it knows exists on the tape, and after the move data, it knows there's nothing on the tape. As far as the server is concerned, the tape is empty, regardless what is physically on the tape.


ADSM.ORG Moderator
Basically, if you do a Q CONTENT TAPE1, then do AUDIT VOLUME TAPE1, the server will look to make sure that it can read all the files listed in Q CONTENT. So if Q CONTENT is empty, the audit doesn't need to read anything.


Okay, I guess that makes sense. I was thinking that *maybe* the audit was like a scan wherein it would read everything on the tape that's physically there. So does it even load the tape? Seems it would be unnecessary except perhaps it would need to verify that that is in fact the correct tape so it would have to load it to read the label? One it's read the label, and its internal q content reports nothing (pretty quick), it's done?

Does it matter if you run: `q content volume1` and then `audit volume volume1` VERSUS just: `audit volume1`?

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 18 18.6%
  • Keep using TSM for Spectrum Protect.

    Votes: 59 60.8%
  • Let's be formal and just say Spectrum Protect

    Votes: 12 12.4%
  • Other (please comement)

    Votes: 8 8.2%

Forum statistics

Latest member