Re: [Networker] enable all drives with nsradmin
2005-11-11 14:30:46
On Fri, 2005-11-11 at 18:45 +0000, Raghava Karu wrote:
> How do I enable all tape drives with nsradmin which were in disabled mode.
To do this just run a query that will match all the drives with a common
attribute. If all the drives that you wish to enable have their 'enable'
attribute are set to 'no' then you can enable them all with:
nsradmin> . type: nsr device; enable: no
Current query set
nsradmin> update enable: yes
see the man page for nsr_devices for other attributes to select upon.
Have a good one.
Jason
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu
if you have any problems
wit this list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
|
|