- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Removing 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
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
06-05-2002 10:04 AM
06-05-2002 10:04 AM
Here is my plan, please let me know if i am using the correct logic/syntax to make this happen.
Thanks
UNmount filesystems on VG.
#umount /filesystem
Break the mirror (lvol1 expands over 2 disks)
#lvreduce -m 0 /dev/vg02/lvol1 /dev/rdsk/primary_dsk_1 /dev/rdsk/primary_dsk_2
deactivate VG
#vgchange -a n /dev/vg02
Remove LVM data
#vgexport -v /dev/vg02
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 10:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 10:10 AM
06-05-2002 10:10 AM
Re: Removing a Volume Group
# umount /filesystem
# vgchange -a n /dev/vg02
# vgexport -v /dev/vg02
Later you need to "pvcreate -f" on those disks that you want to re-use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 10:11 AM
06-05-2002 10:11 AM
Re: Removing a Volume Group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 10:17 AM
06-05-2002 10:17 AM
Re: Removing a Volume Group
No need to do a lvreduce and break the mirror. Simply umount the filesystem, deactivate the vg and export it.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 11:01 AM
06-05-2002 11:01 AM
Re: Removing a Volume Group
Do like this
1. umoun the files sytems on that VG
2. vgcahnge -a n /dev/vg02
3. vgreduce /dev/vg02 /dev/dsk/cxtydz
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 11:20 AM
06-05-2002 11:20 AM