Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Removing stale SCSI devices ..how?
@ 2002-10-22 15:11 Martin Brodie
  2002-10-23  3:44 ` nax
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Martin Brodie @ 2002-10-22 15:11 UTC (permalink / raw)


get the following on startup

Oct 22 12:27:29 fred01 vmunix: cam_logger: SCSI event packet
Oct 22 12:27:29 fred01 vmunix: cam_logger: bus 2 target 3 lun 1 
Oct 22 12:27:29 fred01 vmunix: ccmn_path_ping3
Oct 22 12:27:29 fred01 vmunix: Path to device has been reduced
Oct 22 12:27:29 fred01 vmunix: Hard Error Detected
Oct 22 12:27:29 fred01 vmunix: COMPAQ  DLT8000         022B
Oct 22 12:27:29 fred01 vmunix: cam_logger: SCSI event packet
Oct 22 12:27:29 fred01 vmunix: cam_logger: bus 2 target 3 lun 4 
Oct 22 12:27:29 fred01 vmunix: ccmn_path_ping3
Oct 22 12:27:29 fred01 vmunix: Path to device has been reduced
Oct 22 12:27:29 fred01 vmunix: Hard Error Detected
Oct 22 12:27:29 fred01 vmunix: COMPAQ  DLT8000         022B
Oct 22 12:27:29 fred01 vmunix: cam_logger: SCSI event packet
Oct 22 12:27:29 fred01 vmunix: cam_logger: bus 2 target 3 lun 6 
Oct 22 12:27:29 fred01 vmunix: ccmn_path_ping3
Oct 22 12:27:29 fred01 vmunix: Path to device has been reduced
Oct 22 12:27:29 fred01 vmunix: Hard Error Detected
Oct 22 12:27:29 fred01 vmunix: COMPAQ  DLT8000         022B
Oct 22 12:27:29 fred01 vmunix: cam_logger: SCSI event packet
Oct 22 12:27:29 fred01 vmunix: cam_logger: bus 2 target 3 lun 5 
Oct 22 12:27:29 fred01 vmunix: ccmn_path_ping3
Oct 22 12:27:29 fred01 vmunix: Path to device has been reduced
Oct 22 12:27:29 fred01 vmunix: Hard Error Detected
Oct 22 12:27:29 fred01 vmunix: COMPAQ  DLT8000         022B

It appears I have some stale SCSI paths to several tape devices.
# hwmgr -show scsi -full | egrep stale
proves this

Those with stale paths have a valid path.

How do i go about removing these as it looks severe to anyone else.


TIA Martin

info: Compaq Tru64 UNIX V5.1 (Rev. 732) (patch kit 5)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Removing stale SCSI devices ..how?
  2002-10-22 15:11 Removing stale SCSI devices ..how? Martin Brodie
@ 2002-10-23  3:44 ` nax
  2002-10-24  7:32 ` Johan Brusche
  2002-10-29 15:58 ` Martin Brodie
  2 siblings, 0 replies; 4+ messages in thread
From: nax @ 2002-10-23  3:44 UTC (permalink / raw)


This is a known problem with Tru64 Unix. You can try two things

1. hwmmgr scsi -delete -did 'hwid' (the command is something like this)

I'm not sure if I have the syntax correct , type hwmgr -help and
then see. This may not work sometimes.

2. Reboot the machine. (best way)

Sometimes  the 'hard error detected' msg is caused by bad hardware.


