ADSM-L

Re: What's wrong here

2001-03-21 16:03:15
Subject: Re: What's wrong here
From: Arshad Sheikh <amshaik70 AT HOTMAIL DOT COM>
Date: Wed, 21 Mar 2001 21:03:48 -0000
Here is what I got.

tsm: TSM>q devclass class8mm f=d

Device Class Name: CLASS8MM
Device Access Strategy: Sequential
Storage Pool Count: 1
Device Type: 8MM
Format: 8900
Est/Max Capacity (MB): 5,120.0
Mount Limit: DRIVES
Mount Wait (min): 60
Mount Retention (min): 10
Label Prefix: ADSM
Library: LIB8MM
Directory:
                  Server Name:
                 Retry Period:
               Retry Interval:
Last Update by (administrator): ADMIN
Last Update Date/Time: 03/20/01   16:34:14

tsm: TSM>backup db devclass=class8mm type=full
ANR2280I Full database backup started as process 9.
ANS8003I Process number 9 started.

tsm: TSM>q proc
ANR0944E QUERY PROCESS: No active processes found.
ANS8001I Return code 11.

tsm: TSM>q actlog begint=now-0:01

Date/Time            Message
--------------------
----------------------------------------------------------
----------------------------------------------------------
03/21/01   12:58:46  ANR2017I Administrator ADMIN issued command: BACKUP DB
03/21/01   12:58:46  ANR2017I Administrator ADMIN issued command: BACKUP DB
                     devclass=class8mm type=full
03/21/01   12:58:46  ANR0984I Process 9 for DATABASE BACKUP started in the
                     BACKGROUND at 12:58:46.
03/21/01   12:58:46  ANR2280I Full database backup started as process 9.
03/21/01   12:58:46  ANR8447E No drives are currently available in library
                     LIB8MM.
03/21/01   12:58:46  ANR1404W Scratch volume mount request denied - mount
                     failed.
03/21/01   12:58:46  ANR4578E Database backup/restore terminated - required
                     volume was not mounted.
03/21/01   12:58:46  ANR0985I Process 9 for DATABASE BACKUP running in the
                     BACKGROUND completed with completion state FAILURE at
                     12:58:46.
03/21/01   12:58:48  ANR2017I Administrator ADMIN issued command: QUERY
PROCESS

03/21/01   12:58:48  ANR0944E QUERY PROCESS: No active processes found.
03/21/01   12:58:48  ANR2017I Administrator ADMIN issued command: ROLLBACK


It seems like it doesn't find the drive however if I ran


tsm: TSM>q drive

Library Name  Drive Name    Device Type  Device            ON LINE
------------  ------------  -----------  ----------------
-------------------
-------------------
LIB8MM        DRV8MM        8MM          /dev/mt0          Yes
LIB8MM        DRV8MM        8MM          /dev/mt0          Yes

it shows that the drive is there. Am at loss again.

Arshad.



From: "Prather, Wanda" <Wanda.Prather AT JHUAPL DOT EDU>
Reply-To: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: What's wrong here
Date: Wed, 21 Mar 2001 14:54:19 -0500

The tape should be labelled, but not checked in.
Also check your DEVCLASS (q devclass class8mm f=d), make sure the
MOUNTLIMIT
is set to 1 or DRIVES.
Then take the tape OUT of the drive so TSM will see the drive is free.
Then issue your BACKUP DB command.
TSM will put a message in the ACTLOG (or the console, if you have one open)
telling you when to mount a scratch tape.
THEN put the tape in the drive.


-----Original Message-----
From: Arshad Sheikh [mailto:amshaik70 AT HOTMAIL DOT COM]
Sent: Wednesday, March 21, 2001 2:31 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: What's wrong here


Thanks for the reply.

But since its just a 8mm 5GB tape drive and not a library so I think I
can't
have any scratch volume, here is what I have got when I try to label a tape


