Determing tape drive /dev from probe-scsi output: Notes: http://www.science.uva.nl/pub/solaris/solaris2.html#q3.18 from boot -s /usr/platform/sun4u/sbin/prtdiag -v rom prtdiag root@wsweb02:/usr/platform/sun4u/sbin# ./prtdiag -v System Configuration: Sun Microsystems sun4u Sun Enterprise 450 (2 X UltraSPARC-II 296MHz) System clock frequency: 99 MHz Memory size: 4096 Megabytes ========================= CPUs ========================= Run Ecache CPU CPU Brd CPU Module MHz MB Impl. Mask --- --- ------- ----- ------ ------ ---- SYS 1 1 296 2.0 US-II 2.0 SYS 3 3 296 2.0 US-II 2.0 ========================= Memory ========================= Memory Interleave Factor = 4-way Interlv. Socket Size Bank Group Name (MB) Status ---- ----- ------ ---- ------ 0 0 1901 256 OK 0 0 1902 256 OK 0 0 1903 256 OK 0 0 1904 256 OK 1 0 1801 256 OK 1 0 1802 256 OK 1 0 1803 256 OK 1 0 1804 256 OK 2 0 1701 256 OK 2 0 1702 256 OK 2 0 1703 256 OK 2 0 1704 256 OK 3 0 1601 256 OK 3 0 1602 256 OK 3 0 1603 256 OK 3 0 1604 256 OK ========================= IO Cards ========================= Bus Freq Brd Type MHz Slot Name Model --- ---- ---- ---- -------------------------------- ---------------------- SYS PCI 33 7 pciclass,001000 Symbios,53C875 SYS PCI 33 8 SUNW,m64B ATY,GT-B SYS PCI 33 9 pciclass,068000 SYS PCI 33 9 pci108e,1001 SUNW,cheerio SYS PCI 33 9 pciclass,010000 QLGC,ISP1040B No failures found in System =========================== ========================= Environmental Status ========================= System Temperatures (Celsius): ------------------------------ AMBIENT 13 CPU 1 40 CPU 3 40 ================================= Front Status Panel: ------------------- Keyswitch position is in On mode. System LED Status: POWER GENERAL ERROR ACTIVITY [ ON] [OFF] [ ON] DISK ERROR THERMAL ERROR POWER SUPPLY ERROR [OFF] [OFF] [OFF] Disk LED Status: OK = GREEN ERROR = YELLOW DISK 2: [OK] DISK 3: [OK] DISK 0: [OK] DISK 1: [OK] ================================= Fans: ----- Fan Bank Speed Status -------- ----- ------ CPU 31 OK PWR 31 OK Power Supplies: --------------- Supply Rating Temp Status ------ ------ ---- ------ 0 550 W 28 OK 1 550 W 29 OK 2 550 W 28 OK ========================= HW Revisions ========================= ASIC Revisions: --------------- STP2223BGA: Rev 4 STP2223BGA: Rev 4 STP2223BGA: Rev 4 STP2003QFP: Rev 1 STP2205BGA: Rev 1 FEPS: SUNW,hme Rev c1 System PROM revisions: ---------------------- OBP 3.12.3 1998/12/04 14:20 POST 6.0.8 1998/12/04 13:51 root@wsweb02:/usr/platform/sun4u/sbin# ls eeprom prtdiag root@wsweb02:/usr/platform/sun4u/sbin# root@wsweb02:/usr/platform/sun4u/sbin# root@wsweb02:/usr/platform/sun4u/sbin# root@wsweb02:/usr/platform/sun4u/sbin# ./prtdiag -h ./prtdiag: illegal option -- h prtdiag [ -v ] [ -l ] root@wsweb02:/usr/platform/sun4u/sbin# ./prtdiag -l root@wsweb02:/usr/platform/sun4u/sbin# ./prtdiag -v System Configuration: Sun Microsystems sun4u Sun Enterprise 450 (2 X UltraSPARC-II 296MHz) System clock frequency: 99 MHz Memory size: 4096 Megabytes ========================= CPUs ========================= Run Ecache CPU CPU Brd CPU Module MHz MB Impl. Mask --- --- ------- ----- ------ ------ ---- SYS 1 1 296 2.0 US-II 2.0 SYS 3 3 296 2.0 US-II 2.0 ========================= Memory ========================= Memory Interleave Factor = 4-way Interlv. Socket Size Bank Group Name (MB) Status ---- ----- ------ ---- ------ 0 0 1901 256 OK 0 0 1902 256 OK 0 0 1903 256 OK 0 0 1904 256 OK 1 0 1801 256 OK 1 0 1802 256 OK 1 0 1803 256 OK 1 0 1804 256 OK 2 0 1701 256 OK 2 0 1702 256 OK 2 0 1703 256 OK 2 0 1704 256 OK 3 0 1601 256 OK 3 0 1602 256 OK 3 0 1603 256 OK 3 0 1604 256 OK ========================= IO Cards ========================= Bus Freq Brd Type MHz Slot Name Model --- ---- ---- ---- -------------------------------- ---------------------- SYS PCI 33 7 pciclass,001000 Symbios,53C875 SYS PCI 33 8 SUNW,m64B ATY,GT-B SYS PCI 33 9 pciclass,068000 SYS PCI 33 9 pci108e,1001 SUNW,cheerio SYS PCI 33 9 pciclass,010000 QLGC,ISP1040B No failures found in System =========================== ========================= Environmental Status ========================= System Temperatures (Celsius): ------------------------------ AMBIENT 12 CPU 1 40 CPU 3 40 ================================= Front Status Panel: ------------------- Keyswitch position is in On mode. System LED Status: POWER GENERAL ERROR ACTIVITY [ ON] [OFF] [ ON] DISK ERROR THERMAL ERROR POWER SUPPLY ERROR [OFF] [OFF] [OFF] Disk LED Status: OK = GREEN ERROR = YELLOW DISK 2: [OK] DISK 3: [OK] DISK 0: [OK] DISK 1: [OK] ================================= Fans: ----- Fan Bank Speed Status -------- ----- ------ CPU 31 OK PWR 31 OK Power Supplies: --------------- Supply Rating Temp Status ------ ------ ---- ------ 0 550 W 28 OK 1 550 W 29 OK 2 550 W 28 OK ========================= HW Revisions ========================= ASIC Revisions: --------------- STP2223BGA: Rev 4 STP2223BGA: Rev 4 STP2223BGA: Rev 4 STP2003QFP: Rev 1 STP2205BGA: Rev 1 FEPS: SUNW,hme Rev c1 System PROM revisions: ---------------------- OBP 3.12.3 1998/12/04 14:20 POST 6.0.8 1998/12/04 13:51 root@wsweb02:/usr/platform/sun4u/sbin# root@wsweb02:/usr/platform/sun4u/sbin# {1} ok probe-scsi-all /pci@4,4000/scsi@4,1 Target 4 Unit 0 Disk Symbios StorEDGE A1000 0301 Unit 1 Device type 20 Symbios StorEDGE A1000 0301 Unit 2 Device type 20 Symbios StorEDGE A1000 0301 Unit 3 Device type 20 Symbios StorEDGE A1000 0301 Unit 4 Device type 20 Symbios StorEDGE A1000 0301 Unit 5 Device type 20 Symbios StorEDGE A1000 0301 Unit 6 Device type 20 Symbios StorEDGE A1000 0301 Unit 7 Device type 20 Symbios StorEDGE A1000 0301 /pci@4,4000/scsi@4 Target 5 Unit 0 Disk Symbios StorEDGE A1000 0205 Unit 1 Device type 20 Symbios StorEDGE A1000 0205 Unit 2 Device type 20 Symbios StorEDGE A1000 0205 Unit 3 Device type 20 Symbios StorEDGE A1000 0205 Unit 4 Device type 20 Symbios StorEDGE A1000 0205 Unit 5 Device type 20 Symbios StorEDGE A1000 0205 Unit 6 Device type 20 Symbios StorEDGE A1000 0205 Unit 7 Device type 20 Symbios StorEDGE A1000 0205 /pci@4,4000/pci@2/SUNW,isptwo@4 /pci@1f,4000/scsi@2 Target 6 Unit 0 Removable Read Only device TOSHIBA XM6201TASUN32XCD1103 /pci@1f,4000/scsi@3 Target 0 Unit 0 Disk IBM DDRS39130SUN9.0GS98E Target 1 Unit 0 Disk SEAGATE ST39173W SUN9.0G7863 Target 2 Unit 0 Disk SEAGATE ST39173W SUN9.0G7863 Target 3 Unit 0 Disk FUJITSU MAN3367M SUN36G 1804 Looking for "/pci@1f,4000/scsi@2" - target 6 Boot up Solaris # grep "/pci@1f,4000/scsi@2" /etc/path_to_inst | grep st "/pci@1f,4000/scsi@2/st@1,0" 15 "st" "/pci@1f,4000/scsi@2/st@0,0" 14 "st" "/pci@1f,4000/scsi@2/st@3,0" 17 "st" "/pci@1f,4000/scsi@2/st@2,0" 16 "st" "/pci@1f,4000/scsi@2/st@5,0" 19 "st" "/pci@1f,4000/scsi@2/st@4,0" 18 "st" "/pci@1f,4000/scsi@2/st@6,0" 20 "st" Since this is target 6 we want: /pci@1f,4000/scsi@2/st@6,0 if # find / -print | grep "st@6" comes back empty try # devfsadm -V if that does not turn up the drive root@wsweb02:/# devfsadm -C -v devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0: devfsadm[773]: verbose: removing file: /dev/rmt/0 devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:n devfsadm[773]: verbose: removing file: /dev/rmt/0n devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:b devfsadm[773]: verbose: removing file: /dev/rmt/0b devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:bn devfsadm[773]: verbose: removing file: /dev/rmt/0bn devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:l devfsadm[773]: verbose: removing file: /dev/rmt/0l devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:m devfsadm[773]: verbose: removing file: /dev/rmt/0m devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:h devfsadm[773]: verbose: removing file: /dev/rmt/0h devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:c devfsadm[773]: verbose: removing file: /dev/rmt/0c devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:u devfsadm[773]: verbose: removing file: /dev/rmt/0u devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:ln devfsadm[773]: verbose: removing file: /dev/rmt/0ln devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:mn devfsadm[773]: verbose: removing file: /dev/rmt/0mn devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:hn devfsadm[773]: verbose: removing file: /dev/rmt/0hn devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:cn devfsadm[773]: verbose: removing file: /dev/rmt/0cn devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:un devfsadm[773]: verbose: removing file: /dev/rmt/0un devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:lb devfsadm[773]: verbose: removing file: /dev/rmt/0lb devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:mb devfsadm[773]: verbose: removing file: /dev/rmt/0mb devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:hb devfsadm[773]: verbose: removing file: /dev/rmt/0hb devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:cb devfsadm[773]: verbose: removing file: /dev/rmt/0cb devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:ub devfsadm[773]: verbose: removing file: /dev/rmt/0ub devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:lbn devfsadm[773]: verbose: removing file: /dev/rmt/0lbn devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:mbn devfsadm[773]: verbose: removing file: /dev/rmt/0mbn devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:hbn devfsadm[773]: verbose: removing file: /dev/rmt/0hbn devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:cbn devfsadm[773]: verbose: removing file: /dev/rmt/0cbn devfsadm[773]: verbose: removing file: /devices/pci@1f,4000/scsi@2/st@5,0:ubn devfsadm[773]: verbose: removing file: /dev/rmt/0ubn # devfsadm -c tape -v If this still does not turn up a tape drive then: a) The drive is malfunctioning or a scsi conflict b) The drive is not conforming to normal scsi connotation {1} ok probe-scsi-all /pci@4,4000/scsi@4,1 Target 4 Unit 0 Disk Symbios StorEDGE A1000 0301 Unit 1 Device type 20 Symbios StorEDGE A1000 0301 Unit 2 Device type 20 Symbios StorEDGE A1000 0301 Unit 3 Device type 20 Symbios StorEDGE A1000 0301 Unit 4 Device type 20 Symbios StorEDGE A1000 0301 Unit 5 Device type 20 Symbios StorEDGE A1000 0301 Unit 6 Device type 20 Symbios StorEDGE A1000 0301 Unit 7 Device type 20 Symbios StorEDGE A1000 0301 /pci@4,4000/scsi@4 Target 5 Unit 0 Disk Symbios StorEDGE A1000 0205 Unit 1 Device type 20 Symbios StorEDGE A1000 0205 Unit 2 Device type 20 Symbios StorEDGE A1000 0205 Unit 3 Device type 20 Symbios StorEDGE A1000 0205 Unit 4 Device type 20 Symbios StorEDGE A1000 0205 Unit 5 Device type 20 Symbios StorEDGE A1000 0205 Unit 6 Device type 20 Symbios StorEDGE A1000 0205 Unit 7 Device type 20 Symbios StorEDGE A1000 0205 /pci@4,4000/pci@2/SUNW,isptwo@4 Target 5 Unit 0 Removable Tape SUN DLT7000 245F /pci@1f,4000/scsi@2 Target 6 Unit 0 Removable Read Only device TOSHIBA XM6201TASUN32XCD1103 /pci@1f,4000/scsi@3 Target 0 Unit 0 Disk IBM DDRS39130SUN9.0GS98E Target 1 Unit 0 Disk SEAGATE ST39173W SUN9.0G7863 Target 2 Unit 0 Disk SEAGATE ST39173W SUN9.0G7863 Target 3 Unit 0 Disk FUJITSU MAN3367M SUN36G 1804