Results 1 to 6 of 6
-
11-02-2007, 09:11 AM #1Member
- Join Date
- Aug 2007
- Posts
- 4
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Tape restore problem primary and copy tape bad
I have the following situation.
I had a bad tape in the onsite tape pool. I did a restore volume and recovered the 16 tapes I needed to do the restore. When I ran the restore 15 tapes did just fine, but the 16th tape failed and went to unavailable. So now I have the situation of the same files being on 2 tapes, but both are bad. The live data is still on the source server so I could back it up again
I am looking for help on this
thank you
-
11-02-2007, 10:37 AM #2Moderator
- Join Date
- Dec 2003
- Location
- Czech Republic
- Posts
- 2,050
- Thanks
- 2
- Thanked 56 Times in 55 Posts
Hi,
if you are sure both tapes are bad then you should back the file again (use selective backup)
If you back up all the files that are on the bad tapes (use "q cont <volume_name>") and you do not need the old versions, delete those volumes from TSM (use "del vol <volume_name> discard=yes" on the primary volume - copy volume goes along)
It is even possible that the tapes will be deleted automatically (after expiration) as they are now considered empty.
Remove them from library and .. burn them?
Harry
-
11-02-2007, 12:00 PM #3
If you are sure both tapes are bad, you should remove those tapes first. Depending on if it's a primary or copy stgpool tape, you update the status to unavailable or you delete it (read help upd vol - it's in there somewhere). you then restore the tape, after which the unavailable tape goes destroyed I think (this should be in the help for restore vol), and afterwards the next backup should automatically backup any destroyed files again, because there now is no longer a backup of it.
IMHO, you should not have to do anything like q cont <vol_name>; TSM takes care of that if you take care of the tapes.
Before burning, drive a truck over 'em? Just for grins and giggles of course, and the satisfaction of driving a truck over something.
-
11-02-2007, 02:48 PM #4Member
- Join Date
- Aug 2007
- Posts
- 4
- Thanks
- 0
- Thanked 0 Times in 0 Posts
my issue
the issue with the 2 tapes is that one is th eprimary and the other the backup of the primary, so both have the same file information on it
backing up is the way to go, luckily it is about about 800 files in about 20 directories
thanks for your replies
-
11-02-2007, 04:05 PM #5Member
- Join Date
- Oct 2004
- Posts
- 20
- Thanks
- 0
- Thanked 0 Times in 0 Posts
"Unavailable" doesn't necessarily mean "bad", it usually means "lost".
Did you try checking out the copypool volume with remove=no and checklabel=no and then checking it back in in search mode?
-
11-02-2007, 05:36 PM #6Moderator
- Join Date
- Feb 2007
- Location
- Brisbane, Australia
- Posts
- 2,072
- Thanks
- 0
- Thanked 3 Times in 3 Posts
Sometimes its only a minority of files on a tape that are damaged.
See q content <vol> damaged=yes
Do a "upd vol <vol> acc=readonly", "move data <vol>" of the primary vol. This will get everything TSM can move off the tape that isn't damaged. Then do the restore vol.
Possibly different files on the primary and copy are damaged so you may not lose anything.
ANd as Purdon said, unavailable doesn't really mean its damaged. Was it checked in properly? DId you update it to acc=readwrite after checking it in?
Similar Threads
-
Need Tape scratch script for primary Tape pool only
By tsmhelum in forum ScriptingReplies: 4Last Post: 08-03-2007, 02:31 PM -
How can I backup a single tape cartrige from a primary seq stg pool to a copy pool?
By caldwem01 in forum Backup / Archive DiscussionReplies: 1Last Post: 01-15-2005, 03:50 PM -
Copy from tape to tape - Backup from Primary Pool to Copy Pool
By piggy in forum Tape / Media LibraryReplies: 0Last Post: 10-27-2003, 05:22 PM -
Bad Copy Storage Poll tape
By mcridercoach in forum Backup / Archive DiscussionReplies: 3Last Post: 08-20-2003, 11:07 AM -
Bad Copy Storage Pool tape
By mcridercoach in forum Tape / Media LibraryReplies: 1Last Post: 08-13-2003, 11:51 AM


Reply With Quote