- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pvcreate and used disks
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
03-11-2002 01:57 PM
03-11-2002 01:57 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2002 01:58 PM
03-11-2002 01:58 PM
Re: pvcreate and used disks
The pvcreate -f will blow away everything on the disk. You should be safe.
Enjoy,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2002 01:59 PM
03-11-2002 01:59 PM
Re: pvcreate and used disks
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2002 02:01 PM
03-11-2002 02:01 PM
SolutionIf you are truly removing this JBOD and your volume groups in question are all located on these disks, then your easist method is to simply do a vgexport /dev/vgxx for each volume group. You do this on your old box. This will clean up /etc/lvmtab and remove /dev/vgxx/*.
Man vgexport for details.
You can then do a pvcreate -f for each disk and start build your new volume groups.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2002 02:02 PM
03-11-2002 02:02 PM
Re: pvcreate and used disks
1) umount all related FS
2) lvremove all related lvols
3) vgreduce till one disks is left
4) vgremove
Or you can also do vgexport (the fastest way)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2002 02:08 PM
03-11-2002 02:08 PM
Re: pvcreate and used disks
if there is one or more complete volume groups on this Jamaica, the easiest way is probably just unmounting all the filesystems, do a 'vgchange -a n' on all the volume groups on that Jamaica and then remove the complete volume groups with vgexport.
Then on the new server do either a vgimport to import the old volume groups again (then you should also create a mapfile with the vgexport on the original server) or do 'pvcreate -f' to create new volume groups and logical volumes.
Regards,
Werner