09-15-2013 11:54 PM
can i use below robtest commands to move tapes from slot 1 to slot 3?
and from cap slots to drive?
m s1 s3
m p2 d1
Solved! Go to Solution.
09-15-2013 11:56 PM
Yes you can. Try it (but make sure no backups are running as robtest takes access away from Netbackup whilst you are running it).
09-15-2013 11:56 PM
Yes you can. Try it (but make sure no backups are running as robtest takes access away from Netbackup whilst you are running it).
09-16-2013 01:25 AM
hi revaroo,
Just a small doubt.
I am getting below error while unloading media.
after this I have to run m d11 s23 ?
unload d8
Opening /dev/rtape/tape78_BESTnb, on the local host, please wait...
Error - cannot open /dev/rtape/tape78_BESTnb (No such device or address)
unload d11
Opening /dev/rtape/tape81_BESTnb, on the local host, please wait...
Error - cannot open /dev/rtape/tape81_BESTnb (Device busy)
09-16-2013 01:30 AM
09-16-2013 01:38 AM
tapes can be moved from slot to slot?
tapes can be moved from CAP to drive?
why I am getting unload error?
09-16-2013 01:52 AM
09-16-2013 01:54 AM
Unload is a tape drive command which causes it to be re-wound and popped from the drive
This will often also make the robot out the tape back to the slot it came from
You do not normally need to use the unload command - just m d11 s23 should be enough
A s s will probably show that the tape is already back in s23 by the tome you ran the next command
Only use unload if a tape is stuck in the drive - otherwise just use the m commands
09-16-2013 02:10 AM
Thanks Mark,
I just need to know whether I can move tape from CAP to drive?
09-16-2013 02:14 AM
It would be robot dependant - robtest only sends a scsi command, if the robot allows it is outside of robtest.
You will have to try it and see.
The unload error: (eg)
Error - cannot open /dev/rtape/tape81_BESTnb (Device busy)
Would appear to be because you are trying to unload a drive that is busy.
09-16-2013 02:14 AM
I cannot see why not - but NetBackup will be totally unaware of this movement other than possibly reading the tape header when it arrives in the drive - so you do need to put it into a slot and run the inventory at some point
09-16-2013 02:19 AM
it did.
MOVE_MEDIUM complete
m p2 d2
Initiating MOVE_MEDIUM from address 11 to 501
MOVE_MEDIUM complete
09-16-2013 03:04 AM
shash,
You can normally move from d d or s d or d s or s s, as mentioned. NetBackup won't know about the changes. You'd have to re-inventory for it to pick up the changes.
Again - not sure why you want to do this. It's only useful if you are having issues with mount/unmount, to test the robot is not having issues.