From: schuderfloss@netscape.net (Martin Brodie)
Subject: Re: Removing stale SCSI devices ..how?
Date: 29 Oct 2002 07:58:52 -0800 [thread overview]
Message-ID: <4bb16963.0210290758.26617c29@posting.google.com> (raw)
In-Reply-To: 4bb16963.0210220711.5ae2a1f7@posting.google.com
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)
prev parent reply other threads:[~2002-10-29 15:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox