- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /etc/lvmtab is out of date with the running ke...
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
тАО04-23-2010 05:18 AM
тАО04-23-2010 05:18 AM
/etc/lvmtab is out of date with the running kernel
Not all extents are free. i.e. Out of 4340 PEs, only 4339 are free.
You must free all PEs using lvreduce/lvremove before the PV can be removed.
Example: lvreduce -A n -m 0 /dev/vg01/lvol1.
lvremove -A n /dev/vg01/lvol1
Here's the map of used PEs
--- Logical extents ---
LE LV PE Status 1
0000 . 3265 stale
# lvlnboot -R /dev/vg00
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 3 disks for "/dev/vg00"; /etc/lvmtab has 2 disks.
Cannot proceed with backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2010 05:24 AM
тАО04-23-2010 05:24 AM
Re: /etc/lvmtab is out of date with the running kernel
vgdisplay -v /dev/vg00
strings /etc/lvmtab
ioscan -fnC disk
Is there an LVM command dettached and still running?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2010 06:05 AM
тАО04-23-2010 06:05 AM
Re: /etc/lvmtab is out of date with the running kernel
Check this out:
Seems to be you have 1 ghost disk in vg00, or the disk is missing or failed. vg00 has 3 disk now it can scan only 2.
Check out this doc for disk replacement procedure and rebuilding lvmtab after removing the ghost disk from lvmtab:
Doc attached: When_Good_Disks_Go_Bad.pdf
HTH,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2010 10:25 AM
тАО04-23-2010 10:25 AM
Re: /etc/lvmtab is out of date with the running kernel
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:
Kernel indicates # disks for "/dev/vgname"; /etc/lvmtab has # disks.
Cannot proceed with backup.
Cause:
The number of current and active physical volumes, printed by vgdisplay as Cur PV and Act PV, are not the same. Cur PV and Act PV must always agree for the volume group. This error also indicates that the /etc/lvmtab file, which is used to match physical volumes to a volume group, is out of date with the LVM data structures in memory and on disk.
Recommended Action:
Try to locate any missing disks. For each of the disk in the volume group, use ioscan and diskinfo to confirm that the disk is functioning properly.
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2010 10:38 AM
тАО04-23-2010 10:38 AM
Re: /etc/lvmtab is out of date with the running kernel
The way to go here is to locate the disk and then take action.
vgreduce can be used to fix the problem if a disk has gone missing.
vgchange can be used.
Sometimes this:
cd /etc
mv lvmtab lvmtab.save
vgscan -a
The action depends on the cause of the problem.
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
тАО04-24-2010 12:21 AM
тАО04-24-2010 12:21 AM
Re: /etc/lvmtab is out of date with the running kernel
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 13
Open LV 12
Max PV 16
Cur PV 3
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 8
Total PE 8680
Alloc PE 8680
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
#pvdisplay for c1t2d0
---
03265 current ??? 00000
03266 current /dev/vg00/lvol13 00000
03267 current /dev/vg00/lvol13 00001
03268 current /dev/vg00/lvol13 00002
03269 current /dev/vg00/lvol13 00003
03270 current /dev/vg00/lvol13 00004
03271 current /dev/vg00/lvol13 00005
03272 current /dev/vg00/lvol13 00006
03273 current /dev/vg00/lvol13 00007
How to clear this PE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2010 12:24 AM
тАО04-24-2010 12:24 AM
Re: /etc/lvmtab is out of date with the running kernel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2010 09:04 AM
тАО04-24-2010 09:04 AM
Re: /etc/lvmtab is out of date with the running kernel
vgdisplay logs says..
current PV 3
and A.PV 2 --> one PV may bad.
vgdisplay -v vg00
strings /etc/lvmtab
ioscan -fnC disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2010 09:04 AM
тАО04-24-2010 09:04 AM
Re: /etc/lvmtab is out of date with the running kernel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2010 08:56 PM
тАО04-24-2010 08:56 PM
Re: /etc/lvmtab is out of date with the running kernel
find rar file attachhed