Veritas-bu

[Veritas-bu] Veritas NetBackup: How do you determine if tape is in use? + err or (52)

2001-12-18 12:07:52
Subject: [Veritas-bu] Veritas NetBackup: How do you determine if tape is in use? + err or (52)
From: d AT kla-tencor DOT com (Smith, David W (IT))
Date: Tue, 18 Dec 2001 09:07:52 -0800
Does anyone know how to determine if a specific tape is in use?

root:abby:/# vmoprcmd -h hellas -d ds

                                  DRIVE STATUS

Drv Type   Control  User      Label  RVSN    EVSN    Ready   Wr.Enbl.  ReqId
  0 hcart  DOWN-TLD             -                     No       -        -
  1 hcart    TLD                -                     No       -        -
  2 hcart    TLD                -                     No       -        -
  3 hcart    TLD                -                     No       -        -
  4 hcart    TLD                -                     No       -        -
  5 hcart    TLD                -                     No       -        -
  6 hcart    TLD                -                     No       -        -
  7 hcart    TLD                -                     No       -        -
  8 hcart    TLD                -                     No       -        -
  9 hcart    TLD                -                     No       -        -
 10 hcart    TLD                -                     No       -        -
 11 hcart    TLD    root       Yes   D00634  D00634   Yes     Yes        1
 12 hcart    TLD    root       No            V00313   Yes     Yes        0
 13 hcart    TLD    root       Yes   N00105  N00105   Yes     Yes        2
 14 hcart    TLD                -                     No       -        -
 15 hcart    TLD                -                     No       -        -
 16 hcart  DOWN-TLD             -                     No       -        -
 17 hcart  DOWN-TLD             -                     No       -        -
 18 hcart    TLD                -                     No       -        -
 19 hcart    TLD    root       Yes   D00640  D00640   Yes     Yes        1

If once I determine that nothing is using a tape, how does one remove it
from the drive, etc?

I'm concerned with tape D00634 and V00313, as these device file timestamps
are old:

# tpconfig -d: (truncated)
 11   Drive11                /dev/rmt/c5t1d0BESTnb    hcart    Yes       UP
        TLD(1) Definition       DRIVE=2
 12   Drive12                /dev/rmt/c20t2d1BESTnb   hcart    Yes       UP
        TLD(1) Definition       DRIVE=3

# ls -l  /dev/rmt/c5t1d0BESTnb
crw-------   2 root       bin        205 0x0510c0 Dec 13 14:50
/dev/rmt/c5t1d0BESTnb

# ls -l /dev/rmt/c20t2d1BEScrw-------   2 root       bin        205 0x1421c0
Dec 13 18:01 /dev/rmt/c20t2d1BESTnbTnb

I'm also getting a lot of error (52)s ("timed out waiting for media manager
to mount volume (52)".  I don't know if these are related or not.

Thanks,

 David W. Smith (David.W.Smith AT kla-tencor DOT com)
 KLA-Tencor Corporation
 Telephone: 408-875-6856 (direct)  408-571-2700 (fax)
 Pager    : 888-476-5501 (numeric) 0951038 AT pagenet DOT net (alpha)

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