Networker

Re: [Networker] enable all drives with nsradmin

2005-11-11 14:37:17
Subject: Re: [Networker] enable all drives with nsradmin
From: Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 11 Nov 2005 10:35:32 -0800
> How do I enable all tape drives with nsradmin which were in disabled mode . I 
> know only for single drive as follows .... 
> 
>  # nsradmin
>  nsradmin . type: nsr device; name: (device name)
>  nsradmin print
>  nsradmin update enabled: yes
>  update? Yes
>  nsradmin quit

You repeat it for all drives....

# nsradmin
nsradmin> . type: nsr device; enabled: no
nsradmin> update enabled: yes
update? yes
update? yes
update? yes

(or you run this non-interactively so there's no update prompts)

% printf ". type: nsr device; enabled: no\nupdate enabled: yes\n" | nsradmin -i 
-


-- 
Darren Dunham                                           ddunham AT taos DOT com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

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

<Prev in Thread] Current Thread [Next in Thread>