- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: getting error in 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
Discussions
Discussions
Forums
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
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
тАО03-16-2009 08:42 PM
тАО03-16-2009 08:42 PM
getting error in vgimport
I had added disks in VG in a cluster environment, it was added successfully. But now when I try to import the vg information to adoptive node I am getting these error "# vgimport -p -v -s -m /tmp/vgxp_d01_ODSPD.map vgxp_d01_ODSPD
"Beginning the import process on Volume Group "vgxp_d01_ODSPD".
Verification of unique LVM disk id on each disk in the volume group
/dev/vgxp_d01_ODSPD failed.". Please help
thanks
madan
- Tags:
- vgimport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 08:57 PM
тАО03-16-2009 08:57 PM
Re: getting error in vgimport
Example:-
On the other node:
1. Export the VG
>>>vgexport /dev/vgxx
2. Recreate the directory
>>>>mkdir -p /dev/vgxx
3. Recreate the VG group file
>>>mknod /dev/vgxx/group c 64 0xMM0000
where MM is a unique identifier (ex 01 for vg01)
4. Preview the vgimport to check for any possible error
>>>>vgimport -pvs -m
where mapfile is the one copied from the first node
5. If no error, remove the preview mode
>>>>vgimport -vs -m
6. Activate in share mode
>>>>vgchange -a s /dev/vgxx
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 09:36 PM
тАО03-16-2009 09:36 PM
Re: getting error in vgimport
The minor number of the volume group "vgxp_d01_ODSPD" should be same on both the nodes .
Example :-
# ls -l /dev/vg01/group
crw-rw-rw- 1 root sys 64 0x010000 Nov 15 09:41 /dev/vg01/group
#
In the above volume group vg01 the minor is "0x010000" , .For proper sharing with the second node I should create a group file using "0x010000".
Thanks,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 09:41 PM
тАО03-16-2009 09:41 PM
Re: getting error in vgimport
thanks
madan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 09:46 PM
тАО03-16-2009 09:46 PM
Re: getting error in vgimport
can you see those newly add disk in you adoptive node
ioscan -fnC disk
Tks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 09:54 PM
тАО03-16-2009 09:54 PM
Re: getting error in vgimport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 10:02 PM
тАО03-16-2009 10:02 PM
Re: getting error in vgimport
can please post the setps you are trying to vgimport
can "hints" from Syslog
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 10:17 PM
тАО03-16-2009 10:17 PM
Re: getting error in vgimport
can you compare the "lvmtab" on both primary node and adoptive Node
# strings /etc/lvmtab
looks like your lvmtab , give problem,
# cp -p /etc/lvmtab /etc/lvmtab.org
run vgscan -pva first, then if required run vgscan -a. Also backup old file first.
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 10:50 PM
тАО03-16-2009 10:50 PM
Re: getting error in vgimport
Sample steps:-
Node 1:-
# ls -l /dev/vg02/group
crw-rw-rw- 1 root sys 64 0x020000 Nov 29 05:30 /dev/vg02/group
# vgexport -v -s -p -f /tmp/vg02.out -m /tmp/vg02.map vg02
Beginning the export process on Volume Group "vg02".
/dev/dsk/c4t0d2
# cat /tmp/vg02.out
/dev/dsk/c4t0d2
# cat /tmp/vg02.map
VGID 30a2e08949995b37
Copy the files /tmp/vg02.out and /tmp/vg02.map to the node 2 using ftp or scp .
Node 2:-
oprtest2:root:/ =>mkdir /dev/vg02
oprtest2:root:/ =>mknod /dev/vg02/group c 64 0x020000
oprtest2:root:/ =>vgimport -v -f /tmp/vg02.out -m /tmp/vg02.map vg02
Beginning the import process on Volume Group "vg02".
Volume group "/dev/vg02" 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.
oprtest2:root:/ =>vgchange -a r vg02
Activated volume group
Volume group "vg02" has been successfully changed.
oprtest2:root:/ =>vgcfgbackup vg02
Volume Group configuration for /dev/vg02 has been saved in /etc/lvmconf/vg02.conf
oprtest2:root:/ =>
Thanks,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 12:41 AM
тАО03-17-2009 12:41 AM
Re: getting error in vgimport
You can try this also
#xd -j 8200 -N16 -tu (/dev/rdsk/c?t?d? ) do this for all disks in VG & Check if VGID is same in all disks.
Regards
Sanjeev