- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
08-02-2001 07:17 AM
08-02-2001 07:17 AM
vgimport error
1. vgexport -p -m /tmp/vgapp03.mapfile /dev/vgapp03
2. rcp file over
3. since this was a new disk...pvcreate /dev/rdsk/c22t3d3
4. mkdir /dev/vgstgapp03
5. mknod /dev/vgstgapp03/group c 64 0x680000
6. vgcreate /dev/vgstgapp03 /dev/dsk/c22t3d3
7. vgexport -m /tmp/vgstgapp03.mapfile /dev/vgstgapp03 (had to do step 6 and 7 because when i tried to vgimport it gave me an error saying that it could not import because no vg was associated with pv...or something similar)
8. mkdir again
9. mknod again
10. vgimport -m /tmp/vgstgapp03.mapfile -v /dev/vgstgapp03 /dev/dsk/c22t3d3
I get the following error....
Beginning the import process on Volume Group "/dev/vgstgapp03".
Logical Volume is not defined on any physical volume.
"/dev/vgstgapp03/lvtrans" is missing Physical Volumes.
Logical Volume is not defined on any physical volume.
"/dev/vgstgapp03/lvsapmnt" is missing Physical Volumes.
Volume group "/dev/vgstgapp03" has been successfully created.
Warning: A backup of this volume group may not exist on this machine.
Please remember to take a backup using the vgcfgbackup command after activating
the volume group.
The volume group is created but the lv is not.
If I vgexport destroy and recreate the dir. and node and then reimport i still get the same error.
Any ideas???
Brent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2001 07:29 AM
08-02-2001 07:29 AM
Re: vgimport error
The operation of 'vgexport' on one server and 'vgimport' on another is designed to give ownership of a volume group from the source (export) to the destination (import).
The data on the physical disk comprising the volume group is not changed. You are "telling" one server that it no longer owns the volume group while "telling" the second server that it does now own it. In part, in the process, each server's /etc/lvmtab is updated to reflect the presence/absence of the volume group and the physical disk.
You do *not* do '*create' on anything.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2001 07:41 AM
08-02-2001 07:41 AM
Re: vgimport error
If there is already a pvcreate done on the vg before, there is no reason typically to do a vgcreate.. the vgimport does the vgcreation for you.. apart from the group file.. (68 seems really large - did you ll /dev/*/group to find that?)
Note that if you pvcreate, all lvm headers and fs lv structure will be lost and it is difficult to recreate it.
Try the commands w/out the vgcreate.
vgexport -p -m /tmp/vgapp03.mapfile /dev/vgapp03
2. rcp file over
3. since this was a new disk...pvcreate /dev/rdsk/c22t3d3
4. mkdir /dev/vgstgapp03
5. mknod /dev/vgstgapp03/group c 64 0x680000
6. vgcreate /dev/vgstgapp03 /dev/dsk/c22t3d3
7. vgexport -m /tmp/vgstgapp03.mapfile /dev/vgstgapp03 (had to do step 6 and 7 because when i tried to vgimport it gave me an error saying that it could not import because no vg was associated with pv...or something similar)
8. mkdir again
9. mknod again
10. vgimport -m /tmp/vgstgapp03.mapfile -v /dev/vgstgapp03 /dev/dsk/c22t3d3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2001 09:39 AM
08-02-2001 09:39 AM
Re: vgimport error
Thanks for your responses. I realize that I should not have to do a vgcreate as long as the disk was pvcreated (which it was). I have retried to do the vgimport from the beginning. 1. Re pvcreated the disk
2. mkdir
3. mknod
4. vgexported from other host
5. rcp'd the mapfile over
6. vgimported and i get the following error (which is why i decided to go ahead and do the vgcreate as previously mentioned)
Beginning the import process on Volume Group "/dev/vgstgapp03".
Physical Volume "/dev/dsk/c22t3d3" is not part of a Volume Group
What am I missing here?
As to why #0x68....we have app. 100 vg's on this server.
thx again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2001 09:59 AM
08-02-2001 09:59 AM
Re: vgimport error
"I realize that I should not have to do a vgcreate as long as the disk was pvcreated (which it was)"
Should have read...once the new disk was pvcreated...I realize the vgimport should create the vg for me.......
again...thx for your help/time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2001 05:11 AM
08-03-2001 05:11 AM
Re: vgimport error
Since they are EMC, are you trying to do BCV configuration.
If bcv configuration do as follows
On a souce host(Where you have STD devices)
vgexport -m
rcp
On destination host(Where you have BCV devices)
-----------------------------------------------
mkdir /dev/
mknod /dev/
Now you have to find out which std device is matched with what bcv device
vgimport -m
vgchange -a y /dev/
vgcfgbackup /dev/
If you moving disks from host port to another host ports through SDR (Symmetrix disk relocator) software:
Do following steps
---------------------
Run inq on source host and store it in a file
vgdisplay -v /dev/
for i in `cat vgname.disks`
do
grep ${i} inq.out
done > vgname_emc_disk.info
Print out vgname_emc_disk.info
vgexport -m
rpc map file to target host(where you are moving your disks
move volume group disks to target host with SDR software.
log on to target host
run ioscan -fnC disk
run insf -e -C disk
run ioscan -fnC disk > ioscan.out
look ioscan.out for new disks
run inq > inq_targethost.out
From the Print out vgname_emc_disk.info take 5th field. Grep this 5th field from inq_targethost.out file.
You get new set of PV disks
Do not do pvcreate on these disks
mkdir /dev/
mknod /dev/
vgimport -m