Operating System - HP-UX
1832296 Members
2149 Online
110041 Solutions
New Discussion

How to import a root volume group in LVM?

 
Ed Trumbull_1
New Member

How to import a root volume group in LVM?

I have installed two copies of hpux on different disks on my system. I now want to be able to import the root volume group from one copy and access its data while I'm running the other copy. How do I do this?
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: How to import a root volume group in LVM?

mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgimport /dev/vg01 /dev/dsk/cNtNdN
vgchange -a y /dev/vg01
mkdir /newroot
mount /dev/vg01/lvol3 /newroot


Pete

Pete
Ed Trumbull_1
New Member

Re: How to import a root volume group in LVM?

So far, so good. I've imported the volume
group, and gotten:

# vgimport /dev/vg01 /dev/dsk/c4t6d0
vgimport: Warning: Volume Group belongs to different CPU ID.
Can not determine if Volume Group is in use on another system. Continuing.
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.

Should I be concerned about the messages above, or can they be ignored?
Pete Randall
Outstanding Contributor

Re: How to import a root volume group in LVM?

You can ignore them.


Pete

Pete
Ed Trumbull_1
New Member

Re: How to import a root volume group in LVM?

Looks good. Many thanks.