Search This Blog

Thursday, June 20, 2013

pvremove: The physical volume "/dev/rdsk/" belongs to an exported volume group.

If you're sure the PV doesn't belong to VG, then do: # pvcreate -f /dev/rdsk/c23t8d6# pvremove /dev/rdsk/c23t8d6... this should cleanup the header and next time when assigning this LUN to VG it won't be necessary to use force option.


indhost:/#pvremove /dev/rdsk/c23t8d6
pvremove: The physical volume "/dev/rdsk/c23t8d6" belongs to an exported volume group.
pvremove: Couldn't remove physical volume "/dev/rdsk/c23t8d6".

indhost:/#pvcreate -f /dev/rdsk/c23t8d6
Physical volume "/dev/rdsk/c23t8d6" has been successfully created.

indhost:/#pvremove /dev/rdsk/c23t8d6
The physical volume associated with "/dev/rdsk/c23t8d6" has been removed.

No comments:

Post a Comment