Operating System - HP-UX
1844038 Members
2327 Online
110227 Solutions
New Discussion

Mirroring Problem - Stale PVs

 
SOLVED
Go to solution
SHRIPAD
Occasional Contributor

Mirroring Problem - Stale PVs

Hi Experts,

I am facing a problem when trying to mirror the root volume of my server. When I hit "lvextend -m 1 /dev/vg00/lvol1 (secondary disk)" it gives me an error saying resynchronisation failed. MOreover "lvdisplay" also shows the following output of some stale PVs, please advise me as what to do.

Attached is the output of "lvdisplay" syntax.


Thanks

5 REPLIES 5
DCE
Honored Contributor

Re: Mirroring Problem - Stale PVs



Did you try lvsync?

lvsync /dev/vg00/lvol1

man lvsync

Chan 007
Honored Contributor

Re: Mirroring Problem - Stale PVs

Shripad,

I assume your mirror disk is down,

Check ISCAN
and check for availability of the same.

Has all the lvs has the stale volume.

better raise a call with HP, they will eplace this disk.

Once replaced, re create you boor mirror and remirror all lvs...

HAVE fun

Chan
Adisuria Wangsadinata_1
Honored Contributor
Solution

Re: Mirroring Problem - Stale PVs

Hi,

Looks like the disk (/dev/dsk/c9t6d0) is faulty.

Please check with :
1. ioscan -nfCdisk
2. the file /var/opt/resmon/log/event.log
3. the file /var/adm/syslog/syslog.log
4. run dd command to check the disk :

# dd if=/dev/dsk/c9t6d0 of=/dev/null bs=1024k

If you saw either 'I/O error' from the step #4 AND/OR the disk with NO_HW status on step #1 AND/OR any error pointing to the disk on steps #2 & #3, the harddisk need to replace.

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
YoungHwan, Ko
Valued Contributor

Re: Mirroring Problem - Stale PVs

Hi
there is a possibility of disk fail.
You can test the disk use dd command.
# dd if=/dev/rdsk/cXtYdZ of=/dev/null bs=1024k

If the disk is normal, the disk LED will flash regularity. But if not disk LED will flash irregularity.

If the problem is disk fail, check syslog and event.log.
The log show up as media fail.

have a nice day...
Ajitkumar Rane
Trusted Contributor

Re: Mirroring Problem - Stale PVs

Shripad,

The disk c9t6d0 is bad. You can confirm the disk is bad with:
1. ioscan -fnC disk, check the H/W Type and S/W State.
2. diskinfo -v /dev/rdsk/c9t6d0, check the size.
3.# dd if=/dev/rdsk/c1t3d0 of=/dev/null bs=1024k, check id it gives a read / I/O error.

Better do a lvreduce / vgreduce and remove the disk from the VG00 and het it replaced.

Rgds,

Ajit

Amidsts difficulties lie opportunities