Pre-existing SCSI reservation keys prevent import of disk group

book

Article ID: 100004041

calendar_today

Updated On:

Resolution

First generate a device path list using following script:

-- for i in `vxdisk -o alldgs list | grep | awk '{print $1}'`;

    do

    path="`vxdisk list $i | grep state | awk '{print $1}'`"

   echo /dev/rdsk/$path done > disk.list 

 

Next check for keys using the following command:

# vxfenadm -r all -f disk.list | more

 

 If key registrations are observed, they can be cleared using the following command:

 

Device Name: /dev/rdsk/

Total Number Of Keys: 1

Key[0]:

Reservation Type: SCSI3_RESV_WRITEEXCLUSIVEREGISTRANTSONLY

Key Value [Numeric Format]: 66,80,71,82,48,48,48,50

Key Value [Character Format]: BPGR0002

 

# vxfenadm -a -K "66,80,71,82,48,48,48,50" -f disk.list

 

Use the Numeric Format Key Value shown in the "vxfenadm -r all" command as the -K value.

 

 

Issue/Introduction

Cannot import disk group on former cluster node system.