- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgimport error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 03:10 AM
04-28-2006 03:10 AM
vgimport error
The volume groups and file systems are /dev/vg18/lvol1 /oraxx, and /dev/vg18_bcv/lvol1 /oraxx_bcv
Here are the commands that I am using.
umount /oraxx_bcv
vgchange -a n /dev/vg18_bcv
symmir -g symdg_oraxx establish -full -exact -noprompt
After the establish is complete:
umount /oraxx
vgchange -a n /dev/vg18
symmir -g symdg_oraxx split -noprompt
After split completes:
vgexport /dev/vg18_bcv
vgchgid /dev/rdsk/c20t5d3 /dev/rdsk/c20t5d4
vgexport -v -p -m /etc/lvmconf/vg18.mapfile /dev/vg18
vgchange -a y /dev/vg18
mount /oraxx
mkdir /dev/vg18_bcv
mknod /dev/vg18_bcv/group c 64 0x080000
vgimport -m /etc/lvmconf/vg18.mapfile -f /usr/local/admin/vg18_bcv.vgimport /dev/vg18_bcv
This is where it bombs out.
vgimport: Warning: Volume Group contains "60" PVs, "4" specified. Continuing.
vgimport: Quorum not present, or some physical volume(s) are missing.
Just remove the symmir commands and I can run the exact commands in the exact sequence and everything works fine. I am able to vgchange /dev/vg18_bcv and mount /oraxx_bcv
Any help would be greatly appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 03:15 AM
04-28-2006 03:15 AM
Re: vgimport error
Then use that map after you do the resync.
That way you are using a map when the VG contains all its volumes when you try to set it back up that way at the end.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 03:30 AM
04-28-2006 03:30 AM
Re: vgimport error
How many PVs do you actually have in your VG.
If its more than 2 dont you need to include them all at the same time while doing the vgchgid.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 03:33 AM
04-28-2006 03:33 AM
Re: vgimport error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 03:39 AM
04-28-2006 03:39 AM
Re: vgimport error
I tried your suggestion but go the same result.
This sequence has worked for years on our EMC 8830, were moving to the DMX3 and now we are getting this error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 03:42 AM
04-28-2006 03:42 AM
Re: vgimport error
I am sure you must have taken care of this -
the group file should have unique minor no.
ls -l /dev/*/group to verify this.
strings /etc/lvmtab to confirm PVs in /dev/vg18
and that the disks you have specified are indeed the BCV disks.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 03:47 AM
04-28-2006 03:47 AM
Re: vgimport error
Unfortunatley I have checked all those, and if there were duplicate minor numbers my script would stop.
Thanks,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2006 03:14 PM
04-28-2006 03:14 PM
Re: vgimport error
Your steps looks ok to me. Is this first time you are trying establish and split on these devices?
Have you tried exporting source devices VG (vg18) before changing the "vgchgid"?
Why do you use -f option with vgimport command? Is it to specify alternate links?
If yes, there may chance with the order of devices in Primary and alternate link? Why don't you just try with out -f option?
BTW, I guess you have checked your lvmtab file and symdg and selected correct devices?
Regards
Sathish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2006 07:23 AM
04-30-2006 07:23 AM
Re: vgimport error
I dont know whether this will help, but can you try this sequence. I have suggested few changes/steps. Is the file /usr/local/admin/vg18_bcv.vgimport updated and points to same BCV disks ?
1.umount /oraxx_bcv
2.vgchange -a n /dev/vg18_bcv
3.vgexport /dev/vg18_bcv
4.symmir -g symdg_oraxx establish -full -exact -noprompt
After the establish is complete:
5.umount /oraxx
6.vgchange -a n /dev/vg18
7.symmir -g symdg_oraxx split -noprompt
After split completes:
8.vgchgid /dev/rdsk/c20t5d3 /dev/rdsk/c20t5d4
9.vgexport -v -p -m /etc/lvmconf/vg18.mapfile /dev/vg18
10.vgchange -a y /dev/vg18
11.mount /oraxx
12.mkdir /dev/vg18_bcv
13.mknod /dev/vg18_bcv/group c 64 0x080000
14.vgimport -m /etc/lvmconf/vg18.mapfile /dev/vg18_bcv /dev/rdsk/c20t5d3 /dev/rdsk/c20t5d4
15.vgchange -a y /dev/vg18_bcv
16.mount /oraxx_bcv
Please let us know the progress. Good luck.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2006 02:05 AM
05-01-2006 02:05 AM
Re: vgimport error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2006 08:52 PM
05-01-2006 08:52 PM
Re: vgimport error
Can you attach the /usr/local/admin/vg18_bcv.vgimport file.
I have a gut feeling that the 1st disk specified in this file has the information that there are 60 PVs in the volume group and the file actually contains 4 disk file names.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2006 09:10 PM
05-01-2006 09:10 PM
Re: vgimport error
Verify infile: /usr/local/admin/vg18_bcv.vgimport
or
vgimport -m /etc/lvmconf/vg18.mapfile /dev/vg18_bcv /dev/rdsk/c20t5d3 /dev/rdsk/c20t5d4
ran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2006 12:11 AM
05-03-2006 12:11 AM
Re: vgimport error
After reading some more information on the forums, I decided to rebuild the standard mount point.
Now I get a different error:
Physical volume "/dev/rdsk/c20t5d3" is not a block special file.
The good thing is that I get the error when I try the import with the est/split and when I don't run it.
I checked ioscan, ran insf -e, pvdisplay and all of the information looks good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2006 12:25 AM
05-03-2006 12:25 AM
Re: vgimport error
The error is correct - rdsk is a character device and not a block device.
You should use /dev/dsk/cxtydz and not rdsk
Regards,
ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2006 12:28 AM
05-03-2006 12:28 AM
Re: vgimport error
I assumed that the error you are getting is during vgimport - so you need to use block device naming convention - /dev/dsk/c20t5d3
I hope you have already done a
pvcreate /dev/rdsk/c20t5d3.
Please let know if I have misunderstood your problem.
regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2006 12:32 AM
05-03-2006 12:32 AM
Re: vgimport error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2006 12:35 AM
05-03-2006 12:35 AM
Re: vgimport error
Here is the contents of my vgimport file:
/dev/dsk/c20t5d3
/dev/dsk/c23t5d3
/dev/dsk/c20t5d4
/dev/dsk/c23t5d4
Thanks,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2006 12:45 AM
05-03-2006 12:45 AM
Re: vgimport error
Never mind as long as you are awake now :)
I guess that you are having 2 disks in the VG - and there are 2 alternate links to the disks hence you are mentioning 4 disks in the vgimport file.
Now my first question is are you very much sure that the disk devices you have mentioned are infact the BC copy disks still ? If yes then try manually adding as
vgimport -p /dev/vg18_bcv /dev/dsk/c20t5d3 /dev/dsk/c23t5d3 /dev/dsk/c20t5d4 /dev/dsk/c23t5d4
I am deliberately mentioning the -p flag so that it doesnt actually import but checks all steps it will perform during actual import. See if it shows any errors. Paste the errors here again. If it shows errors it means that some/all of the disks you have mentioned are not actually the BC copy disks.
If it succeds then go ahead and do the vgimport with the mapfile and infile. Assuning you have done the vgchgid etc.
Best of luck,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2006 12:52 AM
05-03-2006 12:52 AM
Re: vgimport error
/dev/rdsk/c20t5d3 BCV EMC SYMMETRIX 5671 6300291000 8923200
/dev/rdsk/c23t5d3 BCV EMC SYMMETRIX 5671 6300291000 8923200
holldb16|root:/ # syminq |grep -i 292
/dev/rdsk/c20t5d4 BCV EMC SYMMETRIX 5671 6300292000 8923200
/dev/rdsk/c23t5d4 BCV EMC SYMMETRIX 5671 6300292000 8923200
I tried running it the way you suggested and got the same error message.
vgimport: Warning: Volume Group contains "60" PVs, "4" specified. Continuing.
vgimport: Quorum not present, or some physical volume(s) are missing.
Thanks,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2006 01:12 AM
05-03-2006 01:12 AM
Re: vgimport error
what do the c20t5d4 and c23t5d4 indicate - are they different paths to same disk of one is the PVOL/original disk and other is SVOL/BC copy ?
What is happening is that when vgimport accesses the 1st disk in the list it finds that the VG has 60 PVs in it and checks to find that you have mentioned only 4 PVs.
I dont know whether this will be of any use
ioscan -fnC disk
insf -e -C disk
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2006 11:52 AM
05-03-2006 11:52 AM
Re: vgimport error
couple of thoughts
1.why don't you just try your script with single path rather than both paths.
2.you mentioned earlier that you have migrated from one EMC frame to another. have you upgraded your solution enabler and inq utility. Just to let you know that output of "inq" is changed. The number of fields for the device from 3 to 5. Please check your scripts whether this change is updated from old output to new.
Ex: for device 6300292000
63 00292 000
serial no. symm symdev Common serialno
regards
Sathish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 01:29 AM
05-04-2006 01:29 AM
Re: vgimport error
could it be that your EMC Devicegroup is not properly configured?
it seems for me that your BCV Disks are not the the mirrors of your standard devices.
Check the Devicegroup with symdg show
Perhaps in your Devicegroup there are more than your two disks of vg18 and you are trying to import the wrong disks?
hope it helps,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 01:33 AM
05-04-2006 01:33 AM
Re: vgimport error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 01:41 AM
05-04-2006 01:41 AM