- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Vgimport issue!!
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-10-2007 03:53 AM
04-10-2007 03:53 AM
Vgimport issue!!
On node1 i exported a FS using this command
vgexport -p -v -s -m vgtib2data.map /dev/vgtib2data
It exported successfully but when i use that map file to import the VG information on Node2 it imported succssfully but in /etc/lvmtab the VG is missing a Physical volume. But i can find this Physical volume on node2 when i do ioscan.
On Node1 Strings /etc/lvmtab
/dev/vgtib2data
/dev/dsk/c19t0d3
/dev/dsk/c19t2d0
On node after doing an import /etc/lvmtab
/dev/vgtib2data
/dev/dsk/c19t0d3
When i issue this command
tppora50:/#vgimport /dev/vgtib2data/ /dev/dsk/c19t2d0
vgimport: Volume group "/dev/vgtib2data" already exists in the "/etc/lvmtab" file.
But it's not present in strings /etc/lvmtab
Please help me on this. Waiting for a quick response.
Thanx in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 03:58 AM
04-10-2007 03:58 AM
Re: Vgimport issue!!
in Node2
# rcp -p node1:/tmp/vgtib2data.map /tmp
# vgexport /dev/vgtib2data
# mkdir /dev/vgtib2data
# mknod /dev/vgtib2data/group c 64 0xNN0000
NN==Minor number of the VG
# vgimport -v -s -m /tmp/vgtib2data.map /dev/vgtib2data
# vgchange -a r /dev/vgtib2data
# vgcfgbackup /dev/vgtib2data
# vgchange -a n /dev/vgtib2data
Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 04:13 AM
04-10-2007 04:13 AM
Re: Vgimport issue!!
I exported the VG first and then import it using the same commands which you mentioned in your email. But sumhow the Physical volume is not included on NODE /etc/lvmtab file.
Please help me to resolve this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 04:58 AM
04-10-2007 04:58 AM
Re: Vgimport issue!!
1. create map file from Node1
vgexport -pvs -m mapfile vgxx
2. copy map file to Nod2
3. vgchange -a n vgxx (Node 1)
4. On Node 2
mkdir /dev/vgXX
mknod /dev/vgxx/group c 64 0x(unique ID)
5. vgimport -vs -m (mapfile) /dev/vgxx
6. vgchange -a y /dev/vgxx
7. verify with vgdisplay -v vgxx
Having the same disk device files between
both nodes is unusual, not impossible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 05:04 AM
04-10-2007 05:04 AM
Re: Vgimport issue!!
Do an "ls -l /dev/vg*/group" and make absolutely certain the all minor device numbers are unique on any given host. It's not necessary that the minor device numbers for /dev/vgXX be the same on nodeA and nodeB but it is absolutely necessary that each VG on any given host is unique for that host. If this rule is violated, chaos is assurred.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 05:06 AM
04-10-2007 05:06 AM
Re: Vgimport issue!!
Is this a shared storage ?
# echo "0x2008?4D" | adb /dev/dsk/c19t0d3
# echo "0x2008?4D" | adb /dev/dsk/c19t2d0
Compare the output of the above commands. The output should match except for the PVID.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 06:58 AM
04-10-2007 06:58 AM
Re: Vgimport issue!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 03:25 AM
04-11-2007 03:25 AM