System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

remove a stale storage path

Yaron Shmaria
Occasional Visitor

remove a stale storage path

Hello,
How can I remove an obsolete storage path, witch is shown as "stale" in the "hwmgr show scsi" output? for example:

# hwmgr -show scsi -full -id 240
...
BUS TARGET LUN PATH STATE
8 0 1 valid
8 1 1 stale
7 0 1 valid

thanks,
yaron
3 REPLIES
Venkatesh BL
Honored Contributor

Re: remove a stale storage path

Looks like its possible only for Tru64 5.1A PK4 and above. Check this:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=430956
Yaron Shmaria
Occasional Visitor

Re: remove a stale storage path

the article helped. unfortunately, it seems that mounted disks cannot be refreshed this way. They shoud be dismounted first.
thanks.
Harmanjit_1
Frequent Advisor

Re: remove a stale storage path

Hi,

To refresh mounted disk, you have to boot the system in single user mode and run the following commands.

1. get the SCSI device id (-DID) for device 240 from the hwmgr show scsi output. The second column in output after HWID. Lets say if second column in output (DID) is 376 then run command in step 2

HWID SCSI Device ID Hostname Device ........
240: 376 abc08 disk

2. Run

/sbin/hwmgr refresh scsi -did 376

This you can tryout online also in off-peak hours. I did it for my system with oracle where I was able to clear stale paths for some of the disk which are not being used heavily. If that disk will be in use it will give error as
"hwmgr: Error (95) Cannot start operation."
Then you have to do it in single user mode.