Browse Community
Help
Log In
Responses(5)
Solutions(0)
lpamintuan
1 Rookie
•
41 Posts
0
November 5th, 2009 06:00
satishs
50 Posts
November 5th, 2009 08:00
MarcLewis
18 Posts
November 6th, 2009 02:00
jsallila
56 Posts
November 6th, 2009 04:00
pheikens
96 Posts
November 6th, 2009 06:00
Dell Support Resources
View All
Top
lpamintuan
1 Rookie
•
41 Posts
0
November 5th, 2009 06:00
nsrjb -LYRv -S 1-5
(L - label, Y - yes, R - relabel, v - verbose, S - slots to label/relabel).
If you are to label new tapes, you will need to specify a pool.
nsrjb -LYRv -S 1-5 -b Mypool
satishs
50 Posts
0
November 5th, 2009 08:00
nsrjb -L -Y -S 140-143 -b 'ALLNAS INCR' -f /dev/rmt/0cbn
( -b = pool name)
Of course you can check the device name from nsrwatch etc...
MarcLewis
18 Posts
0
November 6th, 2009 02:00
nsrjb -L -s BORIS -Y -b Monthly -S 1 EXTNOV09A
We have a couple of sites with single tape drives, will this command line work there as well?
jsallila
56 Posts
0
November 6th, 2009 04:00
for i in `cat slots.txt`
do
nsrjb -j jukebox -L -Y -b 'Filesystem' -S $i
if [ $? -ne 0 ]
then
echo "Operation unsuccesful"
exit 1
fi
done
You have to create file where there are list of slots to be labeled. In this case it is named slots.txt. One slot number/line.
This script can be used for other commands too. I have tested this for mminfo also when I have changed retention periods for large amount of savesets.
I don't know if this works on Windows. Propably not.
pheikens
96 Posts
0
November 6th, 2009 06:00
i.e nsrmm -l -b [-y] [-f /path/to/drive]
use -f as there is not only one device
use -y instead of -Y
Peter
Message was edited by:
Peter Heikens