Video Screencast Help
Protect Your POS Environment Against Retail Data Breaches. Learn More.

Delete DISK reservations type SCSI3_RESV_WRITEEXCLUSIVEREGISTRANTSONLY I can't import my disk groups

Created: 19 Sep 2012 • Updated: 01 Oct 2012 | 4 comments
This issue has been solved. See solution.

Hi to all I have two systems sistem12 and sistem13

I the night system12 the array controller broken and the sistem12 steels respoding to the ping..

We reboot the two machines, sistem12 are broken, and system13 are running well.

we start the cluster in onenode option, and runs but we can't import the groups of the system1 after of reboot.

I try to delete the keys from disk of sistem12 and ok

[root@sistem13 1]# vxfenadm -x -K "65,86,67,83,0,0,0,0" -f vxfen.out
VXFEN vxfenadm NOTICE DMP Deleted the key       : [AVCS] from device /dev/vx/rdmp/emc_clariion0_42
VXFEN vxfenadm NOTICE DMP Deleted the key       : [AVCS] from device /dev/vx/rdmp/emc_clariion0_43
VXFEN vxfenadm NOTICE DMP Deleted the key       : [AVCS] from device /dev/vx/rdmp/emc_clariion0_50
VXFEN vxfenadm NOTICE DMP Deleted the key       : [AVCS] from device /dev/vx/rdmp/emc_clariion0_51
VXFEN vxfenadm NOTICE DMP Deleted the key       : [AVCS] from device /dev/vx/rdmp/emc_clariion0_40
VXFEN vxfenadm NOTICE DMP Deleted the key       : [AVCS] from device /dev/vx/rdmp/emc_clariion0_41
VXFEN vxfenadm NOTICE DMP Deleted the key       : [AVCS] from device /dev/vx/rdmp/emc_clariion0_48
VXFEN vxfenadm NOTICE DMP Deleted the key       : [AVCS] from device /dev/vx/rdmp/emc_clariion0_49

But I can't PREEMPT_AND_ABORT

[root@sistem13 1]# vxfenadm -p -k EDU -f vxfen.out -v AVCS
VXFEN vxfenadm ERROR V-11-2-1214 DMP PREEMPT_AND_ABORT failed for: /dev/vx/rdmp/emc_clariion0_40
VXFEN vxfenadm ERROR V-11-2-1133 Error returned
VXFEN vxfenadm ERROR V-11-2-1214 DMP PREEMPT_AND_ABORT failed for: /dev/vx/rdmp/emc_clariion0_42
VXFEN vxfenadm ERROR V-11-2-1133 Error returned
VXFEN vxfenadm ERROR V-11-2-1214 DMP PREEMPT_AND_ABORT failed for: /dev/vx/rdmp/emc_clariion0_48
VXFEN vxfenadm ERROR V-11-2-1133 Error returned
VXFEN vxfenadm ERROR V-11-2-1214 DMP PREEMPT_AND_ABORT failed for: /dev/vx/rdmp/emc_clariion0_49
VXFEN vxfenadm ERROR V-11-2-1133 Error returned
VXFEN vxfenadm ERROR V-11-2-1214 DMP PREEMPT_AND_ABORT failed for: /dev/vx/rdmp/emc_clariion0_51
VXFEN vxfenadm ERROR V-11-2-1133 Error returned
VXFEN vxfenadm ERROR V-11-2-1214 DMP PREEMPT_AND_ABORT failed for: /dev/vx/rdmp/emc_clariion0_43
VXFEN vxfenadm ERROR V-11-2-1133 Error returned
VXFEN vxfenadm ERROR V-11-2-1214 DMP PREEMPT_AND_ABORT failed for: /dev/vx/rdmp/emc_clariion0_41
VXFEN vxfenadm ERROR V-11-2-1133 Error returned
VXFEN vxfenadm ERROR V-11-2-1214 DMP PREEMPT_AND_ABORT failed for: /dev/vx/rdmp/emc_clariion0_50
VXFEN vxfenadm ERROR V-11-2-1133 Error returned

