- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgdisplay lists incorrect quantity of physical vol...
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
04-27-2004 03:41 AM
04-27-2004 03:41 AM
# vgdisplay -v /dev/vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 3
Act PV 1
Max PE per PV 17502
VGDA 2
PE Size (Mbytes) 4
Total PE 17499
Alloc PE 17499
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/oradatavg/oradatalv
LV Status available/syncd
LV Size (Mbytes) 69996
Current LE 17499
Allocated PE 17499
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c1t0d0
PV Status available
Total PE 17499
Free PE 0
Autoswitch On
# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t2d0
/dev/vg01
/dev/dsk/c1t0d0
The "Cur PV 3" line from vgdisplay is incorrect - I know that there is only one physical disk in vg01. There are only two disks currently in the system. ioscan verifies that two disks are available, diskinfo verifies that both disks are working OK.
How do I correct the "Cur PV" information?
Thanks for your time,
Russell
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 03:53 AM
04-27-2004 03:53 AM
Re: vgdisplay lists incorrect quantity of physical volumns
vgscan -pva (to check in preview mode)
vgscan -av (To rebuild /etc/lvmtab)
check and post the results.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 04:00 AM
04-27-2004 04:00 AM
Re: vgdisplay lists incorrect quantity of physical volumns
Is is possible that some unused disks that were part of vg01 were removed from the system .
Did someone accidently replace the lvmtab file from some old copy .
Check the contents of /etc/lvmconf directory and look for the last succesful backup of vg01.conf .
Use: vgcfgrestore -n /dev/VG_NAME -l to see the list of physical volumes contained within the last good backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 07:11 AM
04-27-2004 07:11 AM
Re: vgdisplay lists incorrect quantity of physical volumns
# vgscan -pva
vgscan: The physical volume "/dev/dsk/c1t0d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c1t2d0" is already recorded in the "/etc/lvmtab" file.
Couldn't stat physical volume "/dev/dsk/c3t2d0":
Invalid argument
vgscan: has no correspoding valid raw device file under /dev/rdsk.
Verification of unique LVM disk id on each disk in the volume group
/dev/vg01 failed.
/dev/vg00
/dev/dsk/c1t2d0
(Note - "/dev/dsk/c3t2d0" is the CDROM)
and here is the result of vgcfgrestore:
# vgcfgrestore -n /dev/vg01 -l
Volume Group Configuration information in "/etc/lvmconf/vg01.conf"
VG Name /dev/vg01
---- Physical volumes : 1 ----
/dev/rdsk/c1t0d0 (Non-bootable)
I'm sure that _something_ must have changed - but I don't know the history of this particular system and the local admin swears that no disk related changes have been made. I do have the ability to recover the entire system from tape if I need to, but I would rather understand the problem and correct it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 07:25 AM
04-27-2004 07:25 AM
Re: vgdisplay lists incorrect quantity of physical volumns
ioscan -fnCdisk
(exclude CDROM) and do pvdisplay on each disk. Check how many reports they belong to vg01. I doubt only one will report.
Though this can be corrected, we will try to find out what is reporting that.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 07:29 AM
04-27-2004 07:29 AM
Solutionforce reduction of missing physical volume(s) in a given volume group.
vgreduce -f /dev/vg01
Then:
rmsf -a /dev/dsk/c3t2d0
then try the vgdisplay -v....
If that doesn't clear it up, you might have to un mount it as well:
umount /mntpoint
then vgchange -a n it, then vgchange -a y it, then remount - see if you still see the 3 PV's....
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 07:48 AM
04-27-2004 07:48 AM
Re: vgdisplay lists incorrect quantity of physical volumns
http://www2.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
04-27-2004 09:07 AM
04-27-2004 09:07 AM
Re: vgdisplay lists incorrect quantity of physical volumns
vgreduce -f /dev/vg01
mv /etc/lvmtab /etc/lvmtab.old
vgscan -av
vgcfgbackup /dev/vg01
Thank you all for the help.