- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with LVM
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
Forums
Discussions
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
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-07-2005 08:06 AM
04-07-2005 08:06 AM
Problem with LVM
I have a problem to include the disk in VG00.
# vgextend /dev/vg00 /dev/dsk/c3t6d0
Volume group "/dev/vg00" has been successfully extended.
Warning: Can not determine all Physical Volumes on which mirrored copies of
the Logical Volume are located. "/etc/lvmtab" is missing Physical Volumes.
Warning: Can not determine all Physical Volumes on which mirrored copies of
the Logical Volume are located. "/etc/lvmtab" is missing Physical Volumes.
Warning: Can not determine all Physical Volumes on which mirrored copies of
the Logical Volume are located. "/etc/lvmtab" is missing Physical Volumes.
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 9 disks for "/dev/vg00"; /etc/lvmtab has 8 disks.
Cannot proceed with backup.
Someone can help-me ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 08:47 AM
04-07-2005 08:47 AM
Re: Problem with LVM
The problem, I suspect, is in the lvmtab file itself.
Move it out of /etc and run
vgscan -av
Make sure it is no longer in /etc or the vgscan command will reference it while working.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 08:50 AM
04-07-2005 08:50 AM
Re: Problem with LVM
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 09:00 AM
04-07-2005 09:00 AM
Re: Problem with LVM
This looks like a corrupted lvmtab file,it is better to move to a differnt name and run vgscan -av which will create it back like other mentioned here.
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 09:09 AM
04-07-2005 09:09 AM
Re: Problem with LVM
Following the command bellow
[/] # lvlnboot -R
Warning: Can not determine all Physical Volumes on which mirrored copies of
the Logical Volume are located. "/etc/lvmtab" is missing Physical Volumes.
Warning: Can not determine all Physical Volumes on which mirrored copies of
the Logical Volume are located. "/etc/lvmtab" is missing Physical Volumes.
Warning: Can not determine all Physical Volumes on which mirrored copies of
the Logical Volume are located. "/etc/lvmtab" is missing Physical Volumes.
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 9 disks for "/dev/vg00"; /etc/lvmtab has 8 disks.
Cannot proceed with backup.
[/] # lvlnboot -v
lvlnboot: Warning: Can not determine all Physical Volumes on which mirrored copies of
the Logical Volume are located. "/etc/lvmtab" is missing Physical Volumes.
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c3t3d0 (10/0.3.0)
/dev/dsk/c3t4d0 (10/0.4.0)
/dev/dsk/c3t5d0 (10/0.5.0)
/dev/dsk/c3t6d0 (10/0.6.0) -- Boot Disk
/dev/dsk/c4t3d0 (10/8.3.0)
/dev/dsk/c4t4d0 (10/8.4.0) -- Boot Disk
/dev/dsk/c4t5d0 (10/8.5.0)
/dev/dsk/c4t6d0 (10/8.6.0)
Boot: lvol1 on: /dev/dsk/c4t4d0
Root: lvol3 on: /dev/dsk/c4t4d0
Swap: lvol2 on: /dev/dsk/c4t4d0
Dump: lvol7 on: /dev/dsk/c3t5d0, 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 09:11 AM
04-07-2005 09:11 AM
Re: Problem with LVM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 01:17 PM
04-07-2005 01:17 PM
Re: Problem with LVM
please first do
strings /etc/lvmtab and check through the list of disks, there's no easy turning back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 07:01 PM
04-07-2005 07:01 PM
Re: Problem with LVM
the kernel thinks the VG has 9 PVs, but your lvmtab only contains 8. Normally vgreduduce -f vg00 should resolve this, UNLESS there are still extents allocated from the "phantom" PV.
Pls check with lvdisplay -v all your LVs and look if there are any "???" LEs listed. If this is the case then you would need to reduce them from the lvol to free these extents (using -k option).
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 07:18 PM
04-07-2005 07:18 PM