02-12-2016 01:01 PM
I just unboxed some new tapes and added them to the robot. The rules that assign the media id when the tape is first inventoried are pretty general. I want to be more specific. Before I back anything up onto the new tape I want to manually set the media id.
The barcode of the new tape is 000058 and that is also the new media id. I want to change the media id to C00058. I assigned the tape to the proper volume pool - then went to the command line and typed in:
sudo ./bplabel -m 000058 -d hcart -o C00058
I get the error:
Error reported by media operation: resource request failed
What am I doing wrong? Is there a better way than bplabel to accomplish this?
Solved! Go to Solution.
02-12-2016 03:03 PM
Bruce - this forcing of media media labels to match content is soooooo not what NetBackup is about. NetBackup "Enterprise" is about auto-managing the abstraction between carrier, device, transport and content. Life will be so much easier to just let NetBackup use media whose ID and barcode and label all match. Just my 2 cents.
02-12-2016 01:26 PM
Use this syntax, after mounting the tape in a drive
bplabel -m MEDIA_ID -d DENSITY -o -p POOL_NAME -n DRIVE_NAME
02-12-2016 01:34 PM
Thanks for the quick reply - so is the pool_name and the drive_name required? Will it then prompt me for the new media ID?
02-12-2016 01:50 PM
02-12-2016 02:17 PM
I'm fine with leaving the media id and the barcode id the same - which is what our rules do. But my predessessor had it set up so that the media id on cumulative tapes are prefaced with C and Full backup tapes are prefaced with F and Archive are prefaced with AR - and the database backups have media id's that start with DB.
I don't really need to continue the tradition I suppose - My predessessor obviously went in and changed every tape - how did he do it?
02-12-2016 03:03 PM
Bruce - this forcing of media media labels to match content is soooooo not what NetBackup is about. NetBackup "Enterprise" is about auto-managing the abstraction between carrier, device, transport and content. Life will be so much easier to just let NetBackup use media whose ID and barcode and label all match. Just my 2 cents.
02-12-2016 09:44 PM
02-16-2016 10:36 AM
fair enough. Thanks for your help/advice.
02-16-2016 11:27 AM
Good luck with the conversion to what should be smoother operational procedures :) Fingers crossed for you.