- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Old VG information in /dev
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
02-04-2003 06:20 PM
02-04-2003 06:20 PM
I have inherited a K450 running HPUX 10.20 which has old VG information in /dev that I'd like to get rid of. Basically, there are 2 VGs listed in /dev which really don't exist- I suspect they were created and vgremoved in the past, and the previous admin didn't remove the device files in /dev. Anyway, I added 2 new VGs to this box which are working fine, but I noticed that the 2 old VG's have the same minor number as the 2 new VG's I created. When I run vgscan -P it reports the old VG's names instead of the 2 new ones. Can I safely remove the old VG directories from /dev? Thanks in advance from an HPUX newbie.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 07:22 PM
02-04-2003 07:22 PM
SolutionCheck the contents of /etc/lvmtab by using #strings /etc/lvmtab. If it contains both OLD VG info and New VG info. Export the OLD VG info by # vgexport
If it contains only New VG info then u can very well remove the old VG directory structure under /dev.
If it contains only OLD VG info. Make a backup of /etc/lvmtab, VG backup using vgcfgbackup and map file using vgexport -p. Then u can safely remove your OLD VG Directories and run a vgscan. I hope this solves ur problem.
- suki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 07:37 PM
02-04-2003 07:37 PM
Re: Old VG information in /dev
strings /etc/lvmtab does it show old VGs there? if yes then do vgexport old vgs. This will also remove /dev/oldvgs directory.
If lvmtab does not have the entries for old vgs, then you can just do rm for old vg directories.
Now do vgcfgbackup and vgexport to backup new vgs config. mv lvmtab to lvmtab.old and do vgscan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 07:53 PM
02-04-2003 07:53 PM
Re: Old VG information in /dev
vgexport of the OLD vg on the system.
First do a
#vgchange -a n
#vgexport -m vgXX.map /dev/vgXX
This should remove the associate files in the /dev and the associated entries in the /etc/lvmtab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 06:01 PM
02-07-2003 06:01 PM