Unix Technical Forum

Problem with mirroring rootvg : Unable to synchronize logical volume

This is a discussion on Problem with mirroring rootvg : Unable to synchronize logical volume within the AIX Operating System forums, part of the Unix Operating Systems category; --> AIX 5.1 Hi all, Today, an IBM tech came to change a defective system disk on a F50. Seemingly, ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 07:02 AM
tomapam@gmail.com
 
Posts: n/a
Default Problem with mirroring rootvg : Unable to synchronize logical volume

AIX 5.1

Hi all,

Today, an IBM tech came to change a defective system disk on a F50.
Seemingly, the brand new disk works fine ('diag' returns no errors).
But when I try to recreate the rootvg mirror, I obtain the following
message :

# mirrorvg rootvg hdisk1
0516-934 /usr/sbin/syncvg: Unable to synchronize logical volume hd9var.
0516-934 /usr/sbin/syncvg: Unable to synchronize logical volume hd3.
0516-934 /usr/sbin/syncvg: Unable to synchronize logical volume hd1.
0516-934 /usr/sbin/syncvg: Unable to synchronize logical volume
hd10opt.
0516-932 /usr/sbin/syncvg: Unable to synchronize volume group rootvg.
0516-1126 mirrorvg: rootvg successfully mirrored, user should perform
bosboot of system to initialize boot records. Then, user must
modify
bootlist to include : hdisk1 hdisk0.


The mirror seems to be effective though :

# lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT
POINT
hd5 boot 2 4 2 closed/syncd N/A
hd6 paging 256 512 2 open/syncd N/A
hd8 jfslog 1 2 2 open/syncd N/A
hd4 jfs 5 10 2 open/syncd /
hd2 jfs 220 440 2 open/syncd /usr
hd9var jfs 16 32 2 open/stale /var
hd3 jfs 6 12 2 open/stale /tmp
hd1 jfs 1 2 2 open/stale /home
hd10opt jfs 8 16 2 open/stale /opt



Any idea?

Best regards

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 07:02 AM
vlad.zam@gmail.com
 
Posts: n/a
Default Re: Problem with mirroring rootvg : Unable to synchronize logical volume

bootinfo -b
depending on the result ( hdisk1 or hdisk0 )
unmirrorvg rootvg hdisk# ( the opposite to one you get as output from
prev. command )
then
lsvg -l rootvg
make sure you don't have any stale partitions then mirror rootvg again.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 07:02 AM
tomapam@gmail.com
 
Posts: n/a
Default Re: Problem with mirroring rootvg : Unable to synchronize logical volume

Ok, I've done what you recommended, I succesfully unmirrored my rootvg.

Here is the result of 'lsvg -l rootvg ' :

# lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT
POINT
hd5 boot 2 2 1 closed/syncd N/A
hd6 paging 256 256 1 open/syncd N/A
hd8 jfslog 1 1 1 open/syncd N/A
hd4 jfs 5 5 1 open/syncd /
hd2 jfs 220 220 1 open/syncd /usr
hd9var jfs 16 32 2 open/stale /var
hd3 jfs 6 12 2 open/stale /tmp
hd1 jfs 1 2 2 open/stale /home
hd10opt jfs 8 16 2 open/stale /opt

What is a 'stale' partition anyway?

Thx a lot for your help.

Regards

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 07:02 AM
vlad.zam@gmail.com
 
Posts: n/a
Default Re: Problem with mirroring rootvg : Unable to synchronize logical volume

stale means it doesn't have all PP active/available

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 07:02 AM
tomapam@gmail.com
 
Posts: n/a
Default Re: Problem with mirroring rootvg : Unable to synchronize logical volume

Ok, I've done what you recommended, I succesfully unmirrored my rootvg.

Here is the result of 'lsvg -l rootvg ' :

# lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT
POINT
hd5 boot 2 2 1 closed/syncd N/A
hd6 paging 256 256 1 open/syncd N/A
hd8 jfslog 1 1 1 open/syncd N/A
hd4 jfs 5 5 1 open/syncd /
hd2 jfs 220 220 1 open/syncd /usr
hd9var jfs 16 32 2 open/stale /var
hd3 jfs 6 12 2 open/stale /tmp
hd1 jfs 1 2 2 open/stale /home
hd10opt jfs 8 16 2 open/stale /opt

What is a 'stale' partition anyway?

Thx a lot for your help.

Regards

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-05-2008, 07:02 AM
tomapam@gmail.com
 
Posts: n/a
Default Re: Problem with mirroring rootvg : Unable to synchronize logical volume

Damn, iam stil a noob in using Google groups...shame on me.

Ok then I guess i have a problem.....

Can I force inactive PP's to become active?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-05-2008, 07:02 AM
vlad.zam@gmail.com
 
Posts: n/a
Default Re: Problem with mirroring rootvg : Unable to synchronize logical volume

unmirrorvg first, make sure you don't have any stale partitions ( lslv
on lv that listed open/stale to find out more information )...
and make sure you don't have ANY h/w problem with those 2
disks/adapters...
reducevg to remove new disk from rootvg
lsvg -l rootvg to make sure no stale partitions
if so
extendvg rootvg hdisk# ( new one )
mirrorvg rootvg

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-05-2008, 07:02 AM
James T. Sprinkle
 
Posts: n/a
Default Re: Problem with mirroring rootvg : Unable to synchronize logical volume

syncvg -v rootvg

JaYmZ
<tomapam@gmail.com> wrote in message
news:1121952915.580714.66220@g49g2000cwa.googlegro ups.com...
> Damn, iam stil a noob in using Google groups...shame on me.
>
> Ok then I guess i have a problem.....
>
> Can I force inactive PP's to become active?
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-05-2008, 07:03 AM
tomapam@gmail.com
 
Posts: n/a
Default Re: Problem with mirroring rootvg : Unable to synchronize logical volume

IBM support provided me the solution today.

# rmlvcopy hd3 1 00301370bf17265a

The same command must be run with all /dev/device containing stale PP's

('00301370bf17265a' is the defective removed disk's ID)

Then :

# reducevg -df rootvg 00301370bf17265a

Finally, I was able to recreate the system mirror succesfully,


Peace

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:39 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com