- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgimport problem
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
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
07-02-2008 12:52 PM
07-02-2008 12:52 PM
vgimport problem
ll /dev/vgbaanpeu3/group
crw-r--r-- 1 root sys 64 0x060000 Jul 2 13:43 /dev/vgbaanpeu3/group
vgimport -p -v -m mapfile /dev/vgbaanpeu3
this works fine .
but when trying to do actually without the "p" flag , it just didn't import it .
(backup2 root):/users/dseth> sh 4pne
Beginning the import process on Volume Group "/dev/vgbaanpeu3".
this is what i get
vgimport: Warning: Volume Group belongs to different CPU ID.
Can not determine if Volume Group is in use on another system. Continuing.
--see below - this is what i get with "p" flag.
Beginning the import process on Volume Group "/dev/vgbaanpeu3".
vgimport: Warning: Volume Group belongs to different CPU ID.
Can not determine if Volume Group is in use on another system. Continuing.
Logical volume "/dev/vgbaanpeu3/lvol1" has been successfully created
with lv number 1.
Logical volume "/dev/vgbaanpeu3/lvol2" has been successfully created
with lv number 2.
Logical volume "/dev/vgbaanpeu3/lvol3" has been successfully created
with lv number 3.
Logical volume "/dev/vgbaanpeu3/lvol4" has been successfully created
with lv number 4.
Logical volume "/dev/vgbaanpeu3/lvol5" has been successfully created
with lv number 5.
Logical volume "/dev/vgbaanpeu3/lvol6" has been successfully created
with lv number 6.
Logical volume "/dev/vgbaanpeu3/lvol7" has been successfully created
with lv number 7.
Logical volume "/dev/vgbaanpeu3/lvol8" has been successfully created
with lv number 8.
Logical volume "/dev/vgbaanpeu3/lvol9" has been successfully created
with lv number 9.
Logical volume "/dev/vgbaanpeu3/lvol10" has been successfully created
with lv number 10.
Logical volume "/dev/vgbaanpeu3/lvol11" has been successfully created
with lv number 11.
Logical volume "/dev/vgbaanpeu3/lvol12" has been successfully created
with lv number 12.
Logical volume "/dev/vgbaanpeu3/lvol13" has been successfully created
with lv number 13.
Logical volume "/dev/vgbaanpeu3/lvol14" has been successfully created
with lv number 14.
Logical volume "/dev/vgbaanpeu3/lvol15" has been successfully created
with lv number 15.
Logical volume "/dev/vgbaanpeu3/lvol16" has been successfully created
with lv number 16.
Logical volume "/dev/vgbaanpeu3/lvol17" has been successfully created
with lv number 17.
Logical volume "/dev/vgbaanpeu3/lvol18" has been successfully created
with lv number 18.
Logical volume "/dev/vgbaanpeu3/lvol19" has been successfully created
with lv number 19.
Logical volume "/dev/vgbaanpeu3/lvol20" has been successfully created
with lv number 20.
Logical volume "/dev/vgbaanpeu3/lvol21" has been successfully created
with lv number 21.
Logical volume "/dev/vgbaanpeu3/lvol22" has been successfully created
with lv number 22.
Logical volume "/dev/vgbaanpeu3/lvol23" has been successfully created
with lv number 23.
Logical volume "/dev/vgbaanpeu3/lvol24" has been successfully created
with lv number 24.
Logical volume "/dev/vgbaanpeu3/lvol25" has been successfully created
with lv number 25.
Logical volume "/dev/vgbaanpeu3/lvol26" has been successfully created
with lv number 26.
Logical volume "/dev/vgbaanpeu3/lvol27" has been successfully created
with lv number 27.
Logical volume "/dev/vgbaanpeu3/lvol28" has been successfully created
with lv number 28.
Logical volume "/dev/vgbaanpeu3/lvol29" has been successfully created
with lv number 29.
Logical volume "/dev/vgbaanpeu3/lvol30" has been successfully created
with lv number 30.
Logical volume "/dev/vgbaanpeu3/lvol31" has been successfully created
with lv number 31.
Logical volume "/dev/vgbaanpeu3/lvol32" has been successfully created
with lv number 32.
Logical volume "/dev/vgbaanpeu3/lvol33" has been successfully created
with lv number 33.
Logical volume "/dev/vgbaanpeu3/lvol34" has been successfully created
with lv number 34.
Volume group "/dev/vgbaanpeu3" 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.
never seen like this before that a preview works and non-preview didn't . any quick help is appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2008 01:03 PM
07-02-2008 01:03 PM
Re: vgimport problem
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2008 01:05 PM
07-02-2008 01:05 PM
Re: vgimport problem
vgimport: Warning: Volume Group belongs to different CPU ID.
Can not determine if Volume Group is in use on another system. Continuing.
that's it . that is really strange .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2008 01:09 PM
07-02-2008 01:09 PM
Re: vgimport problem
Maybe this is group in ServiceGuard cluster.
After import - try to activate it read-only and check status.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2008 01:11 PM
07-02-2008 01:11 PM
Re: vgimport problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2008 01:16 PM
07-02-2008 01:16 PM
Re: vgimport problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2008 01:29 PM
07-02-2008 01:29 PM
Re: vgimport problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2008 01:41 PM
07-02-2008 01:41 PM
Re: vgimport problem
/dev/rdsk/c9t3d7 /dev/rdsk/c9t4d0 /dev/rdsk/c9t4d1 /dev/rdsk/c9t4d2 /dev/rdsk/c9t4d3 /dev/rdsk/c9t4d4 /dev/rdsk/c9t4d5 /dev/rdsk/c9
t4d6 /dev/rdsk/c9t4d7 /dev/rdsk/c11t3d1 /dev/rdsk/c9t5d0 /dev/rdsk/c11t2d3
no luck . on the messages has changed now to this .
(backup2 root):/users/dseth> sh 4pne
Beginning the import process on Volume Group "/dev/vgbaanpeu3".
(backup2 root):/users/dseth> vgchange -a y /dev/vgbaanpeu3
vgchange: Volume group "/dev/vgbaanpeu3" does not exist in the "/etc/lvmtab" file.
do i need to sync the standard and BCV's again .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2008 01:50 PM
07-02-2008 01:50 PM
Re: vgimport problem
>>Beginning the import process on Volume >>Group "/dev/vgbaanpeu3".
>>(backup2 root):/users/dseth> vgchange -a y /dev/vgbaanpeu3
What is "sh 4pne" ? ( sorry if I missed this previously.)
I can only assume that the vgimport failed ( but no error messages shown).
What is being executed in 4pne ?
Can we just execute:
vgimport /dev/vgbaanpeu3... and see the error if any ?
the vgchid fixed the first error as origionally noted, now onto the second error if any ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2008 01:53 PM
07-02-2008 01:53 PM
Re: vgimport problem
vgimport -v -m ~dseth/4pne.map /dev/vgbaanpeu3 /dev/dsk/c11t3d2 /dev/dsk/c11t3d2 /dev/dsk/c11t3d4 /dev/dsk/c11t3d5 /dev/dsk/c9t3d4 /
dev/dsk/c9t3d5 /dev/dsk/c9t3d6 /dev/dsk/c9t3d7 /dev/dsk/c9t4d0 /dev/dsk/c9t4d1 /dev/dsk/c9t4d2 /dev/dsk/c9t4d3 /dev/dsk/c9t4d4 /d
ev/dsk/c9t4d5 /dev/dsk/c9t4d6 /dev/dsk/c9t4d7 /dev/dsk/c11t3d1 /dev/dsk/c9t5d0 /dev/dsk/c11t2d3
this is just a file where i added my vgimport command with all the PV's .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2008 02:13 PM
07-02-2008 02:13 PM
Re: vgimport problem
mv /etc/lvmatb /etc/lvmtab.orig
vgscan -a
it shows me that /dev/vgbaanpeu3 in lvmtab with one PV . That PV doesn't even belong that PV . i export the VG and imported again . But no luck . I see /dev/vgbaanpeu3 entry in lvmtab only when i do a vgscan and that too with just one PV.
Don't know what to do .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2008 08:11 PM
07-02-2008 08:11 PM
Re: vgimport problem
I am sreedhar, i work closely with HPUX LVM product. Is it possible for you to send me the ouput of
./lvm.11 -l -d
I attached the lvm.11 command along with this.
I need to the output for all the disks.But that is quite lot of task. So could you please just send me as many as possible.
Without that output i have no other clue to solve this problem.
regards
sreedhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2008 09:49 PM
07-02-2008 09:49 PM
Re: vgimport problem
Thanks for helping .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2008 09:59 PM
07-02-2008 09:59 PM
Re: vgimport problem
Now i understood the whole reasoning.
LVM has logic to find duplicate disks even .
But it failed to do in your case. I need to debug the problem now.
can you tell me the exact details of the backend array you are using. Is it possible to give the setup for 10 mins to review the disks details.
regards
sreedhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2008 10:13 PM
07-02-2008 10:13 PM
Re: vgimport problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2008 12:33 AM
07-03-2008 12:33 AM
Re: vgimport problem
By the end of the day i will give you a C code, can you run that and give me the output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2008 01:42 AM
07-03-2008 01:42 AM
Re: vgimport problem
i attached both C code and the (IA)Binary along with this mail, if you have C compiler please build the code and run it using the following usage.
cc -o emc_inf emc_inq.c
./emc_inq
Can you send me the output for few of the disks in your list.
That will help me in debugging why LVM commands couldn't figure out the duplicate disks in the command line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2008 01:51 AM
07-03-2008 01:51 AM
Re: vgimport problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 03:56 AM
07-16-2008 03:56 AM
Re: vgimport problem
Check your all disk belongs to same vgid
with
xd -j 8200 N 16 /dev/dsk.c?t?d?
and you can see the disks belongs to same or diffrent vgid
If it belongs to diffrent than you have to export your HORMCM Instance
and than you have to do pairrsync and pairsplit.
your problem will be resolved.
Regards
Sanjeev