and show the keys :(

[root@sistem13 1]# vxfenadm -r all -f vxfen.out

Device Name: /dev/vx/rdmp/emc_clariion0_43
Total Number Of Keys: 1
Key[0]:
        Reservation Type: SCSI3_RESV_WRITEEXCLUSIVEREGISTRANTSONLY
        Key Value [Numeric Format]:  65,86,67,83,0,0,0,0
        Key Value [Character Format]: AVCS

Device Name: /dev/vx/rdmp/emc_clariion0_42
Total Number Of Keys: 1
Key[0]:
        Reservation Type: SCSI3_RESV_WRITEEXCLUSIVEREGISTRANTSONLY
        Key Value [Numeric Format]:  65,86,67,83,0,0,0,0
        Key Value [Character Format]: AVCS

Device Name: /dev/vx/rdmp/emc_clariion0_40
Total Number Of Keys: 1
Key[0]:
        Reservation Type: SCSI3_RESV_WRITEEXCLUSIVEREGISTRANTSONLY
        Key Value [Numeric Format]:  65,86,67,83,0,0,0,0
        Key Value [Character Format]: AVCS

Device Name: /dev/vx/rdmp/emc_clariion0_41
Total Number Of Keys: 1
Key[0]:
        Reservation Type: SCSI3_RESV_WRITEEXCLUSIVEREGISTRANTSONLY
        Key Value [Numeric Format]:  65,86,67,83,0,0,0,0
        Key Value [Character Format]: AVCS

Device Name: /dev/vx/rdmp/emc_clariion0_48
Total Number Of Keys: 1
Key[0]:
        Reservation Type: SCSI3_RESV_WRITEEXCLUSIVEREGISTRANTSONLY
        Key Value [Numeric Format]:  65,86,67,83,0,0,0,0
        Key Value [Character Format]: AVCS

Device Name: /dev/vx/rdmp/emc_clariion0_50
Total Number Of Keys: 1
Key[0]:
        Reservation Type: SCSI3_RESV_WRITEEXCLUSIVEREGISTRANTSONLY
        Key Value [Numeric Format]:  65,86,67,83,0,0,0,0
        Key Value [Character Format]: AVCS

Device Name: /dev/vx/rdmp/emc_clariion0_52
Total Number Of Keys: 0
No keys...

Device Name: /dev/vx/rdmp/emc_clariion0_51
Total Number Of Keys: 1
Key[0]:
        Reservation Type: SCSI3_RESV_WRITEEXCLUSIVEREGISTRANTSONLY
        Key Value [Numeric Format]:  65,86,67,83,0,0,0,0
        Key Value [Character Format]: AVCS

Device Name: /dev/vx/rdmp/emc_clariion0_49
Total Number Of Keys: 1
Key[0]:
        Reservation Type: SCSI3_RESV_WRITEEXCLUSIVEREGISTRANTSONLY
        Key Value [Numeric Format]:  65,86,67,83,0,0,0,0
        Key Value [Character Format]: AVCS

and one vxdisk list show me that steel in sistem12 but I import the disk using:

vxdg --fC o clearreserve import vgoraovpi1e

But the system don't change the name of the disks¿¿¿ why??

[root@sistem13 1]# vxdisk list emc_clariion0_40
Device:    emc_clariion0_40
devicetag: emc_clariion0_40
type:      auto
hostid:    sistem13
disk:      name=vgoraovpi1e_d1 id=1341914006.37.sistem12
group:     name=vgoraovpi1e id=1341915277.83.sistem12
info:      format=cdsdisk,privoffset=256,pubslice=3,privslice=3
flags:     online ready private autoconfig noautoimport imported
pubpaths:  block=/dev/vx/dmp/emc_clariion0_40s3 char=/dev/vx/rdmp/emc_clariion0_40s3
guid:      -
udid:      DGC%5FRAID%205%5FCK200051700752%5F60060160CEF71400A0816E3E38B1E111
site:      -
version:   3.1
iosize:    min=512 (bytes) max=1024 (blocks)
public:    slice=3 offset=65792 len=838671792 disk_offset=0
private:   slice=3 offset=256 len=65536 disk_offset=0
update:    time=1348075087 seqno=0.239
ssb:       actual_seqno=0.0
headers:   0 240
configs:   count=1 len=51360
logs:      count=1 len=4096
Defined regions:
 config   priv 000048-000239[000192]: copy=01 offset=000000 enabled
 config   priv 000256-051423[051168]: copy=01 offset=000192 enabled
 log      priv 051424-055519[004096]: copy=01 offset=000000 enabled
 lockrgn  priv 055520-055663[000144]: part=00 offset=000000
Multipathing information:
numpaths:   4
sdal            state=enabled   type=secondary
sdbd            state=enabled   type=primary
sdb             state=enabled   type=secondary
sdt             state=enabled   type=primary

The data are ok, but I think that I can't delete the keys for this disk and if reboot i must remake again all the process..

any ideas?? to delete keys? Regards!!

Discussion Filed Under:

Comments 4 CommentsJump to latest comment

Gaurav Sangamnerkar's picture

Hi,

you are missing one step as I remember from the steps .... you can preampt & abort the keys using a temporary key ... meaning you have to register a temp key first & with the help of temp key you can preampt the key ..

My simple recommendation here would be to use "vxfenclearpre" command .... utility will do all of these steps for you & is simple to use ...

refer

https://sort.symantec.com/public/documents/sf/5.0/...

 

G

PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
 

David Wright 2's picture

Instructions for deleting keys can be found here:

https://sort.symantec.com/public/documents/sfha/6.0.1/solaris/productguides/html/sfhas_tshoot/ch14s09s03.htm

 

You either need to make sure to delete the key from the node that originally wrote it, or write your own temporary key. As the key you're deleting starts with 'A' it was written by node 0. Which is likely to be system12 (but you can check in file /etc/llthosts). 

If you can't delete the key from that node, then you first need to write your own temporary key. The preempt command you're running looks like it is trying to use temporary key 'EDU'. Write this temp key to the disks (with -m option) prior to running the preempt.

SOLUTION
ediaz's picture

Thanks for the awnser, I recover the node, and recreate the cluster, and will be enable to restore the reservice, Veritas VCS rocks :) thanks to all.