- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ERROR 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
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
10-03-2005 03:20 AM
10-03-2005 03:20 AM
When execute:
#vgcfgbackup /dev/vg02
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicate.
Cannot proceed with backup.
As I can resolve this problem?
I have used vgexport and vgimport and continuous the problem.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2005 03:22 AM
10-03-2005 03:22 AM
Re: ERROR VGCFGBACKUP
vgcfgrestore -n vg02 /dev/rdsk/cXtXdX ??
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2005 03:31 AM
10-03-2005 03:31 AM
Re: ERROR VGCFGBACKUP
# vgdisplay
and
# vgdisplay /dev/vg02
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2005 03:39 AM
10-03-2005 03:39 AM
Re: ERROR VGCFGBACKUP
1)backup current lvmtab using
cp -p /etc/lvmtab /etc/lvmtab.org
2)rm /etc/lvmtab
3)vgscan -v
Vgscan will create the new LVM tab with all the VGs.
4)compare the o/p of strings /etc/lvmtab and strings /etc/lvmtab.org
If everything looks good try the vgcfgresore on vg02 again .If succeful the you are set .
In case of any issues replace /etc/lvmtab with /etc/lvmtab.org backup file and try to fix the vg02 problem, you may export and import it again.
thx,
bl.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2005 05:26 AM
10-03-2005 05:26 AM
Re: ERROR VGCFGBACKUP
After of aplly command:
Server1:/etc>vgscan -v
Creating "/etc/lvmtab".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg0.
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg0.
vgscan: Couldn't access the list of physical volumes for volume group "/dev/sap.
vgscan: Couldn't access the list of physical volumes for volume group "/dev/sap.
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg0.
vgscan: Couldn't access the list of physical volumes for volume group "/dev/sap.
vgscan: Couldn't access the list of physical volumes for volume group "/dev/sap.
Couldn't stat physical volume "/dev/dsk/c4t2d0":
Invalid argument
/dev/sapdpq4
/dev/dsk/c0t0d0
/dev/dsk/c0t1d0
/dev/dsk/c0t2d0
/dev/dsk/c0t8d0
/dev/dsk/c0t10d0
/dev/dsk/c0t12d0
/dev/dsk/c1t0d0
/dev/dsk/c1t1d0
/dev/dsk/c1t3d0
/dev/dsk/c1t6d0
/dev/dsk/c1t9d0
/dev/vg01
/dev/dsk/c0t3d0
/dev/dsk/c0t4d0
/dev/dsk/c0t5d0
/dev/sapdpq3
/dev/dsk/c0t6d0
/dev/dsk/c1t5d0
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/c0t11d0
/dev/sapvg2
/dev/dsk/c0t13d0
/dev/vg02
/dev/dsk/c0t14d0
/dev/dsk/c1t4d0
/dev/dsk/c1t12d0
/dev/dsk/c1t13d0
/dev/sapdpq2
/dev/dsk/c1t2d0
/dev/dsk/c1t8d0
/dev/vg00
/dev/dsk/c1t10d0
/dev/dsk/c1t11d0
Scan of Physical Volumes Complete.
*** LVMTAB has been created successfully.
*** If PV links are configured in the system.
*** Do the following to resync information on disk.
*** #1. vgchange -a y
*** #2. lvlnboot -R
Server1:/etc>vgchange -a y
Volume group "/dev/sapdpq4" has been successfully changed.
Volume group "/dev/vg01" has been successfully changed.
Volume group "/dev/sapdpq3" has been successfully changed.
Volume group "/dev/sapvg2" has been successfully changed.
Volume group "/dev/vg02" has been successfully changed.
Volume group "/dev/sapdpq2" has been successfully changed.
Volume group "/dev/vg00" has been successfully changed.
Server1:/etc>lvlnboot -Rv
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t10d0 (10/4/4.10.0)
/dev/dsk/c1t11d0 (10/4/4.11.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t11d0
Root: lvol3 on: /dev/dsk/c1t11d0
Swap: lvol2 on: /dev/dsk/c1t11d0
Dump: lvol2 on: /dev/dsk/c1t11d0, 0
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.cof
Volume Group configuration for /dev/sapdpq2 has been saved in /etc/lvmconf/sapdf
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicate.
Cannot proceed with backup.
Server1:/etc>
As I can resolve this problem?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2005 03:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2005 04:13 PM
10-03-2005 04:13 PM
Re: ERROR VGCFGBACKUP
Any recent changes ? Perhaps some disk has been changes recently ?
Can you post "strings /etc/lvmtab" For current and old lvmtab file.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2005 11:36 PM
10-03-2005 11:36 PM
Re: ERROR VGCFGBACKUP
#vgdisplay -v vg02
--- Volume groups ---
VG Name /dev/vg02
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 5
Open LV 5
Max PV 16
Cur PV 5
Act PV 4
Max PE per PV 1016
VGDA 8
PE Size (Mbytes) 4
Total PE 2032
Alloc PE 1158
Free PE 874
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg02/lvol1
LV Status available/syncd
LV Size (Mbytes) 2500
Current LE 625
Allocated PE 625
Used PV 3
LV Name /dev/vg02/lvol2
LV Status available/syncd
LV Size (Mbytes) 2024
Current LE 506
Allocated PE 506
Used PV 1
LV Name /dev/vg02/lvol3
LV Status available/syncd
LV Size (Mbytes) 0
Current LE 0
Allocated PE 0
Used PV 0
LV Name /dev/vg02/lvol4
LV Status available/syncd
LV Size (Mbytes) 2024
Current LE 506
Allocated PE 506
Used PV 2
LV Name /dev/vg02/lv_temp
LV Status available/syncd
LV Size (Mbytes) 100
Current LE 25
Allocated PE 25
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c0t14d0
PV Status available
Total PE 508
Free PE 0
PV Name /dev/dsk/c1t4d0
PV Status available
Total PE 508
Free PE 372
PV Name /dev/dsk/c1t12d0
PV Status available
Total PE 508
Free PE 502
PV Name /dev/dsk/c1t13d0
PV Status available
Total PE 508
Free PE 0
********************************************
#strings /etc/lvmtab
/dev/sapdpq4
`H96
/dev/dsk/c0t0d0
/dev/dsk/c0t1d0
/dev/dsk/c0t2d0
/dev/dsk/c0t8d0
/dev/dsk/c0t10d0
/dev/dsk/c0t12d0
/dev/dsk/c1t0d0
/dev/dsk/c1t1d0
/dev/dsk/c1t3d0
/dev/dsk/c1t6d0
/dev/dsk/c1t9d0
/dev/vg01
/dev/dsk/c0t3d0
/dev/dsk/c0t4d0
/dev/dsk/c0t5d0
/dev/sapdpq3
/dev/dsk/c0t6d0
/dev/dsk/c1t5d0
/dev/sapvg2
/dev/dsk/c0t13d0
/dev/vg02
`H9;
/dev/dsk/c0t14d0
/dev/dsk/c1t4d0
/dev/dsk/c1t12d0
/dev/dsk/c1t13d0
/dev/sapdpq2
/dev/dsk/c1t2d0
/dev/dsk/c1t8d0
/dev/vg00
`H99N7
/dev/dsk/c1t10d0
/dev/dsk/c1t11d0
Miguel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2005 11:44 PM
10-03-2005 11:44 PM
Re: ERROR VGCFGBACKUP
The problem here is quite clear and it describes that one of the disk was replaced in vg02 recently. That is the reason in vgdisplay output it is showing 5 PV's whereas in lvmtab and currently active PV's are only four.
If this was the case you can reduce the VG from the extra disk (Old one allready replaced)by
#vgreduce -f /dev/vg02
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2005 11:48 PM
10-03-2005 11:48 PM
Re: ERROR VGCFGBACKUP
vgdisplay -v
Cur PV 5
Act PV 4
** Kernel thinks this volume group has 5 disks, but lvmtab contains only 4 disks.
/dev/vg02
/dev/dsk/c0t14d0
/dev/dsk/c1t4d0
/dev/dsk/c1t12d0
/dev/dsk/c1t13d0
Incase if you don't have any problem with the filesystem mounting in this volume group
and no ??? marks against the lvdisplay -v /dev/vg02/
#cp /etc/lvmtab
#vgreduce -f /dev/vg02
#mv /etc/lvmtab /etc/lvmtab.old
#vgscan -av
>> After that you can take vgcfgbackup
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 01:17 AM
10-04-2005 01:17 AM
Re: ERROR VGCFGBACKUP
Thanks so much!
#vgcfgbackup vg02
Volume Group configuration for /dev/vg02 has been saved in /etc/lvmconf/vg02.con
f
Thanks
Miguel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 01:28 AM
10-04-2005 01:28 AM
Re: ERROR VGCFGBACKUP
If the problem is resolved, take some time to assign points to the answers to your questions. Your profile shows you have not been doing that regularly. Here are your earlier posts for which you still need to do that.
http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA869896&listType=unassigned&forumId=1
It will also give you prompt responses in future.
Regards,
Devender