- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- I want to delete non active 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-08-2007 01:37 AM
06-08-2007 01:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 01:39 AM
06-08-2007 01:39 AM
Re: I want to delete non active volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 01:42 AM
06-08-2007 01:42 AM
SolutionThe real reason vgremove isn't working is because the VG still has an LV in it. What you must do if you want to go that route is:
# vgchange -a y /dev/vg??
# lvremove /dev/vg??/lvol?
# vgchange -a n /dev/vg??
# vgremove /dev/vg??
But, if you want the real easy way, and are absolutely sure nothing is in use, then use vgexport as said above.
# vgexport /dev/vg??
will get rid of everything, including all /dev/vg??/* files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 01:53 AM
06-08-2007 01:53 AM
Re: I want to delete non active volume group
'Unable to match' warning.
You can see messages below.
How can I correct these problems?
Thanks
# vgscan -pv
vgscan: The physical volume "/dev/dsk/c0t6d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c3t6d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c13t2d0" is already recorded in the "/etc/lvmtab" file.
Couldn't stat physical volume "/dev/dsk/c1t2d0":
Invalid argument
/dev/vg00
/dev/dsk/c0t6d0
/dev/dsk/c3t6d0
/dev/dsk/c13t2d0
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c13t0d0
/dev/dsk/c13t0d6
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c13t0d1
/dev/dsk/c13t0d2
/dev/dsk/c13t0d3
/dev/dsk/c13t0d4
/dev/dsk/c13t0d7
/dev/dsk/c13t1d0
/dev/dsk/c13t1d1
/dev/dsk/c13t1d2
/dev/dsk/c13t1d3
/dev/dsk/c13t1d4
/dev/dsk/c13t1d5
/dev/dsk/c13t1d6
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c13t0d5
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c13t1d7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 02:00 AM
06-08-2007 02:00 AM
Re: I want to delete non active volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 02:00 AM
06-08-2007 02:00 AM
Re: I want to delete non active volume group
script /tmp/output
strings /etc/lvmtab
vgdisplay -v
ioscan -fnC disk
then press cntl+d
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 02:06 AM
06-08-2007 02:06 AM
Re: I want to delete non active volume group
I attached output file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 02:09 AM
06-08-2007 02:09 AM
Re: I want to delete non active volume group
SAP NetWeaver installation document asks me to execute vgscan command.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 02:13 AM
06-08-2007 02:13 AM
Re: I want to delete non active volume group
vgexport command removes the vg info from the /etc/lvmtab file, deletes the associated device files including the vg_name directory but keeps that info untouched on the physical volume (on the disk)
So if you want you can recreate (undelete) the same vgs using vgimport or clean the vg info from the disk using pvcreate -f commandon each disk.
If you are sure you do not need the data on the unmatched disks and plan to use them in a new volume group just take the second option.
hth.
Orhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 02:20 AM
06-08-2007 02:20 AM
Re: I want to delete non active volume group
vgdisplay -v output showing only vg00 !!
chech the output of #ll /dev/vg*/group
Pls give us more feedback regarding what you are actually want to do?