- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: removing old volume groups and logical volumes
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-30-2001 06:58 PM
03-30-2001 06:58 PM
thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2001 07:42 PM
03-30-2001 07:42 PM
Re: removing old volume groups and logical volumes
# vgexport /dev/vg_name
This will remove their entry from the /etc/lvmtab and the directory under /dev.
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2001 06:48 AM
03-31-2001 06:48 AM
Re: removing old volume groups and logical volumes
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2001 08:37 AM
03-31-2001 08:37 AM
Re: removing old volume groups and logical volumes
Have a look at "man vgscan", I would suggest vgscan -pv first but make sure you are aware that the order of the disks may change if you then do a vgscan -apv.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2001 08:39 AM
03-31-2001 08:39 AM
Re: removing old volume groups and logical volumes
;-)
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2001 03:30 PM
04-01-2001 03:30 PM
SolutionIt seems in fact that the best what you should do is use vgscan command. But exactly try the following steps:
1. move lvmtab somwhere
2. remove all unnecessary /dev/vgXX directories with
group file in it, if such directories exist. Leaving them
to unexpected results.
3. issue vgscan command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2001 02:21 AM
04-02-2001 02:21 AM
Re: removing old volume groups and logical volumes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2001 04:54 AM
04-02-2001 04:54 AM
Re: removing old volume groups and logical volumes
During a recreate of a vg I experienced problems related to major and minor numbers in use, even tough no trace where found in any files.
According to HP-tech this was due to storing of the major and minor numbers in use in the kernel loaded in memory.
Reboot to get rid of these, or as I did use new numbers in the group creation.
Just a tip.
Andreas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2001 03:00 PM
04-02-2001 03:00 PM
Re: removing old volume groups and logical volumes
I did a 'vgexport' for each of the old, non-existant groups. For some of them whose group file had already been removed manually (and therefore vgexport wouldn't work), I just recreated the file with 'mknod' and then issued vgexport command again, and that worked great... next time I'll try deleting all /dev/vg* directories and then issue vgscan. According to above answers, this should also yield the same result.