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?
