This is a discussion on Mirroring problem... within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hello, I have problem to create mksysb because many partitions are mirrored but the mirroring don't works fine. This ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, I have problem to create mksysb because many partitions are mirrored but the mirroring don't works fine. This is the result lsvg -l rootvg # lsvg -l rootvg rootvg: LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT hd5 boot 1 1 1 closed/syncd N/A 0516-1147 : Attention - Il existe peut-être une copie miroir partielle du volume logique hd6. hd6 paging 98 148 3 open/syncd N/A hd8 jfs2log 1 1 1 open/syncd N/A 0516-1147 : Attention - Il existe peut-être une copie miroir partielle du volume logique hd4. hd4 jfs2 20 39 3 open/syncd / hd2 jfs2 64 64 1 open/syncd /usr 0516-1147 : Attention - Il existe peut-être une copie miroir partielle du volume logique hd9var. hd9var jfs2 12 16 3 open/syncd /var hd3 jfs2 32 32 1 open/syncd /tmp hd1 jfs2 1 1 1 open/syncd /home 0516-1147 : Attention - Il existe peut-être une copie miroir partielle du volume logique hd10opt. hd10opt jfs2 10 18 3 open/syncd /opt Do you know how can I repair this error ? # lslv -l hd9var 0516-022 : valeur de paramètre ou de structure non autorisée. 0516-304 : impossible de trouver l'ID de l'unité 0000000000000000 dans la base de données de configuration des unités. hd9var:/var PV COPIES IN BAND DISTRIBUTION hdisk2 012:000:000 58% 000:001:007:004:000 hdisk0 004:000:000 100% 000:000:004:000:000 0000000000000000 008:000:000 ? ? |
| |||
| On 26 Mar, 15:53, Jarod99 <dono7...@gmail.com> wrote: All your voluimse are "syncd" so the data is all intact. The easiest way to fix this is to (a) check that you will have enough space to mirror all the data succesfully by adding the number of LPs, multiplying by 2 and comparing with the total PPs in the output of "lsvg rootvg". If you have enough space then b) make a mksysb. The (c) use "rmlvcopy" to set the number of copies of each LV to one for each LV where PPs > LPs. Then (d) use mirrorvg to setup the mirroring correctly. |
| ||||
| On 26 mar, 21:24, sjm <sjm_n...@yahoo.co.uk> wrote: > On 26 Mar, 15:53, Jarod99 <dono7...@gmail.com> wrote: > > All your voluimse are "syncd" so the data is all intact. The easiest > way to fix this is to (a) check that you will have enough space to > mirror all the data succesfully by adding the number of LPs, > multiplying by 2 and comparing with the total PPs in the output of > "lsvg rootvg". If you have enough space then b) make a mksysb. The (c) > use "rmlvcopy" to set the number of copies of each LV to one for each > LV where PPs > LPs. Then (d) use mirrorvg to setup the mirroring > correctly. Hello, Thank you for your response but I haven't understand everything: LPS Sum : 258*2=516 PPs Sum : 358 FREE PPS :726 # lsvg -p rootvg rootvg: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk0 active 542 442 109..58..60..108..107 hdisk2 active 542 284 108..00..00..67..109 Do you think I have enough space ? Is isn't dangerous to use "rmlvcopy" for rootvg ? What is the procedure to use "rmlvcopy" ? Have I to use "rmlvcopy" for all partitions and after I use "mirrorvg" or,I use "rmlvcopy" for each partition and after each partition I use "mirrorvg" ? Best Regards, |