- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problems with vgimport
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
09-07-2005 04:52 AM
09-07-2005 04:52 AM
# vgimport -vs -m /etc/lvmconf/vgspe0.mapfile /dev/vgspe0
Beginning the import process on Volume Group "/dev/vgspe0".
vgimport: Volume group "/dev/vgspe0" already exists in the "/etc/lvmtab" file.
#
I know vgspe0 already exists on node2 but LV lvol12 doesn't exist.
Do you have any idea what happens?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2005 05:07 AM
09-07-2005 05:07 AM
Solutionon active node "ll /dev/spe0/lvol12" to get the minor #.
on passize node "mknod /dev/spe0/lvol2 b 64 0xNNNNNN" and "mknod /dev/spe0/rlvol2 c 64 0xNNNNNN"
where 0xNNNNNN is the minor number you get from "ll" on active node.
Then if make sure if you updated the package script on the active node that those changes also get pushed out to the passive node.
If you want to vgimport vs. using mknod, you'll have to vgexport that VG from node2 1st. mknod would be easier and get the same results.
Hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2005 05:10 AM
09-07-2005 05:10 AM
Re: Problems with vgimport
** Make sure that it is a newly exported map file from node1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2005 05:12 AM
09-07-2005 05:12 AM
Re: Problems with vgimport
You have to remove the updated vg from the
second node with
ls -ls /dev/vgspe0/group
vgexport vgspe0
And import it with:
mkdir /dev/vgspe0
mknod /dev/vgspe0/group c 64 0xNNNNNN
vgimport /dev/vgspe0 /dev/dsk/XXXXXX
Use the hexa number from the output of ls
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2005 05:21 AM
09-07-2005 05:21 AM
Re: Problems with vgimport
vgexport -s -p -v -m /tmp/vgspe0.map /dev/vgspe0
rcp /tmp/vgspe0.map node2:/tmp/vgspe0.map
On second node, vgexport /dev/vgspe0
mkdir /dev/vgspe0
mknod /dev/vgspe0/group c 64 0xHH0000
(where HH is the hex minor number)
vgimport -s -v -m /tmp/vgspe0.map /dev/vgspe0
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2005 05:24 AM
09-07-2005 05:24 AM
Re: Problems with vgimport
http://docs.hp.com/en/B3936-90079/index.html
In particular - chapter 5:
http://docs.hp.com/en/B3936-90079/ch05s04.html#d0e10936
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2005 07:30 PM
09-07-2005 07:30 PM
Re: Problems with vgimport
This document explains how to do it:
http://docs.hp.com/en/B3936-90079/ch05s04.html#d0e10936