Operating System - HP-UX
1832599 Members
2555 Online
110043 Solutions
New Discussion

Re: can some one help out fast? vgimport problem

 
Prashant Zanwar_4
Respected Contributor

can some one help out fast? vgimport problem

hi,

I have done a vgexport using

-p -m and -f option. Created outfile and mapfile.
When I am trying doing vgimport at other side,

vgimport -p -m -f vg_name

It says
is not a block special device.

I am trying to do with -s option which is stuck at beginning vgimport...

Pls help
Thnx
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
8 REPLIES 8
Pete Randall
Outstanding Contributor

Re: can some one help out fast? vgimport problem

I believe that, in order to use the -s option on import, you would have had to use it on the export as well. You'll have to redo the export or manually identify the volumes.


Pete

Pete
Jeff Schussele
Honored Contributor

Re: can some one help out fast? vgimport problem

Hi Prashant,

You probably need to map the c values between the two systems. They're probably not the same.
For instance it may be c3 on the exporting system but it's c2 on the importing. Once you have them mapped then just edit the infile.
Option #2 would be to rerun the export using
vgexport -m mapfile -psv vg_name
Then the import will search for the VGs by VGID & no editing would be required.
You can't use "s" on the import unless it was used in the export.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Prashant Zanwar_4
Respected Contributor

Re: can some one help out fast? vgimport problem

I have done it with -s option and then copied mapfile to dest host. But this is the just stuck at the beginning of vgimport..

Thnx
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Jeff Schussele
Honored Contributor

Re: can some one help out fast? vgimport problem

Well - if there's a lot of VGs and/or a lot of disks/paths then the -s can take quite some time.
Let it run.....

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Geoff Wild
Honored Contributor

Re: can some one help out fast? vgimport problem

I do mine like this:

vgexport -v -p -s -m /tmp/vg52.map /dev/vg52

mkdir /dev/vg52
mknod /dev/vg52/group c 64 0x340000

vgimport -v -s -m /tmp/vg52.map /dev/vg52

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Sridhar Bhaskarla
Honored Contributor

Re: can some one help out fast? vgimport problem

Hi Prashant,

Looks like you are not seeing all the disks on the other side. Try 'ioscan -fnC disk' on both the servers and compare them. If these are on EMC or XP, you have tools like 'inq', 'xpinfo', that can help you quickly identify the devices.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Prashant Zanwar_4
Respected Contributor

Re: can some one help out fast? vgimport problem

This problem has been taken care. I had to map the emc disks on the other side and create a infile to import. This has sorted problem.

Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Prashant Zanwar_4
Respected Contributor

Re: can some one help out fast? vgimport problem

thnx
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."