- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Total PE / Allocated PE mismatch !!!
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
06-20-2003 04:42 AM
06-20-2003 04:42 AM
Even though there are no logical volumes defined in the VG, but still there is a mismatch in the Total PE and Allocated PE.
Please see the output of the "vgdisplay
Any suggestions.
Thanks
Venky
==========================================
Max LV 255
Cur LV 1
Open LV 0
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4341
VGDA 2
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 1024
Free PE 3316
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
==============================================
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 04:47 AM
06-20-2003 04:47 AM
Re: Total PE / Allocated PE mismatch !!!
It also says "Cur LV 1", indicating that a logical volume has been defined. Does a "vgdisplay -v" command show you any logical volumes. If not, I would do a vgexport on this VG and recreate it.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 04:47 AM
06-20-2003 04:47 AM
Re: Total PE / Allocated PE mismatch !!!
strings /etc/lvmtab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 04:49 AM
06-20-2003 04:49 AM
Re: Total PE / Allocated PE mismatch !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 04:51 AM
06-20-2003 04:51 AM
Re: Total PE / Allocated PE mismatch !!!
can you post also a "pvdiplay -v" of each disk in the VG ?
What looks more strange to me is the mismatch between
Cur LV 1
Open LV 0
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 04:54 AM
06-20-2003 04:54 AM
Re: Total PE / Allocated PE mismatch !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 04:55 AM
06-20-2003 04:55 AM
Re: Total PE / Allocated PE mismatch !!!
Please see the output of "vgdisplay -v
It doesn't show any logical volumes defined in this VG.
==============================================
VG Status available
Max LV 255
Cur LV 1
Open LV 0
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4341
VGDA 2
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 1024
Free PE 3316
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Physical volumes ---
PV Name /dev/dsk/c2t2d0
PV Status available
Total PE 4340
Free PE 3316
Autoswitch On
===============================================
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 04:59 AM
06-20-2003 04:59 AM
Re: Total PE / Allocated PE mismatch !!!
In that case, I would re-define the VG. First, run vgexport to remove it, then go through your usual creation via SAM or command line.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 05:05 AM
06-20-2003 05:05 AM
Re: Total PE / Allocated PE mismatch !!!
Please see the output of the "vgexport -v
=========================================
Beginning the export process on Volume Group "/dev/vgroot".
vgexport: Volume group "/dev/vgroot" is still active.
vgexport: Couldn't export volume group "/dev/vgroot".
=======================================
Thanks
Venky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 05:06 AM
06-20-2003 05:06 AM
Re: Total PE / Allocated PE mismatch !!!
in addition to Pete's, i would do a good
"pvcreate -f" of the disk, i think there might be something wrong that is reporting used PE.
Is there any file in the /dev/vg* ? Maybe there is conflict with the minor of another VG or something similar.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 05:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 05:09 AM
06-20-2003 05:09 AM
Re: Total PE / Allocated PE mismatch !!!
# vgchange -a n /dev/vgroot
# vgexport /dev/vgroot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 05:19 AM
06-20-2003 05:19 AM
Re: Total PE / Allocated PE mismatch !!!
I can't see the mismatch (perhaps I'm too tired :-) )
Total = Free + Alloc (4340 = 3316 + 1024)
So you've created a 1Go lvol, but the special files have disapeared. You can try the vgexport/vgimport tip (but first deactivate the vg using vgchange -a n vgxx), or simply try to recreate the special files using mknod, but you have to know the number of the lvol. Try with number 1 and if it doesn't work try with next ...
mknod /dev/vgxx/lvolY b 64 0xNN000Y
mknod /dev/vgxx/rlvolY c 64 0xNN000Y
where Y is the lvol number and NN is the vg number same as what you can get using 'll /dev/vgxx/group"
Check result using vgdisplay -v vgxx. If lvol size is 0, then you've chosen a wrong lovol number, rm both files and try next ...
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2003 12:18 PM
06-23-2003 12:18 PM
Re: Total PE / Allocated PE mismatch !!!
I had this problem once. It was fixed by simply de-activating and re-activating the volume group. I was moving LV from one disk to another. When I had the application down I just did a
vgchange -a n vgname
vgchange -a y vgname
vgdisplay -v vgname
All set, at least for my problem.
- Justin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 01:51 PM
06-24-2003 01:51 PM
Re: Total PE / Allocated PE mismatch !!!
First drop the VG
# cd /
# vgchange ???a n
# vgexport
Re-create the VG
# pvcreate ???f /dev/rdsk/c2t2d0
# mkdir /dev/
# mknod /dev/
where the n stands for a free and unique (!!) minor-number among all other existing VG???s. NN runs from 00 to 09
# vgcreate ???s 4 /dev/
This should do the trick for you.