GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: stale PV
Operating System - HP-UX
1848619
Members
1692
Online
104033
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-30-2008 02:02 AM
06-30-2008 02:02 AM
stale PV
Hi Everybody,
This is not a fully functional servwr but has following error, what should be my corrective steps. Certain PVs are showing "stale"
# vgdisplay vg01
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 5
Open LV 5
Max PV 16
Cur PV 4
Act PV 2
Max PE per PV 2303
VGDA 4
PE Size (Mbytes) 4
Total PE 3326
Alloc PE 875
Free PE 2451
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
also
# lvdisplay /dev/vg01/data2
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d2":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d4":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg01/data2
VG Name /dev/vg01
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1000
Current LE 250
Allocated PE 500
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
This is not a fully functional servwr but has following error, what should be my corrective steps. Certain PVs are showing "stale"
# vgdisplay vg01
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 5
Open LV 5
Max PV 16
Cur PV 4
Act PV 2
Max PE per PV 2303
VGDA 4
PE Size (Mbytes) 4
Total PE 3326
Alloc PE 875
Free PE 2451
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
also
# lvdisplay /dev/vg01/data2
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d2":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d4":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg01/data2
VG Name /dev/vg01
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1000
Current LE 250
Allocated PE 500
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2008 02:18 AM
06-30-2008 02:18 AM
Re: stale PV
Hello,
Look at these two values.
Cur PV 4
Act PV 2
It is clearly showing there are physical volumes issue. Check all the physical volumes belongs to VG01 shows claimed on ioscan. If it is online then there is mismatch between /etc/lvmtab and kernel LVM data.
In that case it is possible that LVM headers may corrupt on the missing PV's. you may have to restore the LVM headers from backup using vgcfgrestore.
Try vgcfgrestore -n vg01 -l to confirm these missed PV's belongs to VG01
Hope this helps
Look at these two values.
Cur PV 4
Act PV 2
It is clearly showing there are physical volumes issue. Check all the physical volumes belongs to VG01 shows claimed on ioscan. If it is online then there is mismatch between /etc/lvmtab and kernel LVM data.
In that case it is possible that LVM headers may corrupt on the missing PV's. you may have to restore the LVM headers from backup using vgcfgrestore.
Try vgcfgrestore -n vg01 -l to confirm these missed PV's belongs to VG01
Hope this helps
Best wishes,
Ganesh.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2008 02:34 AM
06-30-2008 02:34 AM
Re: stale PV
thanks Ganesan, i used vgfcgrestore and indeed fixed the problem.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP