ADSM-L

Re: STK9740 + 3*DLT7000 : using all drives for labelling libvol

1999-03-19 11:37:25
Subject: Re: STK9740 + 3*DLT7000 : using all drives for labelling libvol
From: Steven P Roder <tkssteve AT REXX.ACSU.BUFFALO DOT EDU>
Date: Fri, 19 Mar 1999 11:37:25 -0500
> Any idea ?
>
> adsm > label libvolume DLT9740 SEARCH=Yes LABELS=Barcode CHECKIN=Scratch
> VOLRAnge=SP0000,SP00199

To use all of the drives, you have to use dsmlabel, which is used outside
of ADSM, and should be in the product's /bin directory:

(11:37am)[flotsam]{/opt/IBMadsm-s/bin}> dsmlabel

ADSTAR Distributed Storage Manager for Sun Solaris
Volume Label Utility Program
Version 3, Release 1, Level 2.0

Licensed Materials - Property of IBM

5639-B9300 (C) Copyright IBM Corporation 1994, 1998.  All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corporation.

ANR0900I Processing options file dsmserv.opt.
This program writes labels to storage volumes in preparation for using
them with the ADSM server.  It supports the following arguments:

  -drive=DEVICE[,ELEMENT] Specifies a drive to use, or
      or DEVICE,acsdrvid  specifies a 4 digit ACS drive id.
  -library=DEVICE         Specifies a library device to use,
       or  ACSLS,acsid    or specifies ACS id of a library device.
  -trace=TRACEFILE        Enable tracing to the specified file.
  -overwrite              Allows overwrite of an exiting label.
  -search                 Search library for volumes to label.
  -keep                   Keep labeled volumes in the library.
  -format                 Format media if media supports it.
  -barcode                use the barcode reader to select volumes.
  -help                   Display this information.

At most one library can be specified; if none is specified, you will
be prompted to manually load volumes.

At least one drive must be specified.  If the drive is in a SCSI
library, the drive's element address must be provided as well.
If the drive is in an ACS library, the 4 digit ACS drive id must be
specified, i.e. 0,0,2,1.
The maximum number of drives you can specify is 8.

When the -search argument is used, the program searches for all usable
volumes within the library and attempts to label them.  The -keep
option is forced on in this case, so all volumes remain in the library.
The -barcode option will cause the first six characters of the barcode
to be used as the volume label.


Steve (unVMix Systems Programmer/Dude) Roder
(tkssteve AT ubvm.cc.buffalo DOT edu | tkssteve AT acsu.buffalo DOT edu | 
(716)645-3564 ,
   | http://ubvm.cc.buffalo.edu/~tkssteve)
<Prev in Thread] Current Thread [Next in Thread>