Remove volume group it's lvs and filesystems after vg's pv was deleted ?
Physical volume of vg was removed permanently by acident. What I need right now is to remove all vg's objects(vg itself, vg's lvs, vg's filesystems) to prepare to add new pv and create new volume group and it's objects.
This is from reducevg manual:
"Sometimes a disk is removed from the system without first running reducevg VolumeGroup PhysicalVolume. The VGDA still has this removed disk in it's memory, but the PhysicalVolume name no longer exists or has been reassigned. To remove references to this missing disk you can still use reducevg, but with the Physical Volume ID (PVID) instead of the disk name: reducevg VolumeGroup PVID"
I executed the following:
-bash-2.05b# reducevg vglgpaps 000304cb68e16728
0516-010 lqueryvg: Volume group must be varied on; use varyonvg command.
0516-882 reducevg: Unable to reduce volume group.
How can I do varyonvg if there is no pv ?
Acording to manual it should work - but it doesn't !
What am I donig wrong ?
(maybe I should remove vg's lvs and filesystems before - but how ?)
thank you in advance