ADSM-L

Re: how to add tape to library?

2002-10-04 02:49:45
Subject: Re: how to add tape to library?
From: Raghu S <raghu AT COSMOS.DCMDS.CO DOT IN>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 3 Oct 2002 23:51:39 -0700
Hi Alex,


I usually do the following to add volumes to sequential storage pools
I use "define Volume" for random access storage pools.

to checkin as private

>checkin libvol libname search=bulk status=private checklabel=barcode

to label and checkin as scratch

>label libvol libname search=bulk checkin=scratch labelsource=barcode
overwrite=yes

Under what circumstances you use "define volume" to checkin sequential
volumes instead of "label and checkin " commands. If you use "define
volume" for this purpose , i think u shud update the status as

>update libvol libname volname status=private

Regards

Raghu S Nivas
Consultant - TSM
DCM Data Systems Ltd
New Delhi
India.

e-mail: raghu AT cosmos.dcmds.co DOT in,dearaghu AT rediffmail DOT com.






                    Alexander
                    Lazarevich                To:     ADSM-L AT VM.MARIST DOT 
EDU
                    <alazarev AT HERA DOT ITG        cc:
                    .UIUC.EDU>                Subject:     how to add tape to 
library?
                    Sent by: "ADSM:
                    Dist Stor Manager"
                    <[email protected].
                    EDU>


                    10/01/2002 07:39
                    AM
                    Please respond to
                    "ADSM: Dist Stor
                    Manager"





I am unable to add a new tape to the library, and I just can't figure out
what I'm doing wrong. Can someone give me some tips? We've got an IBM 3575
L18 tape library, runing adsm server 3.1 on an AIX 4.3.3 machine. Tape
library has 2 drives in it (/dev/rmt0, /dev/rmt1). We have one library
named ITG-3575. We've got several failed tapes in the libray and I must
replace them with new good ones. The new ones are coming right out of a
Magstar MP tape box which is brand spanking new. Here's the commands I
entered, and yes, ive moved all data off the tape first.

# move all data off the tape, the remove it.
adsm> checkout libvolume ITG-3575 xxxxxx checklabel=no
adsm> reply 001

# define new tape volume
adsm> define volume ITG-3575TAPE 311E98 ACCESS=READWrite

# put in the new tape volume
adsm> checkin libvolume ITG-3575 311E98 status=private
adsm> reply #

the first two stages seem to work, but when i try the third stage i get
the following error:

ANR8335I 015: Verifying label of 3570 volume 3121CF in drive TAPEDRIVE1
(/dev/rmt1).
ANR8353E 015: I/O error reading label of volume in drive TAPEDRIVE1
(/dev/rmt1).
ANR8786I 016: Remove 3570 volume from entry/exit port;   insert volume
3121CF R/W into entry/exit port of library ITG-3575 within 60 minute(s);
issue 'REPLY' along with the request ID when ready.

so i try it again and again and it tries verifying the tape in each of the
2 drives, but it never verifys so i just have to cancel the process. PAIN
IN THE ARS!!!

so, the messages manual says to make sure the tape is inserted correctly,
which it is, then make sure the volume has been labeled using the dsmlabel
command, which is wierd cause i though you only use that command on the
drives not on tapes???, and then it say to check if the DEVICE parameter
is correct on the DEFINE DRIVE command, which im pretty sure it is.

our library has been working for years, but ive just never needed to
replace tapes until now. so im pretty certain the drives work fine, i mean
we backup and restore data just fine, all the time. drives must be okay.
so i must be making some error in my commands to insert the new tape.

any ideas?

thanks in advance,

alex
---                                                        ---
   Alex Lazarevich | Systems | Imaging Technology Group
   alazarev AT itg.uiuc DOT edu | (217)244-1565 | www.itg.uiuc.edu
---                                                        ---

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