tsm: TSM>label libvolume lib8mm tape01 checkin=scratch overwrite=yes
ANR8494E LABEL LIBVOLUME: An option specified is not valid for MANUAL
libraries.
ANS8001I Return code 3.



okay next I tried the same command without checkin=scratch statment and it
worked.


tsm: TSM>label libvolume lib8mm tape01 overwrite=yes
ANS8003I Process number 8 started.

tsm: TSM>q proc

Process Process Description  Status
  Number
-------- --------------------
------------------------------------------------
       8 LABEL LIBVOLUME      ANR8804I Labelling volume TAPE01 in library
                               LIB8MM.


tsm: TSM>q actlog begint=now-0:01

Date/Time            Message
--------------------
---------------------------------------------------------
03/21/01   11:29:16  ANR8372I 002: Remove 8MM volume TAPE01 from drive
DRV8MM
                      (/dev/mt0) of library LIB8MM.
03/21/01   11:29:16  ANR8800I LABEL LIBVOLUME for volume TAPE01 in library
                      LIB8MM completed successfully.
03/21/01   11:29:16  ANR0985I Process 8 for LABEL LIBVOLUME running in the
                      BACKGROUND completed with completion state SUCCESS
at
                      11:29:16.


Its a single tape drive attached to the system. How can I define scratch
volume for it. In stgpool I put maxscratch parameter as 10.

Arshad



>From: George Lesho <glesho AT AFCE DOT COM>
>Reply-To: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
>To: ADSM-L AT VM.MARIST DOT EDU
>Subject: Re: What's wrong here
>Date: Wed, 21 Mar 2001 13:06:11 -0600
>
>Arshad, It would seem that there are not scratch volumes available for
use
>as a
>db backup tape. Try the following select at your dsmadmc prompt  to
>identify how
>many scratch tapes are in your library:
>
>select count(*) as num_scratch_tapes from libvolumes where
status='Scratch'
>
>George Lesho
>Storage/System Admin
>AFC Enterprises
>
>
>
>
>
>Arshad Sheikh <amshaik70 AT HOTMAIL DOT COM> on 03/21/2001 11:32:14 AM
>
>Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
>
>To:   ADSM-L AT VM.MARIST DOT EDU
>cc:    (bcc: George Lesho/Partners/AFC)
>Fax to:
>Subject:  What's wrong here
>
>
>
>Hi there,
>
>I am a newbie so forgive my naiveness. I want to setup TSM 3.7 on a box
>with
>8mm drive, so I create a library, drive,devclass,stgpool and label my
>volume. I also created the domain,policyset,mgmtclass and copypool for
>backing up files and register the node in it.
>Now when I tried to do a db backup
>
>backup db devclass=c8mm type=full
>
>I got the following from actlog
>
>03/21/01   09:10:51  ANR2017I Administrator ADMIN issued command: BACKUP
DB
>                       devclass=class8mm type=full
>03/21/01   09:10:51  ANR0984I Process 6 for DATABASE BACKUP started in
the
>                       BACKGROUND at 09:10:51.
>03/21/01   09:10:51  ANR2280I Full database backup started as process 6.
>03/21/01   09:10:51  ANR8447E No drives are currently available in
library
>                       LIB8MM.
>03/21/01   09:10:51  ANR1404W Scratch volume mount request denied - mount
>                       failed.
>03/21/01   09:10:51  ANR4578E Database backup/restore terminated -
required
>                       volume was not mounted.
>03/21/01   09:10:51  ANR0985I Process 6 for DATABASE BACKUP running in
the
>                       BACKGROUND completed with completion state FAILURE
>at
>                       09:10:51.
>
>
>What I need to do to make it work, I already labeled the volume, its
>already
>inserted in the drive. What is wrong here?? Checkin volume command only
>works with automated libraries so I can't check in the volume.
>
>Any help is deeply appreciated.
>
>Arshad.
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
<Prev in Thread] Current Thread [Next in Thread>