Martin Brodie wrote:
> get the following on startup
> 
> Oct 22 12:27:29 fred01 vmunix: cam_logger: SCSI event packet
> Oct 22 12:27:29 fred01 vmunix: cam_logger: bus 2 target 3 lun 1 
> Oct 22 12:27:29 fred01 vmunix: ccmn_path_ping3
> Oct 22 12:27:29 fred01 vmunix: Path to device has been reduced
> Oct 22 12:27:29 fred01 vmunix: Hard Error Detected
> Oct 22 12:27:29 fred01 vmunix: COMPAQ  DLT8000         022B
> Oct 22 12:27:29 fred01 vmunix: cam_logger: SCSI event packet
> Oct 22 12:27:29 fred01 vmunix: cam_logger: bus 2 target 3 lun 4 
> Oct 22 12:27:29 fred01 vmunix: ccmn_path_ping3
> Oct 22 12:27:29 fred01 vmunix: Path to device has been reduced
> Oct 22 12:27:29 fred01 vmunix: Hard Error Detected
> Oct 22 12:27:29 fred01 vmunix: COMPAQ  DLT8000         022B
> Oct 22 12:27:29 fred01 vmunix: cam_logger: SCSI event packet
> Oct 22 12:27:29 fred01 vmunix: cam_logger: bus 2 target 3 lun 6 
> Oct 22 12:27:29 fred01 vmunix: ccmn_path_ping3
> Oct 22 12:27:29 fred01 vmunix: Path to device has been reduced
> Oct 22 12:27:29 fred01 vmunix: Hard Error Detected
> Oct 22 12:27:29 fred01 vmunix: COMPAQ  DLT8000         022B
> Oct 22 12:27:29 fred01 vmunix: cam_logger: SCSI event packet
> Oct 22 12:27:29 fred01 vmunix: cam_logger: bus 2 target 3 lun 5 
> Oct 22 12:27:29 fred01 vmunix: ccmn_path_ping3
> Oct 22 12:27:29 fred01 vmunix: Path to device has been reduced
> Oct 22 12:27:29 fred01 vmunix: Hard Error Detected
> Oct 22 12:27:29 fred01 vmunix: COMPAQ  DLT8000         022B
> 
> It appears I have some stale SCSI paths to several tape devices.
> # hwmgr -show scsi -full | egrep stale
> proves this
> 
> Those with stale paths have a valid path.
> 
> How do i go about removing these as it looks severe to anyone else.
> 
> 
> TIA Martin
> 
> info: Compaq Tru64 UNIX V5.1 (Rev. 732) (patch kit 5)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Removing stale SCSI devices ..how?
  2002-10-22 15:11 Removing stale SCSI devices ..how? Martin Brodie
  2002-10-23  3:44 ` nax
@ 2002-10-24  7:32 ` Johan Brusche
  2002-10-29 15:58 ` Martin Brodie
  2 siblings, 0 replies; 4+ messages in thread
From: Johan Brusche @ 2002-10-24  7:32 UTC (permalink / raw)


Usually a DLT tape-drive has only one TARGET/LUN,
In your output the DLT with target 3 on bus 2 seems to have
multiple LUN's
This points to either a HW prob, or a SCSI target conflict on bus 2
ie multiple devices having same target-id.

Johan.

"Martin Brodie" <schuderfloss@netscape.net> schreef in bericht
news:4bb16963.0210220711.5ae2a1f7@posting.google.com...
> get the following on startup
>
> Oct 22 12:27:29 fred01 vmunix: cam_logger: SCSI event packet
> Oct 22 12:27:29 fred01 vmunix: cam_logger: bus 2 target 3 lun 1
> Oct 22 12:27:29 fred01 vmunix: ccmn_path_ping3
> Oct 22 12:27:29 fred01 vmunix: Path to device has been reduced
> Oct 22 12:27:29 fred01 vmunix: Hard Error Detected
> Oct 22 12:27:29 fred01 vmunix: COMPAQ  DLT8000         022B
> Oct 22 12:27:29 fred01 vmunix: cam_logger: SCSI event packet
> Oct 22 12:27:29 fred01 vmunix: cam_logger: bus 2 target 3 lun 4
> Oct 22 12:27:29 fred01 vmunix: ccmn_path_ping3
> Oct 22 12:27:29 fred01 vmunix: Path to device has been reduced
> Oct 22 12:27:29 fred01 vmunix: Hard Error Detected
> Oct 22 12:27:29 fred01 vmunix: COMPAQ  DLT8000         022B
> Oct 22 12:27:29 fred01 vmunix: cam_logger: SCSI event packet
> Oct 22 12:27:29 fred01 vmunix: cam_logger: bus 2 target 3 lun 6
> Oct 22 12:27:29 fred01 vmunix: ccmn_path_ping3
> Oct 22 12:27:29 fred01 vmunix: Path to device has been reduced
> Oct 22 12:27:29 fred01 vmunix: Hard Error Detected
> Oct 22 12:27:29 fred01 vmunix: COMPAQ  DLT8000         022B
> Oct 22 12:27:29 fred01 vmunix: cam_logger: SCSI event packet
> Oct 22 12:27:29 fred01 vmunix: cam_logger: bus 2 target 3 lun 5
> Oct 22 12:27:29 fred01 vmunix: ccmn_path_ping3
> Oct 22 12:27:29 fred01 vmunix: Path to device has been reduced
> Oct 22 12:27:29 fred01 vmunix: Hard Error Detected
> Oct 22 12:27:29 fred01 vmunix: COMPAQ  DLT8000         022B
>
> It appears I have some stale SCSI paths to several tape devices.
> # hwmgr -show scsi -full | egrep stale
> proves this
>
> Those with stale paths have a valid path.
>
> How do i go about removing these as it looks severe to anyone else.
>
>
> TIA Martin
>
> info: Compaq Tru64 UNIX V5.1 (Rev. 732) (patch kit 5)




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Removing stale SCSI devices ..how?
  2002-10-22 15:11 Removing stale SCSI devices ..how? Martin Brodie
  2002-10-23  3:44 ` nax
  2002-10-24  7:32 ` Johan Brusche
@ 2002-10-29 15:58 ` Martin Brodie
  2 siblings, 0 replies; 4+ messages in thread
