Is there a way to get a tape back to "un-labeled" in networker? Basically when I remove the volume it says "not in media index" and I have to relabel the tape anyway. Is there a way to make the tape un-labeled again?
There is a slight difference between tapes that are unlabeled (means no Networker label can be found - for example using brand new tapes or tapes overwritten with a different backup software) and tapes that are 'not in media index' (means they have a Networker label - this situation can be achived using nsrmm -d for example). Networker does not use tapes marked as 'not in media index' for automatic re-labeling operations when auto-media-management is enabled. Unlabeled tapes are used in this case.
I can understand ajw's problem. Esp. when you're cleaning up your Networker environment deleting tapes from networker's index may be nessesary to delete corresponding pool resources. But you'll have to relabel all tapes to a different pool so that these tapes can be re-used by auto-media-management-feature.
The only way is written to a tape with another program like tar, but you don´t need to remove the old volume to relabel tape to a new volume, Networker do this automatically.
Thanks I understand, was just trying to avoid having to manually label tapes in hopes that Networker would automatically make the tapes be unlabeled again. Thanks for your response.
Why would you remove tape in the first place if you wish to use it? One thing that comes to my mind is before where you had unique retention for clones and you wanted to keep clone longer, but in that case you would need to label manually such tapes which was logical thing. From ajw's post I can't see source and reason for the problem he run into and there might be another way of doing it what he does or what is happening to him.
I have deleted the volume from media db, but it doesn't work.
sometimes the error message is "label write, invalid argument" and sometimes is "RAP error: Tape label read for volume ? in pool ?, is not recognized by Networker: Input/output error"
I ve reinstalled all packages of the backup server, deleting the db before and it still doesn't work.
I ve tried to label the volume at another datazone and it works! (so the tape is ok)
NetWorker has a built in mechanism which will not relabel a volume which has a NetWorker label written to it if the NetWorker server does not know about this volume automatically. You can force a relabel of a volume from the command line using the appropriate flags including -Y. If it has been used by another software I am unaware of any situation where NetWorker will be unable to deal with this situation automatically. From your description so far I cannot tell what the issue is but would suggest the following: -
1. Can you mount another tape volume in a drive successfully?
2. If you can do this try to mount the volume you wish to relabel in this drive and see if you get the same error reported in your last post?
3. Try to relabel the volume from the command line using the -Y, -b -j flags (these are the minimum you need) specifying the pool you want and jukebox name.
I am not sure from your previous message if you are using the same volume when you say " you can relabel in a different datazone" as this would put a valid label onto the volume and you would hit my first point above.
There is a very good document available on Powerlink which details drivers etc for the different OS's we have, along with SCSI resets, CDI etc. This is called
Configuring Tape Devices for EMC NetWorker - search for this on Powerlink and you should be able to download, if you cannot find it put another post on and I'll see if I can find the exact link for you. It is maintained so it is best to check each time you need to reference this infornation as it may have beenupdated with later information.
dk3
163 Posts
6330
0
Posted April 29th, 2007 13:00
I can understand ajw's problem. Esp. when you're cleaning up your Networker environment deleting tapes from networker's index may be nessesary to delete corresponding pool resources. But you'll have to relabel all tapes to a different pool so that these tapes can be re-used by auto-media-management-feature.