How to clear the pvid on disk that was under LVM control so that it can be brought under VxVM control

book

Article ID: 100019274

calendar_today

Updated On:

Resolution

The pvid can be cleared on the disk by using the 'chpv -C' command.
 
For example:
 
# vxdisk -o alldgs list
DEVICE TYPE  DISK GROUP STATUS
hdisk2  auto:none - - online invalid
hdisk3  auto:none - - online invalid
hdisk4  auto:none - - online invalid
hdisk5  auto:LVM - - LVM
 
In order to clear to pvid on hdisk5, the following commands would need to be run:
 
# chpv -C hdisk5
# vxdctl enable
 
# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
hdisk2  auto:none - - online invalid
hdisk3  auto:none - - online invalid
hdisk4  auto:none - - online invalid
hdisk5  auto:none - - online invalid
 
 
 

 

Issue/Introduction

How to clear the pvid on disk that was under LVM control so that it can be brought under VxVM control