1833750 Members
2538 Online
110063 Solutions
New Discussion

How to import VG ...!!!!

 
SOLVED
Go to solution
Justin_132
Advisor

How to import VG ...!!!!

Hi Admins,

I gotta data disk. How can I import this in a new server. Neither I have any .map file nor taken any vgcfgbkp. How can I import this VG to recover my data.

Just-In
7 REPLIES 7
MarkSyder
Honored Contributor

Re: How to import VG ...!!!!

SAM -> disks and filesystems -> volume groups -> actions -> import

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Arunvijai_4
Honored Contributor

Re: How to import VG ...!!!!

A similar thread,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=985035

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
RAC_1
Honored Contributor
Solution

Re: How to import VG ...!!!!

mkdir /dev/vgxx
mknod /dev/vgxx/group c 64 0x0y0000
0y-needs to be uniq minor number

vgimport /dev/vgxx /dev/dsk/cxtxdx /dev/dsk/cytydy

There is no substitute to HARDWORK
Pete Randall
Outstanding Contributor

Re: How to import VG ...!!!!

Justin,

A map file is only necessary if there were non-standard logical volume names used on the disk and you wanted to retain them. If you are happy with the default "lvolN" naming convention, you simply run the commands as Anil (RAC) has given.


Pete

Pete
Cem Tugrul
Esteemed Contributor

Re: How to import VG ...!!!!

Another links from me;

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=118761


http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=657117

Good Luck,
Our greatest duty in this life is to help others. And please, if you can't
Justin_132
Advisor

Re: How to import VG ...!!!!

Thxs All,

Actually I was not knowing how many LUNs were there before in those VGs. I was having 3 LUNs. Even I dont know how may VGs are there before. Unfortunately I didnt got even a bdf o/p.

In this scenario, I just tried as what RAC said. Created 3 VG (Character Device Files) and imported each LUN in each VGs and things worked.

But this can be wrong if my old VG comprises of more than one LUN. So how could I find the number of LUNs my old VG contains...???

Just-In
RAC_1
Honored Contributor

Re: How to import VG ...!!!!

Unless you saved how many luns were there, it is difficult (read impossible) to know that.

After you imported the disks, how many lvols it created?? Check /dev/vgxx/lvol* files.
Can you run and mount them all??
There is no substitute to HARDWORK