Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mounting / Inventory from comand line for loaders

Status
Not open for further replies.

lazyE

IS-IT--Management
Dec 4, 2003
8
AU
Hi there,

Anyone know a command line util that will mount / inventory slots on our auto loader here from the command line?

What is happening is that an operator will change tapes & place in a different slot & not run an inventory (grr). ARcServeIT (6.61) will then come up with a "Media Miscompare" error as it cannot find the tape...


Thanks, Elliott.
 
If device configuration quick initilization is enabled and if you stop and start tape engine from command line using csstop and csstart it will do the inventory.

 
Use chgtest. I don't have 6.61 installed so here is the internal help from the 10.5 version. Open a command box and change directory to the ARCserve home directory and then enter the command "chgtest > chgtest.txt" which will pipe the internal help into the text file. You need to do this because the version from 6.61 may be different that what is below. If you want you can use it as a Pre/Post command to a backup. Users of the current version need to use ca_dvmgr since chgtest and tapetest will not work as Pre/Post commands.

CHGTEST Utility
(c) Copyright 2002 Computer Associates International, Inc. and//or
its subsidiaries. All Rights Reserved.

USAGE: CHGTEST [options]

OPTIONS:
-v :- Changer Device Management Menu.
-d :- Display devices.
-c :- Display Changer Information.
-z :- For Zero based Changers.
-a :- To run a CHGTEST Erase/Format as an Pre/Post job.
-r :- Return Tape To Slot. Ex: changer:# drive:#

changer:<#> :- Changer Device Number.
drive:<#> :- Device number of Changer Tape Drive if needed.
startslot:<#> :- Starting slot if needed.(One based)
endslot:<#> :- Ending slot if needed.
startmag:<#> :- Starting magazine if needed.(Zero based)
endmag:<#> :- Ending magazine if needed.

inventory :- Ex: changer:# startslot:# endslot:#
erase :- Ex: changer:# startslot:# endslot:#
format :- Ex: changer:# startslot:# endslot:#
clean :- Ex: changer:# drive:#
mount :- Ex: changer:# startmag:# endmag:#
dismount :- Ex: changer:# startmag:# endmag:#
load :- Ex: changer:# drive:# startslot:#
unload :- Ex: changer:# drive:#
export :- Ex: changer:# startslot:# endslot:#

EXAMPLE: CHGTEST erase changer:3 startslot:0 endslot:3

C:\Program Files\CA\BrightStor Enterprise Backup>
 
Cheers guys - chgtest looks the goods. I'll give it a go.

Thanks very much,
Elliott.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top