vxdisksetup errors on AIX with VxVM vxdisk ERROR V-5-1-5433 Device disk_1: init failed:

Article:TECH200521  |  Created: 2012-12-05  |  Updated: 2012-12-05  |  Article URL http://www.symantec.com/docs/TECH200521
Article Type
Technical Solution


Environment

Issue



Attempted to reinitialise a disk within Volume Manager using vxdisksetup on AIX 6.1


Error



 

# vxdisksetup -fi hdisk1

VxVM vxdisk ERROR V-5-1-5433 Device disk_1: init failed:

Attribute cannot be changed with a reinit


Environment



AIX 6.1TL5

Storage Foundation 6.0


Cause



The disk concerned still had an LVM header, as indicated by the following output:

 

 

 

# vxdisk list

DEVICE TYPE DISK GROUP STATUS

disk_0 auto:LVM - - LVM

disk_1 auto:LVM - - LVM <<<

 

# vxdisk -e list

DEVICE TYPE DISK GROUP STATUS OS_NATIVE_NAME ATTR

disk_0 auto:LVM - - LVM hdisk0 -

disk_1 auto:LVM - - LVM hdisk1 <<<


Solution



Since the disk wasn't being used actively by LVM, the header was cleared from the disk:

# chpv -C hdisk1
# vxdisksetup -fi hdisk1
 

The disk was then successfully reinitialised.




Article URL http://www.symantec.com/docs/TECH200521


Terms of use for this information are found in Legal Notices