vxfentsthdw fails when prior registration key exists on disk
If you attempt to use the vxfentsthdw
utility to test a disk that has a registration key already set, it will fail. If you suspect a key exists on the disk you plan to test, use the vxfenadm
-g
command to display it.
To display a key on a disk
Enter:
# vxfenadm -g
diskname
-
If the disk is not SCSI-3 compliant, an error is returned indicating:
Inappropriate
ioctl
for device
.
-
If you have a SCSI-3 compliant disk and no key exists, then the output resembles:
Reading SCSI Registration Keys...
Device Name: diskname
Total Number Of Keys: 0
No keys ...
Proceed to test the disk using the vxfentsthdw
utility. See Testing the disks using the vxfentsthdw script.
-
If keys exist, you must remove them before you test the disk. Refer to "Removing Existing Keys From Disks" in the next section.