- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgcfgbackup
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
Discussions
Discussions
Forums
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
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
тАО11-05-2003 08:06 AM
тАО11-05-2003 08:06 AM
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 5 disks for "/dev/vg01"; /etc/lvmtab has 4 disks.
Cannot proceed with backup.
I checked /etc/lvmtab shows there are 4 disks
which is correct. How can I change kernel to
recognize there are only 4 disks instead of 5?
Thanks for any help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 08:15 AM
тАО11-05-2003 08:15 AM
Re: vgcfgbackup
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065011231
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 08:45 AM
тАО11-05-2003 08:45 AM
Re: vgcfgbackup
does not apply to my situation. I don't have
missing disk device. The number of disk are correct in /etc/lvmtab and /etc/lvmconf/vg01.conf files (4 disks). It also correct after run "vgcfgrestore -n /dev/vg01 -l" command. vgdisplay do indeed shows Cur PV is 5, and Act PV is 4. I need to fix it, so Cur PV also shows 4 instead of 5. I have too many disks instead of missing disks.
Thank you....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 08:52 AM
тАО11-05-2003 08:52 AM
Re: vgcfgbackup
1) Check and apply all latest LVM and Kernel patches.
2) Reactivate VG (vgchange -a n and vgchange -a y)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 08:57 AM
тАО11-05-2003 08:57 AM
Re: vgcfgbackup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 09:03 AM
тАО11-05-2003 09:03 AM
Re: vgcfgbackup
THen run vgscan ( man vgscan ) in preview mode to see if you get the correct number of PV in the volume groups .
if you are satisfied with that , then re run vgscan without the preview option , whcih will recreate your lvmtab file . Then run vgcfgbackup again .
If it doesnot run , you can always restore your copied lvmtba file .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 09:24 AM
тАО11-05-2003 09:24 AM
Solutionactually your VG physically consists of 5 disks, believe me. The 5th (maybe phantom) disk can usually be vgreduce'ed out of the VG using:
vgreduce -f /dev/vg01
However, if LVM believes to have extents on that PV then this command would not work, but at least you get more precise information about the actual problem.
So please run the command above and post the results.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 09:45 AM
тАО11-05-2003 09:45 AM
Re: vgcfgbackup
I tried vgexport and vgimport but trust me nothing will work.
The only solution to decrement the counter on the disk is to do a
vgreduce -f /dev/vg01
after doing this you'll find Current PV and Active PV same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 01:09 PM
тАО11-05-2003 01:09 PM
Re: vgcfgbackup
I have seen this quite a bit in cases where a hard drive will crash and a replacement is put back into the VG incorrectly. It thinks that there are five but you really only have four. I have used Dietmar's proceedure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2003 01:08 AM
тАО11-06-2003 01:08 AM