- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Volume Group still thinks it's active
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-16-2007 11:04 PM
03-16-2007 11:04 PM
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 12 disks for "/dev/vg1_bc_data"; /etc/lvmtab has 9 disks
After reading ITRC I have tried a number of things including vgscan vgchange & eventually removing the group files etc.
My issue now is that the volume group still thinks it's active but as it's not in lvmtab, I cannot deactivate it ?
Errors I'm getting are :
pisces# vgimport /dev/vg1_bc_data /dev/dsk/c28t7d6
Volume group "/dev/vg1_bc_data" is still active.
vgchange -a n /dev/vg1_bc_data
vgchange: Volume group "/dev/vg1_bc_data" does not exist in the "/etc/lvmtab" file.
Does anyone know what options I can you to either force deactivation, or just remove it all together and start again ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2007 11:53 PM
03-16-2007 11:53 PM
Re: Volume Group still thinks it's active
It might be too much asked, depending on your site policies but I dob't think it's good to point you anywhere with incomplete data.
Actually, even the grabbing the VGIDs off disk would be good :)
That 9/12 issue is not what I'd call a clean state.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2007 03:31 AM
03-17-2007 03:31 AM
Re: Volume Group still thinks it's active
2. do a vgexport -f /dev/vg1_bc_data
3. follow the instructions that vgexport will state about making a copy of lvmtab, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2007 06:09 AM
03-17-2007 06:09 AM
SolutionWhat about one of these two ideas:
1) Restore the lvmtab from backup and attempt another deactivate.
2) mv /etc/lvmtab /etc/lvmtab.save vgscan -a
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2007 09:51 PM
03-17-2007 09:51 PM
Re: Volume Group still thinks it's active
Preferably you can restore your lvmtab from the backup then repeat the vgexport and vgimport. After restoring your lvmtab
do an vgexport & import as follows
#vgchange -a n vg1_bc_data
#vgexport -v vg1_bc_data
#vgimport -v vg1_bc_data /dev/dsk/c28t7d6
Rgds
Perumal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2007 09:22 PM
03-18-2007 09:22 PM
Re: Volume Group still thinks it's active
My problem was trying to get out of the loop where it thought the VG was active with no entry in the LVMTab so couldn't de-activate it. Looking back at it, a restore would of been a good idea.
I ended up cleaning the device files and rebooting the server (as it was out of hours) and finding out why why it thought it had only 9 out of 12 Disks active.
It turned out another Admin had added the 3 disks to the source VG and hadn't taken them into account for the business copy so I had to add them in for the import/activation to work.
Thanks for you responses - esp. over the weekend :-)