System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Stale lv's on both primary and alternate paths during pvmove

SOLVED
Go to solution
nancy rippey
Trusted Contributor

Stale lv's on both primary and alternate paths during pvmove

I am moving EMC disk to a new cabinet using pvmove. Hundreds of disks have been moved without problem....until now.

I have two disks that already have some data on them. I am trying to move my last disk to it and am getting an I/O error. I have found that I have two stale le's. Does anyone have any idea how to fix the situation. Thanks in advance
Output from vgdisplay on the disks:
PV Name /dev/dsk/c65t1d6
PV Name /dev/dsk/c64t1d6 Alternate Link
PV Status available
Total PE 538
Free PE 536
Autoswitch On

Output from pvdisplay on individual disks
servername# pvdisplay -v /dev/dsk/c65t1d6 | grep stale
00000 stale /dev/xtst037vg/lvol4 00900
00001 stale /dev/xtst037vg/lvol7 00864
servername# pvdisplay -v /dev/dsk/c64t1d6 | grep stale
00000 stale /dev/xtst037vg/lvol4 00900
00001 stale /dev/xtst037vg/lvol7 00864
omdx1a95#
nrip
5 REPLIES
Steven E. Protter
Exalted Contributor

Re: Stale lv's on both primary and alternate paths during pvmove

Shalom,

Try lvsync.

see the man page for syntax, its been a while.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
nancy rippey
Trusted Contributor

Re: Stale lv's on both primary and alternate paths during pvmove

lvsync is not a valid command command because these are mirrored. It is EMC disk with primary and alternate pathing
nrip
Ganesan R
Honored Contributor
Solution

Re: Stale lv's on both primary and alternate paths during pvmove

Hi,

If there is physical I/O on the lun, then you will not be able to read the data by any commands.

Only possiblity is recreate the lv on some other location and restore the data from the backup.
Best wishes,

Ganesh.
nancy rippey
Trusted Contributor

Re: Stale lv's on both primary and alternate paths during pvmove

That is what I was afaid of. Fortunately a test database.

All,
Thanks for the feedback.
nrip
nancy rippey
Trusted Contributor

Re: Stale lv's on both primary and alternate paths during pvmove

Closing thread
nrip