From: Martin Brodie @ 2002-10-29 15:58 UTC (permalink / raw)


Have got rid of the stale paths/device references by deleting the
whole device then rescanning for it and moving the device special
files back to that device name.

(take note of the SCSI DEVICEID and DEVICE FILE name with more than
one NUM PATH):->
# hwmgr -show scsi -type tape

(delete the device from the hardware manager and its associated device
files):->
# hwmgr -del scsi -did 48

(rescan scsi bus's for any 'new'devices):->
# hwmgr -scan scsi

(a new DEVICE FILE will have appeared in the list of scsi tape
devices)
# hwmgr -show scsi -type tape

(move the DEVICE FILE name to the previously deleted one)
# dsfmgr -m tape33 tape1

Performed the above for each stale path device.

This has done the job of removing the stale PATHS. Pity you have to
delete the whole device to get rid, then re-add it.

Thanks for the help
Marty

schuderfloss@netscape.net (Martin Brodie) wrote in message news:<4bb16963.0210220711.5ae2a1f7@posting.google.com>...
> get the following on startup
> 
> Oct 22 12:27:29 fred01 vmunix: cam_logger: SCSI event packet
> Oct 22 12:27:29 fred01 vmunix: cam_logger: bus 2 target 3 lun 1 
> Oct 22 12:27:29 fred01 vmunix: ccmn_path_ping3
> Oct 22 12:27:29 fred01 vmunix: Path to device has been reduced
> Oct 22 12:27:29 fred01 vmunix: Hard Error Detected
> Oct 22 12:27:29 fred01 vmunix: COMPAQ  DLT8000         022B
> Oct 22 12:27:29 fred01 vmunix: cam_logger: SCSI event packet
> Oct 22 12:27:29 fred01 vmunix: cam_logger: bus 2 target 3 lun 4 
> Oct 22 12:27:29 fred01 vmunix: ccmn_path_ping3
> Oct 22 12:27:29 fred01 vmunix: Path to device has been reduced
> Oct 22 12:27:29 fred01 vmunix: Hard Error Detected
> Oct 22 12:27:29 fred01 vmunix: COMPAQ  DLT8000         022B
> Oct 22 12:27:29 fred01 vmunix: cam_logger: SCSI event packet
> Oct 22 12:27:29 fred01 vmunix: cam_logger: bus 2 target 3 lun 6 
> Oct 22 12:27:29 fred01 vmunix: ccmn_path_ping3
> Oct 22 12:27:29 fred01 vmunix: Path to device has been reduced
> Oct 22 12:27:29 fred01 vmunix: Hard Error Detected
> Oct 22 12:27:29 fred01 vmunix: COMPAQ  DLT8000         022B
> Oct 22 12:27:29 fred01 vmunix: cam_logger: SCSI event packet
> Oct 22 12:27:29 fred01 vmunix: cam_logger: bus 2 target 3 lun 5 
> Oct 22 12:27:29 fred01 vmunix: ccmn_path_ping3
> Oct 22 12:27:29 fred01 vmunix: Path to device has been reduced
> Oct 22 12:27:29 fred01 vmunix: Hard Error Detected
> Oct 22 12:27:29 fred01 vmunix: COMPAQ  DLT8000         022B
> 
> It appears I have some stale SCSI paths to several tape devices.
> # hwmgr -show scsi -full | egrep stale
> proves this
> 
> Those with stale paths have a valid path.
> 
> How do i go about removing these as it looks severe to anyone else.
> 
> 
> TIA Martin
> 
> info: Compaq Tru64 UNIX V5.1 (Rev. 732) (patch kit 5)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-29 15:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-22 15:11 Removing stale SCSI devices ..how? Martin Brodie
2002-10-23  3:44 ` nax
2002-10-24  7:32 ` Johan Brusche
2002-10-29 15:58 ` Martin Brodie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox