- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pvcreate fail
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
12-15-2006 11:17 AM
12-15-2006 11:17 AM
pvcreate fail
I had created a volume group on one node, then i exported to a map file
on the other node i tried to pvcreate the pv's
releated to that volume group it gave me error
pvcreate: pv belongs to a volume group
it is not in the LVMTAB
I had tried pvcreate -f /dev/rdsk/cxtxdx
it corrupted the volume group on the other node
what i am missing to start the volume group in shared mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2006 11:32 AM
12-15-2006 11:32 AM
Re: pvcreate fail
node1:
vgexport -p -v -s -m /tmp/vgname.map /dev/vgname
copy map to other node
node2:
mkdir /dev/vgname
mknod /dev/vgname/group c 64 0x??0000
(where 0x??0000 is same number from ll /dev/vgname/group on original node)
vgimport -v -s -m /tmp/vgname.map /dev/vgname
hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2006 11:34 AM
12-15-2006 11:34 AM
Re: pvcreate fail
vgcfgrestore -n vgname /dev/rdsk/cXtXdX
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2006 11:43 AM
12-15-2006 11:43 AM
Re: pvcreate fail
but it stayed for long time idel for all most one hour.
ps. number of disks in the original volume group is 56
I had created the original vg again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2006 11:45 AM
12-15-2006 11:45 AM
Re: pvcreate fail
pvcreate is used to take a physical volume (a disk) and make it usable for LVM. Since the PV is already setup for LVM and is shared, there is no need to run the command again.
-Bob
Was this helpful? Like this post by giving me a thumbs up below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2006 11:50 AM
12-15-2006 11:50 AM
Re: pvcreate fail
I had used the syntex as this
vgimport -s -v -m vg_new.map vg_new
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2006 11:58 AM
12-15-2006 11:58 AM
Re: pvcreate fail
More information I would like to give you,
The storage I have is DELL/EMC Cx700
and i am using power path for load balancing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2006 12:04 PM
12-15-2006 12:04 PM
Re: pvcreate fail
Some other data may be useful:
vgdisplay -v vgname
pvdisplay pv_device_name
strings /etc/lvmtab
-Bob
Was this helpful? Like this post by giving me a thumbs up below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2006 12:12 PM
12-15-2006 12:12 PM
Re: pvcreate fail
node1:
vgdisplay -v /dev/vgname |grep /dev/dsk |grep -v Alternate |awk '{print $NF}' > /tmp/vginfile.txt
confirm contents and copy the infile to node2
node2:
same mkdir, mknod as before...
vgimport -v -f /tmp/vginfile.txt /dev/vgname
Hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2006 12:12 PM
12-15-2006 12:12 PM
Re: pvcreate fail
just the command hangs for more than hour
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2006 12:17 PM
12-15-2006 12:17 PM
Re: pvcreate fail
vgimport -v -m /tmp/vgname.map -f /tmp/vginfile.txt /dev/vgname
If you have a large number of luns attached the import with -s could take a long time to complete... using the infile should help.
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2006 01:27 PM
12-15-2006 01:27 PM
Re: pvcreate fail
I am tring this now but for more than half hour the command did not give any output
just hangs
the pv's are 56
8 GB each
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2006 02:11 PM
12-15-2006 02:11 PM
Re: pvcreate fail
-bob
Was this helpful? Like this post by giving me a thumbs up below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2006 11:17 PM
12-15-2006 11:17 PM
Re: pvcreate fail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2006 08:07 AM
12-16-2006 08:07 AM
Re: pvcreate fail
How about some clarification on whether Denver or my responses helped at all? The point system is designed to show just that. Even a point of 1 will show that while we took the time to respond the recommendation didnt work. You took the time to close the thread, how about taking the 30 seconds more and submit points for our resonses?
Thank you.
-Bob
Was this helpful? Like this post by giving me a thumbs up below!