General
1832577 Members
3069 Online
110043 Solutions
New Discussion

Re: SCSI reservation

 
SOLVED
Go to solution
Javier Martin-Lorente
Occasional Contributor

SCSI reservation

Hi,

I have a problem with SCSI reservation in a IBM ESS (shark). Is there any command in HP-UX to delete the SCSI reservations in a SAN storage?

thanks
1 REPLY 1
Mikko Niskanen_1
Frequent Advisor
Solution

Re: SCSI reservation

Aye, should go like this (from man scsictl):

"To clear persistent reservation from a device:

scsictl -p pr_clear key /dev/rdsk/c0t6d0"

scsimgr should also do the trick, first query what attributes are disabled:

scsimgr get_attr -D /dev/rdisk/disk1 -a disable_flags

SCSI ATTRIBUTES FOR LUN : /dev/rdisk/disk1

name = disable_flags
current = WCE
default = WCE
saved =

Then add 'PR' to these:

scsimgr set_attr -D /dev/rdisk/disk1 -a disable_flags='WCE PR'

WCE=write cache enable, PR=permanent reservation

Hope these help.