LTFS/EE - fixing bad tapes..
So for a variety of reasons, we had accumulated some 45 tapes that had found ways to get out of Valid status. I've cleaned up most of them, but I'm stuck on a few corner cases. Case 1: l% tfsee info tapes | sort | grep -C 1 'Not Sup' AV0186JD Valid TS1150(J5) 9022 0 56 vbi_tapes VTC 1148 - AV0187JD Not Supported TS1150(J5) 9022 2179 37 vbi_tapes VTC 1149 - AV0188JD Valid TS1150(J5) 9022 1559 67 vbi_tapes VTC 1150 - -- AV0540JD Valid TS1150(J5) 9022 9022 0 vtti_tapes VTC 1607 - AV0541JD Not Supported TS1150(J5) 9022 1797 6 vtti_tapes VTC 1606 - AV0542JD Valid TS1150(J5) 9022 9022 0 vtti_tapes VTC 1605 - How the heck does *that* happen? And how do you fix it? Case 2: The docs say that for 'Invalid', you need to add it to the pool with -c. % ltfsee pool remove -p arc_tapes -l ISB -t AI0084JD; ltfsee pool add -c -p arc_tapes -l ISB -t AI0084JD GLESL043I(01052): Removing tape AI0084JD from storage pool arc_tapes. GLESL041E(01129): Tape AI0084JD does not exist in storage pool arc_tapes or is in an invalid state. Specify a valid tape ID. GLESL042I(00809): Adding tape AI0084JD to storage pool arc_tapes. (Not sure why the last 2 messages got out of order..) % ltfsee info tapes | grep AI0084JD AI0084JD Invalid LTFS TS1150 0 0 0 - ISB 1262 - What do you do if adding it with -c doesn't work? Time to reformat the tape?
I'm kinda curious... I've noticed a few message on this subject -- so I went to the doc.... The doc seems to indicate there are some circumstances where removing the tape with the appropriate command and options and then adding it back will result in the files on the tape becoming available again... But, of course, tapes are not 100% (nothing is), so no guarantee. Perhaps the rigamarole of removing and adding back is compensating for software glitch (bug!) -- Logically seems it shouldn't be necessary -- either the tape is readable or not -- the system should be able to do retries and error correction without removing -- but worth a shot. (I'm a gpfs guy, but not an LTFS/EE/tape guy)
On 19/08/17 16:45, Marc A Kaplan wrote:
I'm kinda curious... I've noticed a few message on this subject -- so I went to the doc....
The doc seems to indicate there are some circumstances where removing the tape with the appropriate command and options and then adding it back will result in the files on the tape becoming available again... But, of course, tapes are not 100% (nothing is), so no guarantee. Perhaps the rigamarole of removing and adding back is compensating for software glitch (bug!) -- Logically seems it shouldn't be necessary -- either the tape is readable or not -- the system should be able to do retries and error correction without removing -- but worth a shot.
(I'm a gpfs guy, but not an LTFS/EE/tape guy)
Well with a TSM based HSM there are all sorts of reasons for a tape being marked "offline". Usually it's because there has been some sort of problem with the tape library in my experience. Say there is a problem with the gripper and the library is unable to get the tape, it will mark it as unavailable. Of course issues with reading data from the tape would be another reasons. Typically beyond a number of errors TSM would mark the tape as bad, which is why you always have a copy pool. JAB. -- Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk Fife, United Kingdom.
participants (3)
-
Jonathan Buzzard -
Marc A Kaplan -
valdis.kletnieks@vt.edu
