Tape device 1cbn path not getting created

After we upgraded one PW450 machine from (networker 7.2 & solaris 9) to (networker 7.4 and solaris 10) through scratch installation

Only one of two HP tape drives is shown in inquire command
And we are getting strange logs in messages file (attached)
For 2nd drive 1cbn character specific file is absent.
But its patch is present in /etc/path_to_inst file

Any one has any idea how to solve this problem?

May 25 11:38:18 laho2b  <HP Ultrium>
May 25 11:38:27 laho2b scsi: [ID 193665 kern.info] sgen30 at fjulsa2: target 4 lun 0
May 25 11:38:27 laho2b genunix: [ID 936769 kern.info] sgen30 is /pci@80,2000/FJSV,ulsa@1/sgen@4,0
May 25 11:39:21 laho2b pseudo: [ID 129642 kern.info] pseudo-device: llc10
May 25 11:39:21 laho2b genunix: [ID 936769 kern.info] llc10 is /pseudo/llc1@0
May 25 11:39:21 laho2b pseudo: [ID 129642 kern.info] pseudo-device: fcp0
May 25 11:39:21 laho2b genunix: [ID 936769 kern.info] fcp0 is /pseudo/fcp@0
May 25 11:39:21 laho2b pseudo: [ID 129642 kern.info] pseudo-device: fcsm0
May 25 11:39:21 laho2b genunix: [ID 936769 kern.info] fcsm0 is /pseudo/fcsm@0
May 25 11:39:21 laho2b pseudo: [ID 129642 kern.info] pseudo-device: fbt0
May 25 11:39:21 laho2b genunix: [ID 936769 kern.info] fbt0 is /pseudo/fbt@0
May 25 11:39:21 laho2b pseudo: [ID 129642 kern.info] pseudo-device: profile0
May 25 11:39:21 laho2b genunix: [ID 936769 kern.info] profile0 is /pseudo/profile@0
May 25 11:39:21 laho2b pseudo: [ID 129642 kern.info] pseudo-device: systrace0
May 25 11:39:21 laho2b genunix: [ID 936769 kern.info] systrace0 is /pseudo/systrace@0
May 25 11:39:21 laho2b pseudo: [ID 129642 kern.info] pseudo-device: sdt0
May 25 11:39:21 laho2b genunix: [ID 936769 kern.info] sdt0 is /pseudo/sdt@0
May 25 11:39:21 laho2b pseudo: [ID 129642 kern.info] pseudo-device: winlock0
May 25 11:39:21 laho2b genunix: [ID 936769 kern.info] winlock0 is /pseudo/winlock@0
scsidev@3.3.0:HP      Ultrium 2-SCSI  S63U|Tape, /dev/rmt/0cbn
root@laho2b# ls -tlr /dev/rmt/0cbn
lrwxrwxrwx   1 root     root          48 May 20 16:00 /dev/rmt/0cbn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:cbn
root@laho2b# ls -tlr /dev/rmt/1cbn
/dev/rmt/1cbn: No such file or directory 

root@laho2b# cat /etc/path_to_inst|grep "pci@80,2000/FJSV,ulsa@1/st@3"
"/pci@80,2000/FJSV,ulsa@1/st@3,0" 3 "st"
root@laho2b# cat /etc/path_to_inst|grep "pci@80,2000/FJSV,ulsa@1/st@4"
"/pci@80,2000/FJSV,ulsa@1/st@4,0" 4 "st"
root@laho2b#



root@laho2b# cfgadm -al
Ap_Id                          Type         Receptacle   Occupant     Condition
c2                             scsi-bus     connected    configured   unknown
c2::dsk/c2t0d0                 CD-ROM       connected    configured   unknown
usb0/1                         unknown      empty        unconfigured ok
usb0/2                         unknown      empty        unconfigured ok

what's the output of "ls -l /dev/rmt/* "

did you try this command "devfsadm" ?

Yes i used devfsadm -v and i also rebooted system but problem was same.

I have just checked problem is resolved by itself :confused:
I don't know how ?
Can some one help investigate

Now 1cbn is shown

