Quantcast
Channel: Symantec Connect - Backup and Recovery - 讨论
Viewing all articles
Browse latest Browse all 3749

can't "up drive" tapes in linux.

$
0
0
我需要解决方案

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
 


Viewing all articles
Browse latest Browse all 3749

Trending Articles