Attempting to add a pvid to a lun in AIX's LVM leads to error "device busy error 0514-062" when running AIX's chdev command

book

Article ID: 100004315

calendar_today

Updated On:

Description

Error Message

A lun had been freed from Volume Manager by running a deport of the relevant diskgroup and a vxdisksetup on the lun. An attempt was made to add a pvid to the lun using LVM:

#chdev -l hdisk1 -a pv=yes

Method error (/usr/lib/methods/ucfgdevice):
0514-062 Cannot perform the requested function because the
specified device is busy.
 

 

Resolution

At the time, the lun was still visible at Volume Manager level:

# vxdisk list|grep hdisk30
hdisk30      auto:none       -            -            online invalid
 

An attempt was made to remove the lun from Volume Manager's view, and the original operation then completed:

# vxdisk rm hdisk30
# chdev -l hdisk30 -a pv=yes
hdisk30 changed

 

Applies To

AIX 5.3 and Storage Foundation 5.0MP3

Issue/Introduction

After a lun has been in use by Volume Manager, it is not possible to use it with AIX's LVM as the lun is shown as busy.