cancel
Showing results for 
Search instead for 
Did you mean: 

can't "up drive" tapes in linux.

Pablo_Stani
Level 2

Hello all,

I have a serious issues with tape drives, I'm a rookie here so please any help would be really appreciated.

Based on whta I already got from previous discussions.

[root@netbackup01 bin]# tpconfig -d
Id  DriveName           Type   Residence
      Drive Path                                                       Status
****************************************************************************
1   IBM.ULTRIUM-HH5.001  hcart2 TLD(0)  DRIVE=3
      /dev/nst0                                                        DOWN
2   IBM.ULTRIUM-HH5.002  hcart2 TLD(0)  DRIVE=2
      /dev/nst1                                                        UP
3   IBM.ULTRIUM-HH5.003  hcart2 TLD(0)  DRIVE=6
      nrst1a (miafile03)                                               DOWN
4   IBM.ULTRIUM-HH5.004  hcart2 TLD(0)  DRIVE=10
      nrst0a (miafile03)                                               DOWN
5   IBM.ULTRIUM-HH5.005  hcart2 TLD(0)  DRIVE=7
      nrst2a (miafile02)                                               DOWN
6   IBM.ULTRIUM-HH5.006  hcart2 TLD(0)  DRIVE=8
      nrst1a (miafile02)                                               DOWN
7   IBM.ULTRIUM-HH5.007  hcart2 TLD(0)  DRIVE=9
      nrst0a (miafile02)                                               DOWN
8   IBM.ULTRIUM-HH5.008  hcart2 TLD(0)  DRIVE=1
      nrst3a (miafile02)                                               DOWN

Currently defined robotics are:
  TLD(0)     robotic path = /dev/sg3

[root@netbackup01 bin]# cat /proc/scsi/scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: ULTRIUM-HH5      Rev: E4J1
  Type:   Sequential-Access                ANSI  SCSI revision: 06
Host: scsi3 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: ULTRIUM-HH5      Rev: E6Q9
  Type:   Sequential-Access                ANSI  SCSI revision: 06
Host: scsi3 Channel: 00 Id: 01 Lun: 00
  Vendor: IBM      Model: ULTRIUM-HH5      Rev: E6Q9
  Type:   Sequential-Access                ANSI  SCSI revision: 06
Host: scsi3 Channel: 00 Id: 01 Lun: 01
  Vendor: SPECTRA  Model: PYTHON           Rev: 2000
  Type:   Medium Changer                   ANSI  SCSI revision: 03
Host: scsi4 Channel: 00 Id: 00 Lun: 00
  Vendor: HL-DT-ST Model: CDRW/DVD GCC4244 Rev: B101
  Type:   CD-ROM                           ANSI  SCSI revision: 05
Host: scsi8 Channel: 00 Id: 08 Lun: 00
  Vendor: DP       Model: BACKPLANE        Rev: 1.05
  Type:   Enclosure                        ANSI  SCSI revision: 05
Host: scsi8 Channel: 02 Id: 00 Lun: 00
  Vendor: DELL     Model: PERC 5/i         Rev: 1.03
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi8 Channel: 02 Id: 01 Lun: 00
  Vendor: DELL     Model: PERC 5/i         Rev: 1.03
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi6 Channel: 00 Id: 00 Lun: 00
  Vendor: Dell     Model: Virtual  CDROM   Rev: 123
  Type:   CD-ROM                           ANSI  SCSI revision: 00
Host: scsi7 Channel: 00 Id: 00 Lun: 00
  Vendor: Dell     Model: Virtual  Floppy  Rev: 123
  Type:   Direct-Access                    ANSI  SCSI revision: 00
 

[root@netbackup01 bin]# /usr/openv/volmgr/bin/scan
************************************************************
*********************** SDT_TAPE    ************************
*********************** SDT_CHANGER ************************
************************************************************
------------------------------------------------------------
Device Name  : "/dev/sg3"
Passthru Name: "/dev/sg3"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "SPECTRA PYTHON          2000"
Vendor ID  : "SPECTRA "
Product ID : "PYTHON          "
Product Rev: "2000"
Serial Number: "9214002018"
WWN          : ""
WWN Id Type  : 0
Device Identifier: "SPECTRA PYTHON          9214002018"
Device Type    : SDT_CHANGER
NetBackup Robot Type: 8
Removable      : Yes
Device Supports: SCSI-3
Number of Drives : 10
Number of Slots  : 120
Number of Media Access Ports: 1
Drive 1 Serial Number      : "1012002018"
Drive 2 Serial Number      : "1013002018"
Drive 3 Serial Number      : "1014002018"
Drive 4 Serial Number      : "1015002018"
Drive 5 Serial Number      : "1016002018"
Drive 6 Serial Number      : "1017002018"
Drive 7 Serial Number      : "1018002018"
Drive 8 Serial Number      : "1019002018"
Drive 9 Serial Number      : "101A002018"
Drive 10 Serial Number      : "101B002018"
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/nst2"
Passthru Name: "/dev/sg2"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "IBM     ULTRIUM-HH5     E6Q9"
Vendor ID  : "IBM     "
Product ID : "ULTRIUM-HH5     "
Product Rev: "E6Q9"
Serial Number: "1015002018"
WWN          : ""
WWN Id Type  : 0
Device Identifier: "IBM     ULTRIUM-HH5     1015002018"
Device Type    : SDT_TAPE
NetBackup Drive Type: 10
Removable      : Yes
Device Supports: SCSI-6
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/nst1"
Passthru Name: "/dev/sg1"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "IBM     ULTRIUM-HH5     E6Q9"
Vendor ID  : "IBM     "
Product ID : "ULTRIUM-HH5     "
Product Rev: "E6Q9"
Serial Number: "1013002018"
WWN          : ""
WWN Id Type  : 0
Device Identifier: "IBM     ULTRIUM-HH5     1013002018"
Device Type    : SDT_TAPE
NetBackup Drive Type: 10
Removable      : Yes
Device Supports: SCSI-6
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/nst0"
Passthru Name: "/dev/sg0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "IBM     ULTRIUM-HH5     E4J1"
Vendor ID  : "IBM     "
Product ID : "ULTRIUM-HH5     "
Product Rev: "E4J1"
Serial Number: "1014002018"
WWN          : ""
WWN Id Type  : 0
Device Identifier: "IBM     ULTRIUM-HH5     1014002018"
Device Type    : SDT_TAPE
NetBackup Drive Type: 10
Removable      : Yes
Device Supports: SCSI-6
Flags : 0x0
Reason: 0x0
[root@netbackup01 bin]#
 

 

