- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Wrong PV Move ????
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
01-05-2007 04:29 PM
01-05-2007 04:29 PM
Recenly there was a disk replace ment in our setup ,
for the disk c10t2d0
-------------
PVG Under the VG ( VG05 )
--- Physical volume groups ---
PVG Name vg05p
PV Name /dev/dsk/c10t0d0
PV Name /dev/dsk/c10t1d0
PV Name /dev/dsk/c10t2d0
PV Name /dev/dsk/c11t3d0
PV Name /dev/dsk/c10t4d0
PV Name /dev/dsk/c11t5d0
PV Name /dev/dsk/c10t6d0
PV Name /dev/dsk/c11t7d0
PV Name /dev/dsk/c10t8d0
PV Name /dev/dsk/c11t9d0
PVG Name vg05m
PV Name /dev/dsk/c8t0d0
PV Name /dev/dsk/c9t1d0
PV Name /dev/dsk/c8t2d0
PV Name /dev/dsk/c9t3d0
PV Name /dev/dsk/c8t4d0
PV Name /dev/dsk/c9t5d0
PV Name /dev/dsk/c8t6d0
PV Name /dev/dsk/c9t7d0
PV Name /dev/dsk/c8t8d0
PV Name /dev/dsk/c9t9d0
One of our collegue has done a PV move to a another disk considering the disk is in Mirror Volume &
the disk is free
--------------
# pvmove -n /dev/vg05/lvol1 /dev/dsk/c10t2d0 /dev/dsk/c8t0d0
Transferring logical extents of logical volume "/dev/vg05/lvol1"...
pvmove: Couldn't update the contents of logical extent:
I/O error
--------------
After that the LVsync was not working
# lvsync /dev/vg05/lvol1
lvsync: Couldn't re-synchronize stale partitions of the logical volume:
I/O error
lvsync: Couldn't resynchronize logical volume "/dev/vg05/lvol1".
#
--------------
LVDISPLAY OUTOUT
09773 /dev/dsk/c8t0d0 01093 current PX_NOPV 00000 current
09774 /dev/dsk/c8t0d0 01094 current PX_NOPV 00000 current
09775 /dev/dsk/c8t0d0 01095 current PX_NOPV 00000 current
09776 /dev/dsk/c10t2d0 01096 current /dev/dsk/c8t0d0 01096 stale
From the above output the disk show it is the primary copy and the mirror has PX_NOPV,
and the last line shows it is in the Mirror Copy in stale position
# vgdisplay vg05 |egrep 'Free'
Free PE 43399
#
And this is a production Volume and Data loss will be a Huge impact and Guide me take out of the issue .thanks
Regards
Kumar.S
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 05:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 05:18 PM
01-05-2007 05:18 PM
Re: Wrong PV Move ????
The VG05 has only one LV lvol1
and that was mirrored
Will lvreduce (lvreduce -m 0 /dev/vg05/lvol /dev/dsk/c8t0d0) to the disk will work ? ( the disk is also the part of primary copy )
Regards
Kumar .S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 05:48 PM
01-05-2007 05:48 PM
Re: Wrong PV Move ????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 07:09 PM
01-05-2007 07:09 PM
Re: Wrong PV Move ????
Considering the situation
09776 /dev/dsk/c10t2d0 01096 current /dev/dsk/c8t0d0 01096 stale
if i do a lvreduce to /dev/dsk/c8t0d0 where the disk is in mirror part
what will be the impact to data for below situation where the disk is in primary copy
09774 /dev/dsk/c8t0d0 01094 current PX_NOPV 00000 current
09775 /dev/dsk/c8t0d0 01095 current PX_NOPV 00000 current
There are also some free extents & current extents there
# pvdisplay -v /dev/dsk/c8t0d0 |grep free |wc -l
3243
# pvdisplay -v /dev/dsk/c8t0d0 |grep current |wc -l
1096
Regards
Sathish Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 08:21 PM
01-05-2007 08:21 PM