- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Only one LV extent is stale on a disk when lvdispl...
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
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
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
тАО03-14-2003 08:07 AM
тАО03-14-2003 08:07 AM
LV status is available/stale.
Is this a problem with the entire disk and it needs replacement or just one extent ? how would I fix that ?
Thanks
(see lvdisplay attach below)
=================================
# lvdisplay -v /dev/vgprod2/lvol8|pg
--- Logical volumes ---
LV Name /dev/vgprod2/lvol8
VG Name /dev/vgprod2
LV Permission read/write
LV Status available/stale
Mirror copies 1
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c2t11d0 1625 1625
/dev/dsk/c6t11d0 1625 1625
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c2t11d0 00000 current /dev/dsk/c6t11d0 00000 stale
00001 /dev/dsk/c2t11d0 00001 current /dev/dsk/c6t11d0 00001 current
00002 /dev/dsk/c2t11d0 00002 current /dev/dsk/c6t11d0 00002 current
00003 /dev/dsk/c2t11d0 00003 current /dev/dsk/c6t11d0 00003 current
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2003 08:11 AM
тАО03-14-2003 08:11 AM
Re: Only one LV extent is stale on a disk when lvdisplay a LVM
# lvsync /dev/vgprod2/lvol8
and see what happens. If it goes back to current and stays there, then you should be OK.
However, if it does not go to 'current' then your disk is probably on its way out and will need to be replaced soon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2003 08:13 AM
тАО03-14-2003 08:13 AM
Re: Only one LV extent is stale on a disk when lvdisplay a LVM
lvsync /dev/vgprod2/lvol8
If that fails with an I/O error then I'd check the disk with:
dd if=/dev/rdsk/c6t11d0 of=/dev/null bs=64k
It's likely that you've got a single bad area on the disk, if you've got a support contract, get it replaced.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2003 09:56 AM
тАО03-14-2003 09:56 AM
Re: Only one LV extent is stale on a disk when lvdisplay a LVM
# lvsync /dev/dsk/c6t11d0
lvsync: Couldn't find the volume group to which
logical volume "/dev/dsk/c6t11d0" belongs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2003 10:06 AM
тАО03-14-2003 10:06 AM
Solution# vgcfgrestore -n vgprod2 /dev/rdsk/c6t11d0
then run ..
# vgchange -a y vgprod2
The vgchange activation will re-sync the VG.
Check it again if you still see the stale extent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2003 10:07 AM
тАО03-14-2003 10:07 AM
Re: Only one LV extent is stale on a disk when lvdisplay a LVM
lvsync is works with lvname and not with the disk.
You need to use exact lvpath.
In our case try using
#lvsync /dev/vgprod2/lvol8
-USA..