root@laho2b# ls -l /dev/rmt/* 
lrwxrwxrwx   1 root     root          45 May 20 16:00 /dev/rmt/0 -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:
lrwxrwxrwx   1 root     root          46 May 20 16:00 /dev/rmt/0b -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:b
lrwxrwxrwx   1 root     root          47 May 20 16:00 /dev/rmt/0bn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:bn
lrwxrwxrwx   1 root     root          46 May 20 16:00 /dev/rmt/0c -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:c
lrwxrwxrwx   1 root     root          47 May 20 16:00 /dev/rmt/0cb -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:cb
lrwxrwxrwx   1 root     root          48 May 20 16:00 /dev/rmt/0cbn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:cbn
lrwxrwxrwx   1 root     root          47 May 20 16:00 /dev/rmt/0cn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:cn
lrwxrwxrwx   1 root     root          46 May 20 16:00 /dev/rmt/0h -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:h
lrwxrwxrwx   1 root     root          47 May 20 16:00 /dev/rmt/0hb -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:hb
lrwxrwxrwx   1 root     root          48 May 20 16:00 /dev/rmt/0hbn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:hbn
lrwxrwxrwx   1 root     root          47 May 20 16:00 /dev/rmt/0hn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:hn
lrwxrwxrwx   1 root     root          46 May 20 16:00 /dev/rmt/0l -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:l
lrwxrwxrwx   1 root     root          47 May 20 16:00 /dev/rmt/0lb -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:lb
lrwxrwxrwx   1 root     root          48 May 20 16:00 /dev/rmt/0lbn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:lbn
lrwxrwxrwx   1 root     root          47 May 20 16:00 /dev/rmt/0ln -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:ln
lrwxrwxrwx   1 root     root          46 May 20 16:00 /dev/rmt/0m -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:m
lrwxrwxrwx   1 root     root          47 May 20 16:00 /dev/rmt/0mb -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:mb
lrwxrwxrwx   1 root     root          48 May 20 16:00 /dev/rmt/0mbn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:mbn
lrwxrwxrwx   1 root     root          47 May 20 16:00 /dev/rmt/0mn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:mn
lrwxrwxrwx   1 root     root          46 May 20 16:00 /dev/rmt/0n -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:n
lrwxrwxrwx   1 root     root          46 May 20 16:00 /dev/rmt/0u -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:u
lrwxrwxrwx   1 root     root          47 May 20 16:00 /dev/rmt/0ub -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:ub
lrwxrwxrwx   1 root     root          48 May 20 16:00 /dev/rmt/0ubn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:ubn
lrwxrwxrwx   1 root     root          47 May 20 16:00 /dev/rmt/0un -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@3,0:un
lrwxrwxrwx   1 root     root          45 May 25 11:39 /dev/rmt/1 -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:
lrwxrwxrwx   1 root     root          46 May 25 11:39 /dev/rmt/1b -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:b
lrwxrwxrwx   1 root     root          47 May 25 11:39 /dev/rmt/1bn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:bn
lrwxrwxrwx   1 root     root          46 May 25 11:39 /dev/rmt/1c -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:c
lrwxrwxrwx   1 root     root          47 May 25 11:39 /dev/rmt/1cb -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:cb
lrwxrwxrwx   1 root     root          48 May 25 11:39 /dev/rmt/1cbn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:cbn
lrwxrwxrwx   1 root     root          47 May 25 11:39 /dev/rmt/1cn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:cn
lrwxrwxrwx   1 root     root          46 May 25 11:39 /dev/rmt/1h -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:h
lrwxrwxrwx   1 root     root          47 May 25 11:39 /dev/rmt/1hb -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:hb
lrwxrwxrwx   1 root     root          48 May 25 11:39 /dev/rmt/1hbn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:hbn
lrwxrwxrwx   1 root     root          47 May 25 11:39 /dev/rmt/1hn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:hn
lrwxrwxrwx   1 root     root          46 May 25 11:39 /dev/rmt/1l -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:l
lrwxrwxrwx   1 root     root          47 May 25 11:39 /dev/rmt/1lb -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:lb
lrwxrwxrwx   1 root     root          48 May 25 11:39 /dev/rmt/1lbn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:lbn
lrwxrwxrwx   1 root     root          47 May 25 11:39 /dev/rmt/1ln -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:ln
lrwxrwxrwx   1 root     root          46 May 25 11:39 /dev/rmt/1m -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:m
lrwxrwxrwx   1 root     root          47 May 25 11:39 /dev/rmt/1mb -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:mb
lrwxrwxrwx   1 root     root          48 May 25 11:39 /dev/rmt/1mbn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:mbn
lrwxrwxrwx   1 root     root          47 May 25 11:39 /dev/rmt/1mn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:mn
lrwxrwxrwx   1 root     root          46 May 25 11:39 /dev/rmt/1n -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:n
lrwxrwxrwx   1 root     root          46 May 25 11:39 /dev/rmt/1u -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:u
lrwxrwxrwx   1 root     root          47 May 25 11:39 /dev/rmt/1ub -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:ub
lrwxrwxrwx   1 root     root          48 May 25 11:39 /dev/rmt/1ubn -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:ubn
lrwxrwxrwx   1 root     root          47 May 25 11:39 /dev/rmt/1un -> ../../devices/pci@80,2000/FJSV,ulsa@1/st@4,0:un

