prod1vg still exist on the disk but after exportvg is not available in the system.
you could use importvg command to have the VG avaiable again in the system.
I think that to completly destroy the VG from the disk you should create new one on that disk (use -f (force) switch during such VG creation).
You could also clear PVID from the disk running command:
chdev -l hdiskX -a pv=clear
but it does not distroy the VG but the VG is not possible to be imported. (in that case someone not authorized could re-create orginal disk's PVID using dd command - I tried it and it is possible - and then import your confidental data) therefore I think if you want to distroy your VG the new-dummy VG creation on the disk is a better way.
I agree with ogniemi. The safest route to go is to create a new dummy vg on the volumes that contained your prod1vg. This will erase all connections to that VG. Or simply run a format if you have the time to.
Well, reducevg cleans up the VGDA (volume group descriptor area) on the disk, but the data that was in the filesystems on the disk is still on it - albeit kind of difficult but not impossible to get to.
If you format the hard disk, or create a new VG with the disk and a new FS and fill that FS with dummy data, you make it harder for the next person/server to get at the data.
If it is a SAN LUN, you can drop the volume in the SAN box and recreate it there, that would also 'reformat' the storage for you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.