> Running mkvg does not delete data on the disk. In the past I've used this
> technique to take broken mirror offline copies of VGs. To access the data on
> the disk you need to know where on the disk the data was. This involves
> generating PP maps then using these to recreate LVs in the new VGs.
> This might not help you in this circumstance unless you regularly regenerate
> sets of map files.
> You don't actually say if the disk is just part of the VG or a full mirror of
> the other disk. If it isn't a full copy then I don't think the importvg will
> work.
> Bottom line is nothing is ever actually deleted it's only really gone when
> something new overwrites it.
> Good Luck
> John
Absolutely right. However, to most laymen admins, overwritting the LVCB,
VGDA, VGSA etc is in essance causing the data to be lost. There are
always methods to get data back if it has not been explicitly changed,
erased, etc. If you doubt this, talk to the FBI. I'm sure they have
a method or two you don't know about.
So my responses are geared towards the questions asked.
If I do this, will I lose data: Yes... (it will be there but NOT accessable
by normal means, so unless you know
what you are doing, it is lost)
I have DONE this, HAVE I lost data: No. There are methods to help recover
data from a disk whose control blocks
have been accidently changed. But
recovery isn't guaranteed and it can be a
pain.
I should have stated the ()'d part in my message, I just don't like to
leave it open for people to think it's ok to shoot themselves in the
foot.
- Matt
--
AIX and HACMP Certified Specialist | | / \ |\| | \. ,_| ` o O '
/ Comments, views, and opinions \ | |_/ ^ \| | ) | | x
\ are mine alone, not IBM's. / |___|/~\_\_|\|__/|_| \___/