[Veritas-vx] SCSI3 persistent reservation keys and clearing themout.
Peter DrakeUnderkoffler
pcd at xinupro.com
Mon Jul 9 11:03:39 CDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
completely forgot about that layer. Unfortunately, just tried it and it
panics the system when I do an import of the disk group that the device
has the key still set on. Here is the output from the vxfenadm command, perhaps
it might shed some light...
vxfenadm -g all -f /etc/vxfen_disklist
Device Name: /dev/emcpoweraw
Total Number Of Keys: 1
key[0]:
Key Value [Numeric Format]: 65,86,67,83,0,0,0,0
Key Value [Character Format]: AVCS
Device Name: /dev/emcpowerav
Total Number Of Keys: 1
key[0]:
Key Value [Numeric Format]: 65,86,67,83,0,0,0,0
Key Value [Character Format]: AVCS
Device Name: /dev/emcpowerbv
Total Number Of Keys: 1
key[0]:
Key Value [Numeric Format]: 65,86,67,83,0,0,0,0
Key Value [Character Format]: AVCS
Device Name: /dev/emcpowerbw
Total Number Of Keys: 1
key[0]:
Key Value [Numeric Format]: 65,86,67,83,0,0,0,0
Key Value [Character Format]: AVCS
Whats wierd about these is that the key does use the null character (dec 0),
but when I create another key where I specify an ASCII key of 4 characters,
it pads it with the "-" (dec 45). But maybe VM and VCS write the key as null
specifically where as the null from the vxfenadm command uses "-".
Thanks
Peter
Peter DrakeUnderkoffler
Xinupro, LLC
617-834-2352
Jim Senicka wrote:
> If they are in a DG, do a vxdg import -o clearreserve or whatever the
> command line is?
>
> You should be able to kill the keys with an import
>
> -----Original Message-----
> From: Peter DrakeUnderkoffler [mailto:pcd at xinupro.com]
> Sent: Monday, July 09, 2007 11:22 AM
> To: Jim Senicka
> Cc: veritas-vx at mailman.eng.auburn.edu
> Subject: Re: [Veritas-vx] SCSI3 persistent reservation keys and clearing
> themout.
>
> data disks and just VM.
>
> Thanks
> Peter
>
> Peter DrakeUnderkoffler
> Xinupro, LLC
> 617-834-2352
>
>
>
> Jim Senicka wrote:
>
>>>Coordinator disks or data disks?
>>>Is this standard VM or CVM?
>>>
>>>
>>>-----Original Message-----
>>>From: veritas-vx-bounces at mailman.eng.auburn.edu
>>>[mailto:veritas-vx-bounces at mailman.eng.auburn.edu] On Behalf Of Peter
>>>DrakeUnderkoffler
>>>Sent: Monday, July 09, 2007 11:08 AM
>>>To: veritas-vx at mailman.eng.auburn.edu
>>>Subject: [Veritas-vx] SCSI3 persistent reservation keys and clearing
>>>themout.
>>>
>>>I have an environment where some tinkering was done and there are 4
>>>LUNs
>>>(DMX-3) which have SCSI3 keys in place that can not be removed. This
>>>is RedHat 4 update 4 32bit with SF HA 4.1 and MP4. There are two
>>>nodes in the cluster and the keys can not be cleared by either node.
>>>I've tried vxfenadm with both "-x" and "-p" along with the "-k" and
>>>the ASCII name as well as "-K" with the numerical name, but none work,
>
> I get a:
>
>>>VCS FEN vxfenadm ERROR V-11-2-1120 Unregistration FAILED for:
>>>/dev/emcpowerav VCS FEN vxfenadm ERROR V-11-2-1133 Error returned
>>>
>>>for each device. I have also tried the "vxfenclearpre" but that does
>>>not clear anything out.
>>>I have also tried disabling the SCSI3 setting on those devices within
>>>the DMX and then re-enabling them, but the keys remain persistent and
>>>only the capability is turned off/on.
>>>
>>>I have also tried the process of adding a key and then removing it
>>>preempting it with the new temp key.
>>>
>>>Is there another trick to removing defunct keys?
>>>
>>>Thanks
>>>Peter
>>>
>>>--
>>>
>>>Peter DrakeUnderkoffler
>>>Xinupro, LLC
>>>617-834-2352
>>>
>
> _______________________________________________
> Veritas-vx maillist - Veritas-vx at mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
iD8DBQFGklxbl+lekZRM55oRAhbGAJ4ybaWhU23gGp01mxBYH5PcPeOrwgCfQJtS
TuodNrl6skGYWsQcttwi6Es=
=uCkx
-----END PGP SIGNATURE-----
More information about the Veritas-vx
mailing list