Networker

Re: [Networker] What is the command to inventory using all available drives?

2002-11-28 02:42:18
Subject: Re: [Networker] What is the command to inventory using all available drives?
From: "Tarjei T. Jensen" <tarjei.jensen AT KVAERNER DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Thu, 28 Nov 2002 02:43:09 -0500
Brian Plume wrote:

>it's a command line command to use all drives to inventory all slots.

My nsr_inventory script works that way. It is included below. How to use:

nsr_inventory 153      # inventory slot 153
nsr_inventory 141-152  # inventory from slot 141 to 152

#!/bin/ksh
# nsr_inventory
#

if [ ! -z "$1" ]
then
   echo "Inventory of $1"
   nsrjb -I -S "$1"
else
   echo "Nothing to inventory"
   exit 3
fi

exit 0

greetings,

--
Note: To sign off this list, send a "signoff" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=