I don't know, it looks fine to me now. Maybe you didn't reboot after patching the system ?

It looks fine now :slight_smile:

i did reboot the system but this didn't solve problem

root@laho2b# last reboot
reboot    system boot                   Tue May 24 16:46 
reboot    system down                   Tue May 24 16:43 
reboot    system boot                   Mon May 23 16:46 
reboot    system down                   Mon May 23 16:43

After the problem was resolved automatically i checked messages and found scsi errors related to HP tape drive.
somehow drive was automatically registered due to some scsi error i guess :confused:

May 25 15:27:59 laho2b scsi: [ID 107833 kern.warning] WARNING: /pci@80,2000/FJSV,ulsa@1/st@3,0 (st3):
May 25 15:27:59 laho2b  Error for Command: read                    Error Level: Fatal
May 25 15:27:59 laho2b scsi: [ID 107833 kern.notice]    Requested Block: 0                         Error Block: 0
May 25 15:27:59 laho2b scsi: [ID 107833 kern.notice]    Vendor: HP                                 Serial Number:             
May 25 15:27:59 laho2b scsi: [ID 107833 kern.notice]    Sense Key: Media Error
May 25 15:27:59 laho2b scsi: [ID 107833 kern.notice]    ASC: 0x11 (unrecovered read error), ASCQ: 0x0, FRU: 0x0
May 25 15:28:00 laho2b FJSVmadm[15145]: [ID 384459 user.error] laho2b:FJSVmadm:A:PCI#00-PORT#0-ID#3:st:Device Error(Media Error) (DRIVE vendor
=HP, product=Ultrium 2-SCSI)
May 25 15:29:16 laho2b scsi: [ID 107833 kern.warning] WARNING: /pci@80,2000/FJSV,ulsa@1/st@3,0 (st3):
May 25 15:29:16 laho2b  Error for Command: read                    Error Level: Fatal
May 25 15:29:16 laho2b scsi: [ID 107833 kern.notice]    Requested Block: 0                         Error Block: 0
May 25 15:29:16 laho2b scsi: [ID 107833 kern.notice]    Vendor: HP                                 Serial Number:             
May 25 15:29:16 laho2b scsi: [ID 107833 kern.notice]    Sense Key: Media Error
May 25 15:29:16 laho2b scsi: [ID 107833 kern.notice]    ASC: 0x14 (recorded entity not found), ASCQ: 0x0, FRU: 0x0
May 25 15:49:38 laho2b scsi: [ID 107833 kern.warning] WARNING: /pci@80,2000/FJSV,ulsa@1/st@3,0 (st3):
May 25 15:49:38 laho2b  Error for Command: read                    Error Level: Fatal
May 25 15:49:38 laho2b scsi: [ID 107833 kern.notice]    Requested Block: 0                         Error Block: 0
May 25 15:49:38 laho2b scsi: [ID 107833 kern.notice]    Vendor: HP                                 Serial Number:             
May 25 15:49:38 laho2b scsi: [ID 107833 kern.notice]    Sense Key: Media Error
May 25 15:49:38 laho2b scsi: [ID 107833 kern.notice]    ASC: 0x11 (unrecovered read error), ASCQ: 0x0, FRU: 0x0