e.g.

[root@netbackup01 bin]# /usr/openv/volmgr/bin/scsi_command -d /dev/nst0
Inquiry data: removable dev type 1h IBM     ULTRIUM-HH5     E4J1
[root@netbackup01 bin]# /usr/openv/volmgr/bin/scsi_command -d /dev/nst0
nst0   nst0a  nst0l  nst0m
[root@netbackup01 bin]# /usr/openv/volmgr/bin/scsi_command -d /dev/nst0a
Inquiry data: removable dev type 1h IBM     ULTRIUM-HH5     E4J1
 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified
Something wrong with device access between OS and tape drives : "Invalid request type in ProcessQueue (0) ... timed out after waiting 854 seconds for ready, drive 8" These errors look like there had been at least 3 I/O errors in the last 12 hours for this drive: "Operator/EMM server has DOWN'ed drive" You should involve SAN and OS team to troubleshoot. I suspect there are other errors in messages file and that you only posted snippets, right?

View solution in original post

4 REPLIES 4

Will_Restore
Level 6

to UP the drives try vmoprcmd command like this

vmoprcmd  -upbyname IBM.ULTRIUM-HH5.001  -path /dev/nst0

and

vmoprcmd  -upbyname IBM.ULTRIUM-HH5.003  -path nrst1a  -nh miafile03

 

 

 

 

Pablo_Stani
Level 2

Thanks,

I am using the below commands:

tpconfig -d
vmoprcmd -UP <tape #>

I have also find that most of the tape issues are related to NDMP policies connected to a NetApp filers.

the policies are 2 pass backups so they go from the filers straight to the tapes and I am still looking the reason why they are going down.

from /var/log/messages
 

Mar 17 17:26:47 netbackup02 snmpd[1890]: Connection from UDP: [10.10.53.50]:43429->[10.10.52.21]
Mar 17 17:27:07 netbackup02 snmpd[1890]: Connection from UDP: [10.10.53.50]:16138->[10.10.52.21]
Mar 17 17:27:13 netbackup02 snmpd[1890]: Connection from UDP: [10.10.53.50]:16138->[10.10.52.21]
Mar 17 17:27:16 netbackup02 ltid[25485]: Operator/EMM server has DOWN'ed drive IBM.ULTRIUM-HH5.008 (device 8)
Mar 17 17:27:18 netbackup02 ltid[25485]: Operator/EMM server has DOWN'ed drive IBM.ULTRIUM-HH5.007 (device 7)
Mar 17 17:27:19 netbackup02 ltid[25485]: Operator/EMM server has DOWN'ed drive IBM.ULTRIUM-HH5.009 (device 9)
Mar 17 17:27:20 netbackup02 ltid[25485]: Invalid request type in ProcessQueue (0)
Mar 17 17:27:20 netbackup02 ltid[25485]: Invalid request type in ProcessQueue (0)
Mar 17 17:27:21 netbackup02 ltid[25485]: Operator/EMM server has DOWN'ed drive IBM.ULTRIUM-HH5.009 (device 9)
Mar 17 17:27:31 netbackup02 tldd[16788]: TLD(0) [16788] timed out after waiting 854 seconds for ready, drive 8

 

 

Amol_Nair
Level 6
Employee
run the "tpautoconf -probe " command from the media server to check if all the ndmp drives r correctly listed.. you would also need to involve your filer admin to check the logs on the filer side and also to ensure that there is no intermittent connectivity issue between the Ndmp filer and the tape library.

Marianne
Level 6
Partner    VIP    Accredited Certified
Something wrong with device access between OS and tape drives : "Invalid request type in ProcessQueue (0) ... timed out after waiting 854 seconds for ready, drive 8" These errors look like there had been at least 3 I/O errors in the last 12 hours for this drive: "Operator/EMM server has DOWN'ed drive" You should involve SAN and OS team to troubleshoot. I suspect there are other errors in messages file and that you only posted snippets, right?