- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Deleting a 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
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
тАО10-20-2000 05:44 AM
тАО10-20-2000 05:44 AM
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2000 05:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2000 05:48 AM
тАО10-20-2000 05:48 AM
Re: Deleting a volume group
DO a "pvcreate -f
This will force the pvcreate. If you vgreduce a disk out of a VG, then you don't need the "-f" option of pvcreate, but using a vgexport to "delete" the volume group will require the "-f" option of pvcreate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2000 05:57 AM
тАО10-20-2000 05:57 AM
Re: Deleting a volume group
if the pvcreate -f ... does not work i do this hack to desytoy lvm informations on the disk:
prealloc /var/tmp/scratch 2000000
dd if=/var/tmp/scratch of=/dev/rdsk/c?t?d0 bs=64k
rm /var/tmp/scratch
Watch out for the correct devive else you have the risk of destroying other data.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2000 05:58 AM
тАО10-20-2000 05:58 AM
Re: Deleting a volume group
There's nothing wrong with using vgexport to remove a volume group from the system - it's the quickest way to do it. The only issue is that the disks still know that they are part of a VG (which might be vgimported into a system) and warn you when you attempt to pvcreate them.
As the others have stated, the -f flag to pvcreate overrides the objection.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2000 06:01 AM
тАО10-20-2000 06:01 AM
Re: Deleting a volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2000 10:28 AM
тАО10-20-2000 10:28 AM
Re: Deleting a volume group
work as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2000 01:25 PM
тАО10-20-2000 01:25 PM