- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM - DeConfigure LVM Disks W/O VgImporting First
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
тАО08-13-2003 10:48 AM
тАО08-13-2003 10:48 AM
Is there a quick way to wipe out LVM configs on disks without going through the gyrations of VGimporting them first....
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2003 10:49 AM
тАО08-13-2003 10:49 AM
Re: LVM - DeConfigure LVM Disks W/O VgImporting First
# pvremove pv_path
...is the command you are seeking.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2003 10:53 AM
тАО08-13-2003 10:53 AM
Solutione.g.
dd if=/dev/zero of=/dev/rdsk/c1t6d0 bs=1024k count=16
That ought to do it. Of course, substitute the appropriate raw disk device node for you disk(s).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2003 10:53 AM
тАО08-13-2003 10:53 AM
Re: LVM - DeConfigure LVM Disks W/O VgImporting First
e.g.
dd if=/dev/zero of=/dev/rdsk/c1t6d0 bs=1024k count=16
That ought to do it. Of course, substitute the appropriate raw disk device node for your disk(s).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2003 10:56 AM
тАО08-13-2003 10:56 AM
Re: LVM - DeConfigure LVM Disks W/O VgImporting First
Please note that the command I cited is 'pvremove' as in "remove". It is not a typographical error for 'pvcreate'!!! see the man pages for 'pvremove'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2003 10:59 AM
тАО08-13-2003 10:59 AM
Re: LVM - DeConfigure LVM Disks W/O VgImporting First
That was what I was thinking as well and wanted to be sure first and how far should I go "NULLing" the header/private region area of the disk... I was hoping there would be a "-f" (force) argument to pvremove...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2003 11:02 AM
тАО08-13-2003 11:02 AM
Re: LVM - DeConfigure LVM Disks W/O VgImporting First
I suggest you read my posts, too. Including:
http://docs.hp.com/hpux/onlinedocs/B2355-90692/B2355-90692.html
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2003 11:18 AM
тАО08-13-2003 11:18 AM
Re: LVM - DeConfigure LVM Disks W/O VgImporting First
Thanks.. I was aware already of pvremove as well as the families of commands relating to LVM (vg???, lv??? and pv???) -- it's just that this is a fresh install of HPUX11i and the disks I'd like to use in VxVM formerly belonged to a LVM VG.. pvremove does not allow me to remove its LVM properties without importing it first and going thought the procedures for wiping out the entire VG... A. Clay's approach would seem to work for all intents and purposes..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2003 12:34 AM
тАО08-14-2003 12:34 AM
Re: LVM - DeConfigure LVM Disks W/O VgImporting First
did you tried to initialise disks using vxdisksetup -i option.
or vxdisk init
It should work.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2003 04:24 AM
тАО08-14-2003 04:24 AM
Re: LVM - DeConfigure LVM Disks W/O VgImporting First
No amount of vxdisksetp or vxdisk inits will initialize a disk that was previously used by LVM. VxVM strictly avoids conflicts with whatever other VM's there may be in a system..