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, ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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. |
| |||
| 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 |
| |||
| 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 |
| |||
| 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 |
| |||
| 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? > |
| ||||
| 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 |