Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

remove vg 3

Status
Not open for further replies.

AIXFinder

IS-IT--Management
Jan 4, 2007
97
US
I did these to remove prod1vg.
varyoffvg prod1vg
exportvg prod1vg

But, I am not sure if prod1vg was permanently removed. Are there any other commands to remove prod1vg to make sure?
 
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.


-FrankieAIX
 
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.


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top