I second that. volid, barcode, volume name/label - what is on tape and what is in media db - something is different. If you want to play with it do following: - run scanner in "do nothing" mode with high verbose output and record the label name and volid - do the query against volid and report barcode and volume name - do the query against barcode and report volume name and volid - do the query against volid and report volume name and barcode - run nsrjb -v and check same data there
All these have to match among each other in each step. If they do then this would be goo candidate for a bug (unless missing the obvious).
I have the problem, that since we upgraded to 7.3 under Linux, the automatic tape recycling doesn't work.
The tapes are marked with the mode "recyc", but when they are loaded in the tape, the Error message: "Duplicate volume name 'Name'. Select an new name or remove the original volume." Doesn't that work automatic anymore? Or what is the problem?
You said when they are loaded you get the error message... This load is automatic or manual? Given that you have duplicate in media db means you need to take corrective measures. So list the volumes with mminfo or nsrjb and removed them from media database with nsrmm command. Then label them and things should work.
Someone reported issues recently in 7.3 where tapes being removed from the library did not have the location field removed; I wonder if this may be related?
Take a look at where Networker thinks the tape is:
mminfo -q volume=name -r location
- ensure that it thinks it is in the library.
Try relabelling the tape from the command line with -vvv and see if the additional output gives us some more info:
You can also check barcode (asuming you use same label as barcode) on specific volume and then manually mount that volume - you will see what label will Networker read from the tape. If it is different from barcode then you can have HW problem, otherwise I suggest opening case on support.
Are you matching label to barcode or do you use a template? If you remove the tape from the media database then label it as a blank tape do you still get the issue?
It can't be the solution to manualy delete the tapes, when the tape is marked to recycle.
No, that would be workaround. Solution would be to see what is causing such condition. For that you need to open a case so support can go through the history of your volumes, eventual crashes or maybe even bugs that may affect this.
?? You mean you have 2 drives or 2 pools? You must understand that you cannot have 2 volumes in same media database with same volume name or same volid. When this happens usually you get this error.
The problem is when the tape has to be reused from a backup or a clone. It can't be the solution to manualy delete the tapes, when the tape is marked to recycle.
What is yours HW configuration? Do you have library with two or more drives? It is possible that autochanger is missconfigured (devices are pointing to wrong drives) and on fast labeling it is possible to write a wrong label on tape.
Hi, Yes we have the same Problem with the location field.
To your questions: The mminfo brings the correct location of the tape.
The nsrjb command brings the correct messages: nsrjb -L -j Site2_TL892_Unix -vvv -S 1 -b "Unix Backup Clone" setting verbosity level to `3' nsrjb: Info: Preparing to load volume `PAW530' from slot 1 into device `/dev/nst0'. nsrjb: Info: Loading volume `PAW530' from slot `1' into device `/dev/nst0'. nsrjb: Info: Load sleep for 5 seconds. nsrjb: Info: Performing operation `Verify label' on device `/dev/nst0'. Label `PAW530' is a valid NetWorker label. Overwrite it with a new label? yes nsrjb: Info: Operation `Verify label' in progress on device `/dev/nst0' nsrjb: Info: Performing operation `Label without mount' on device `/dev/nst0'. nsrjb: Error: Duplicate volume name `PAW530'. Select a new name or remove the original volume. nsrjb: Info: Operation `Label without mount' in progress on device `/dev/nst0' nsrjb: Info: Label: `PAW530', pool: `Unix Backup Clone', capacity: ` '. nsrjb: Info: Performing operation `Eject' on device `/dev/nst0'. nsrjb: Info: Operation `Eject' in progress on device `/dev/nst0' nsrjb: Info: Eject sleep for 5 seconds. nsrjb: Info: Preparing to unload volume `PAW530' from device `/dev/nst0' to slot 1. nsrjb: Info: Unloading volume `PAW530' from device `/dev/nst0' to slot 1. nsrjb: Info: Unload sleep for 5 seconds. nsrjb: error, Jukebox command terminated with errors.
We had the same problem in 7.2. It turned out that our cleaning tape had run out of uses. This caused Networker to go crazy and cause this message to appear. When I put in a new cleaning tape and set it to 50 uses, the problem went away.
ble1
4 Operator
•
14.4K Posts
0
March 28th, 2006 02:00
- run scanner in "do nothing" mode with high verbose output and record the label name and volid
- do the query against volid and report barcode and volume name
- do the query against barcode and report volume name and volid
- do the query against volid and report volume name and barcode
- run nsrjb -v and check same data there
All these have to match among each other in each step. If they do then this would be goo candidate for a bug (unless missing the obvious).
ble1
4 Operator
•
14.4K Posts
0
March 28th, 2006 01:00
under Linux, the automatic tape recycling doesn't
work.
they are loaded in the tape, the Error message:
"Duplicate volume name 'Name'. Select an new name or
remove the original volume."
Doesn't that work automatic anymore?
Or what is the problem?
You said when they are loaded you get the error message... This load is automatic or manual? Given that you have duplicate in media db means you need to take corrective measures. So list the volumes with mminfo or nsrjb and removed them from media database with nsrmm command. Then label them and things should work.
DavidHampson
2 Intern
•
1.1K Posts
0
March 28th, 2006 01:00
Take a look at where Networker thinks the tape is:
mminfo -q volume=name -r location
- ensure that it thinks it is in the library.
Try relabelling the tape from the command line with -vvv and see if the additional output gives us some more info:
nsrjb -vvv -S slot# -b pool
rflammer
10 Posts
0
March 28th, 2006 02:00
I had no problem that the tapes are wrong labeled.
pgolob
37 Posts
1
March 28th, 2006 02:00
ble1
4 Operator
•
14.4K Posts
1
March 28th, 2006 02:00
nsrjb: Error: Duplicate volume name `PAW530'. Select a new name or remove the original volume.
So, do nsrmm -dy PAW530 and then repeat your nsrjb command from above.
DavidHampson
2 Intern
•
1.1K Posts
0
March 28th, 2006 02:00
rflammer
10 Posts
0
March 28th, 2006 02:00
If I delete the tape from the media DB I don't have the problem.
ble1
4 Operator
•
14.4K Posts
0
March 28th, 2006 02:00
when the tape is marked to recycle.
No, that would be workaround. Solution would be to see what is causing such condition. For that you need to open a case so support can go through the history of your volumes, eventual crashes or maybe even bugs that may affect this.
ble1
4 Operator
•
14.4K Posts
0
March 28th, 2006 02:00
rflammer
10 Posts
0
March 28th, 2006 02:00
It can't be the solution to manualy delete the tapes, when the tape is marked to recycle.
Thanks.
rflammer
10 Posts
0
March 28th, 2006 02:00
Yes I know that there can only be one volume with the same id.
But this tape is the same tape with the same volid.
pgolob
37 Posts
0
March 28th, 2006 02:00
rflammer
10 Posts
0
March 28th, 2006 02:00
Yes we have the same Problem with the location field.
To your questions:
The mminfo brings the correct location of the tape.
The nsrjb command brings the correct messages:
nsrjb -L -j Site2_TL892_Unix -vvv -S 1 -b "Unix Backup Clone"
setting verbosity level to `3'
nsrjb: Info: Preparing to load volume `PAW530' from slot 1 into device `/dev/nst0'.
nsrjb: Info: Loading volume `PAW530' from slot `1' into device `/dev/nst0'.
nsrjb: Info: Load sleep for 5 seconds.
nsrjb: Info: Performing operation `Verify label' on device `/dev/nst0'.
Label `PAW530' is a valid NetWorker label. Overwrite it with a new label? yes
nsrjb: Info: Operation `Verify label' in progress on device `/dev/nst0'
nsrjb: Info: Performing operation `Label without mount' on device `/dev/nst0'.
nsrjb: Error: Duplicate volume name `PAW530'. Select a new name or remove the original volume.
nsrjb: Info: Operation `Label without mount' in progress on device `/dev/nst0'
nsrjb: Info: Label: `PAW530', pool: `Unix Backup Clone', capacity: ` '.
nsrjb: Info: Performing operation `Eject' on device `/dev/nst0'.
nsrjb: Info: Operation `Eject' in progress on device `/dev/nst0'
nsrjb: Info: Eject sleep for 5 seconds.
nsrjb: Info: Preparing to unload volume `PAW530' from device `/dev/nst0' to slot 1.
nsrjb: Info: Unloading volume `PAW530' from device `/dev/nst0' to slot 1.
nsrjb: Info: Unload sleep for 5 seconds.
nsrjb: error, Jukebox command terminated with errors.
Thanks
rwheeler1
3 Posts
0
April 18th, 2006 08:00