barcodes show up as -none-

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

barcodes show up as -none-

will.w
Here is what I am running right now thanks to Marks help.
x86_64 Oracle Linux 5.6 running Netbackup 7.1 with mhvtl.
device.conf
library_contents.30
mhvtl.conf

Once I hace added the library and my 4 tape drives into Netbackup I can not update the inventory, it lists -none- as the barcode is there anyway to get the barcodes to show up in Netbackup?

thanks
Will
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: barcodes show up as -none-

Mark Harvey
Can you please supply output of ..../volmgr/bin/scan

Also, output of
# mtx -f /dev/sgXX status
(where sgXX is the sg path to the robot/medium changer)

Cheers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: barcodes show up as -none-

will.w
]# mtx -f /dev/sg13 status
  Storage Changer /dev/sg13:4 Drives, 12 Slots ( 4 Import/Export )
Data Transfer Element 0:Empty
Data Transfer Element 1:Empty
Data Transfer Element 2:Empty
Data Transfer Element 3:Empty
      Storage Element 1:Full :VolumeTag=G03001L5                            
      Storage Element 2:Full :VolumeTag=G03002L5                            
      Storage Element 3:Full :VolumeTag=G03003L5                            
      Storage Element 4:Full :VolumeTag=G03004L5                            
      Storage Element 5:Full :VolumeTag=G03005L5                            
      Storage Element 6:Full :VolumeTag=G03006L5                            
      Storage Element 7:Full :VolumeTag=G03007L5                            
      Storage Element 8:Full :VolumeTag=G03008L5                            
      Storage Element 9 IMPORT/EXPORT:Empty
      Storage Element 10 IMPORT/EXPORT:Empty
      Storage Element 11 IMPORT/EXPORT:Empty
      Storage Element 12 IMPORT/EXPORT:Empty
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: barcodes show up as -none-

Mark Harvey
This doesn't make sense.

mtx & NBU robot inventory both use the same command.

If barcodes are returned via mtx it will be returned to NBU too.

I'd rerun the device config wizard and retry inventory after bouncing NBU daemons.

Cheers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: barcodes show up as -none-

will.w
I removed the robot and tape drives bounce the system in a complete reboot and then re-added the robot and tape drives.

On Mon, Dec 19, 2011 at 2:08 PM, Mark Harvey [via MHVTL - Linux Virtual Tape Library - Community Forums] <[hidden email]> wrote:
This doesn't make sense.

mtx & NBU robot inventory both use the same command.

If barcodes are returned via mtx it will be returned to NBU too.

I'd rerun the device config wizard and retry inventory after bouncing NBU daemons.

Cheers


To unsubscribe from barcodes show up as -none-, click here.
NAML

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: barcodes show up as -none-

Mark Harvey
will.w wrote
I removed the robot and tape drives bounce the system in a complete reboot and then re-added the robot and tape drives.
I assumed it didn't work.. I'm still interested in output of scan. Also output of echo 's s' | tldtest -r /dev/sgXX ( if not - r, try -d, I can't remember the switch off top of my head)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: barcodes show up as -none-

will.w
# echo 's s' | tldtest -r /dev/sg13
-bash: tldtest: command not found

do you think my nbu install is bad?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: barcodes show up as -none-

will.w
During install of Netbackup....

FATAL: Module sg not found.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: barcodes show up as -none-

Mark Harvey
In reply to this post by will.w
tldtest is in the volmgr/bin directory

Thinking about it, a "vmcheckxxx - rt tld - rn 0" (assuming robot #0)
would be good too
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: barcodes show up as -none-

Mark Harvey
In reply to this post by will.w
Most likely because sg driver already installed into kernel...

You would have to ask RedHat why failing to find sg module

Sent from my iPad

On Dec 20, 2011, at 9:55, "will.w [via MHVTL - Linux Virtual Tape Library - Community Forums]"<[hidden email]> wrote:

During install of Netbackup....

FATAL: Module sg not found.



To start a new topic under MHVTL - Linux Virtual Tape Library - Community Forums, email [hidden email]
To unsubscribe from MHVTL - Linux Virtual Tape Library - Community Forums, click here.
NAML
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: barcodes show up as -none-

will.w
In reply to this post by will.w
did we address this issue

# echo 's s' | tldtest -r /dev/sg13
bash: tldtest: command not found
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: barcodes show up as -none-

Mark Harvey
will.w wrote
did we address this issue

# echo 's s' | tldtest -r /dev/sg13
bash: tldtest: command not found
I thought so by this response.

Mark Harvey wrote
tldtest is in the volmgr/bin directory

Thinking about it, a "vmcheckxxx - rt tld - rn 0" (assuming robot #0)
would be good too
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: barcodes show up as -none-

will.w

#./vmcheckxxx -rt tld -rn 0
cannot connect to robotic software daemon (42)

#echo 's s' | ./tldtest -r /dev/sg13 
Opening /dev/sg13


On Tue, Dec 20, 2011 at 10:48 AM, Mark Harvey [via MHVTL - Linux Virtual Tape Library - Community Forums] <[hidden email]> wrote:
will.w wrote
did we address this issue

# echo 's s' | tldtest -r /dev/sg13
bash: tldtest: command not found
I thought so by this response.

Mark Harvey wrote
tldtest is in the volmgr/bin directory

Thinking about it, a "vmcheckxxx - rt tld - rn 0" (assuming robot #0)
would be good too



To unsubscribe from barcodes show up as -none-, click here.
NAML

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: barcodes show up as -none-

will.w
In reply to this post by Mark Harvey
I wiped out my settings in /etc/mhvtl let the program write the defaults in place and it works. I think I am just going to change the names of the Tapes and be done with this part.

On Tue, Dec 20, 2011 at 11:44 AM, Will W. <[hidden email]> wrote:

#./vmcheckxxx -rt tld -rn 0
cannot connect to robotic software daemon (42)

#echo 's s' | ./tldtest -r /dev/sg13 
Opening /dev/sg13


On Tue, Dec 20, 2011 at 10:48 AM, Mark Harvey [via MHVTL - Linux Virtual Tape Library - Community Forums] <[hidden email]> wrote:
will.w wrote
did we address this issue

# echo 's s' | tldtest -r /dev/sg13
bash: tldtest: command not found
I thought so by this response.

Mark Harvey wrote
tldtest is in the volmgr/bin directory

Thinking about it, a "vmcheckxxx - rt tld - rn 0" (assuming robot #0)
would be good too



To unsubscribe from barcodes show up as -none-, click here.
NAML


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: barcodes show up as -none-

Mark Harvey
Sorry this took so long to spot.. The data was in your original post.

Library: 30 CHANNEL: 00 TARGET: 08 LUN: 00
 Vendor identification: IBM
 Product identification: L700
 Unit serial number: XYZZY_B
 NAA: 30:22:33:44:ab:00:08:00


IBM do not make 'L700' libraries. Please change 'IBM' to 'STK'


This would have been highlighted by the 'volmgr/bin/scan' output - I didn't ask for that :(

Cheers
Loading...