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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to enable a drive in Legato

Status
Not open for further replies.

jayvo

MIS
May 24, 2001
27
US
We are having weird issues with our jukeboxes and now we have drives that are diabled. I know how to enable then im the GUI using Administrator tools but how can I enable the drives on command line. I am running this on a Solaris based Sun server. Please help. We have both drives not diabled on our jukebox. Thanks.

jayvo
 
You can use nsradmin, the command line administrative program for NetWorker. See the man page for nsradmin for details on usage.
 
The script I use is rather larger and more complex, but this snippet should give you the gist

[tt]QUERY="name: \"${DEVICE}\";"
rm /tmp/${TMP} 2>/dev/null
echo ". ${QUERY}" >> ${TMP}
echo "update enabled: Yes" >> ${TMP}
nsradmin -i ${TMP} >/dev/null
rm ${TMP} 2>/dev/null[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top