Tape volume in error state, how do I clear?

batavus

ADSM.ORG Member
Joined
Jun 26, 2004
Messages
15
Reaction score
0
Points
0
Website
Visit site
I have a volume in a 3584 library as follows:



Volume Name: TSM008

Storage Pool Name: ONSITETPOOL

Device Class Name: 3584LTO2

Estimated Capacity (MB): 409,600.0

Scaled Capacity Applied:

Pct Util: 6.1

Volume Status: Filling

Access: Read-Only

Pct. Reclaimable Space: 1.1

Scratch Volume?: Yes

In Error State?: Yes

Number of Writable Sides: 1

Number of Times Mounted: 2

Write Pass Number: 1

Approx. Date Last Written: 07/02/04 03:01:25

Approx. Date Last Read: 07/22/04 08:00:42

Date Became Pending:

Number of Write Errors: 1

Number of Read Errors: 0

Volume Location:

Volume is MVS Lanfree Capable : No

Last Update by (administrator):

Last Update Date/Time: 07/02/04 02:44:23





The error state is 'yes'. How would I clear that error state? It occured while having issues with a bad fibre cable to the lto2 drive it was in at the time.



Thanks!
 
Hi,

update the volume's access attribute to READWRITE. It should reset the error state.



upd vol tsm008 access=readw



I recommend you to run audit of this volume with fix parameter set to yes to detect any damaged files on the volume.



Hope it helps



Harry
 
Harry, thx, this helped me too. I thought I only needed to run audit volume, but updating the volume to readwrite is what cleared the error state on a tape with read errors.

I plan to monitor the tape to see if the errors recur; if they do, I'll salvage data with move data and trash the tape.
 
Hi,

Use this command to show damaged volumes:

show damaged <stg_pool>

For each volume with errors do
move data <volname> tostg=<stgpool_name> /* salvage all readable files */
audit vol <volname> fix=no /* try to reset damaged files to readable */
move data <volname> tostg=<stgpool_name> /* salvage rest of the files */
audit vol <volname> fix=yes /* remove damaged files from TSM */
repeat until show damaged <stg_pool> shows no errors

Restore stg <Stg_Pool_Name> copystg=Copypool

Be aware, that audit vol <volname> fix=yes will remove files that are marked as damaged, while fix=no (default) will try to recover data and make it available again.
 
Back
Top