- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cannot pvcreate for new volume group
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-26-2005 02:59 AM
04-26-2005 02:59 AM
Thanks!
Kevin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 03:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 03:05 AM
04-26-2005 03:05 AM
Re: cannot pvcreate for new volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 03:07 AM
04-26-2005 03:07 AM
Re: cannot pvcreate for new volume group
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 03:07 AM
04-26-2005 03:07 AM
Re: cannot pvcreate for new volume group
Do a strings on /etc/lvmtab and see if there is any reference to the volume group and/or the disk that you've removed.
What commands did you use to remove the volume group?
Also, what errors did you get when you tried to mount the volume group? Make sure that its in /etc/fstab and that the volume group is activated.
Rgds,
Anthony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 03:09 AM
04-26-2005 03:09 AM
Re: cannot pvcreate for new volume group
"strings /etc/lvmtab" and see what vg it thinks that device belongs to. If you "removed" that vg with vgexport, you would have to force pvcreate those devices to use them again.
If your plan is to re-create then restore the data you should be good to go with the forced pvcreate. If you are looking to recover the data on those devices, don't force pvcreate.
Your first thing would be to figure out whay vg those devices belong to with the strings command above, then report back here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 03:10 AM
04-26-2005 03:10 AM
Re: cannot pvcreate for new volume group
It seems your information is not updated in /etc/lvmtab file. Just do "strings /etc/lvmtab" and see wheather your vg is listed in it. If yes you have to recreate lvmtab using vgscan command. How did you removed your VG?
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 03:16 AM
04-26-2005 03:16 AM
Re: cannot pvcreate for new volume group
Maybe you should start with a look at the man page. I quote:
"-f Force the creation of a physical volume (thus deleting any file system or volume manager information present) without first requesting confirmation.
Warning: The -f option should only be used as a last resort to over write file system or volume manager information that cannot properly be removed using the commands designed for that purpose. When invoked with -f, the command does minimal verification, so care should be taken to assure that the disk is not already in use prior to invoking the command."
"EXAMPLES
Create a physical volume on raw device /dev/rdsk/c1t0d0, and force the creation without confirmation:
pvcreate -f /dev/rdsk/c1t0d0"
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 03:18 AM
04-26-2005 03:18 AM
Re: cannot pvcreate for new volume group
If you are sure they are the disks of the volume group then yes go ahead with pvcreate -f /dev/rdsk...
You need -f because the disk has been used in lvm once so unless you have reformated by some way (I just did last week-end for an entire external subsystem to add to a 10.20...) you will get such message...
All the best
Victor