Operating System - HP-UX
1752577 Members
5194 Online
108788 Solutions
New Discussion юеВ

Re: Stale PEs on /var that I cannot fix - I tanium 11.23

 
Christopher Hildrum_1
Frequent Advisor

Stale PEs on /var that I cannot fix - I tanium 11.23

All -

I am trying to mirror vg00 because of a failing root disk. I get all the mirroring, etc. complete unitl I mirror /dev/vg00/lvol8 (/var) and get the message:

ducati:/ # lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c0t0d0s2
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
lvextend: Couldn't re-synchronize stale partitions of the logical volume:
I/O error
lvextend: Couldn't resynchronize logical volume "/dev/vg00/lvol8".

When a do the command:
lvdisplay -v -k /dev/vg00/lvol8 | grep stale


I get the following result:

00521 0 01435 current 1 02069 current
00522 0 01436 current 1 02070 current
00523 0 01437 current 1 02071 stale
00524 0 01438 current 1 02072 stale
00525 0 01439 current 1 02073 current
00526 0 01440 current 1 02074 current

I have tried doing a vgsync and get this:

Resynchronized logical volume "/dev/vg00/lvol1".
Resynchronized logical volume "/dev/vg00/lvol2".
Resynchronized logical volume "/dev/vg00/lvol3".
Resynchronized logical volume "/dev/vg00/lvol4".
Resynchronized logical volume "/dev/vg00/lvol5".
Resynchronized logical volume "/dev/vg00/lvol6".
Resynchronized logical volume "/dev/vg00/lvol7".
vgsync: Couldn't re-synchronize stale partitions of the logical volume:
I/O error
vgsync: Couldn't resynchronize logical volume "/dev/vg00/lvol8".
vgsync: Couldn't resynchronize volume group "vg00".

I have shutdown, run an fsck on /var - no luck when I remove the mirror I do not get the stale PEs but I know the root disk is going. Do I have to ignite this to a new disk to fix the problem?

Any other ideas??

Thanks -
Chris

9 REPLIES 9
Prashant Zanwar_4
Respected Contributor

Re: Stale PEs on /var that I cannot fix - I tanium 11.23

Do a ignite and have a proper recovery tape.
Then try doing

dd if= of=/dev/null bs=8192

If you get errors, you have to remove the disk in question.

Remove the disk with new disk, do a restore. And then do mirroring.

Hope this helps
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
G. Vrijhoeven
Honored Contributor
RAC_1
Honored Contributor

Re: Stale PEs on /var that I cannot fix - I tanium 11.23

Seems to be a bad disk used for mirroring.
Is diskinfo OK for the disk??
Is following command returning OK??
dd if=/dev/dsk/cxtxdx of=/dev/nul bs=1024k

Is pvdisplay displays it without problem??

Anil
There is no substitute to HARDWORK
Christopher Hildrum_1
Frequent Advisor

Re: Stale PEs on /var that I cannot fix - I tanium 11.23

I tried this on the non-root disk - can I do this on a live machine?
Christopher Hildrum_1
Frequent Advisor

Re: Stale PEs on /var that I cannot fix - I tanium 11.23

Gideon - I have seen some of those threads doesn't really answer my question.

RAC - I thought the mirror disk was bad as well - I already replaced that and tried again with the same error leading me back to the root disk issue.

Chris
Francis_12
Trusted Contributor

Re: Stale PEs on /var that I cannot fix - I tanium 11.23

Hello,

Are you sure you don't have any significant SCSI/EMS error messages in the /var/adm/syslog/syslog.log file pointing to that disk ?

Hope this helps, Bye.

Francis.


Christopher Hildrum_1
Frequent Advisor

Re: Stale PEs on /var that I cannot fix - I tanium 11.23

WE do have some EMS error - that is how I noticed it. I cannot do a full ignite because of the stale PEs in the /var filesystem - it just hangs. I am really not sure how to proceed now. Anyone else have any ideas?
RAC_1
Honored Contributor

Re: Stale PEs on /var that I cannot fix - I tanium 11.23

What is the case at the moment??? Is the root disk mirrored??? If yes use setboot and set bood disk to alternate disk. Boot from it. Check if everything is ok or not. Reduce the mirrors and shutdown.

Replace the faulty disk. Boot from mirror.

Once booted, vgcfgrestore -n vg00 /dev/dsk/cxtxdx

vgachnage -a y vg00

vgsync.

Check if everything is OK or not. If not repeate the mirroring procedure.

Anil
There is no substitute to HARDWORK
Prashant Zanwar_4
Respected Contributor

Re: Stale PEs on /var that I cannot fix - I tanium 11.23

Hi,
Can you try extending the VG and do a mirror. I know this is failing. But you are safe that the other file systems are there on the mirror. Once this is acheived you can try booting from Mirror might be just in single user mode. And now just restore /var from your last back on this new mirror disk.

Here if you are successful, which I believe you will. boot from mirror disk now. and do rest of the procedure of replacing the disk

Hope this helps
prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."