AIX mirroring repair


 
Thread Tools Search this Thread
Operating Systems AIX AIX mirroring repair
# 1  
Old 10-10-2011
AIX mirroring repair

Hello colleagues!
One day I found that a LV was not mirrored properly.
Some manipulations were realized so the mirroring became well.
Please look jpg attached, may be it would be useful for somebody.
AIX mirroring repair-reparer_le_miroirjpg

Last edited by DaySky; 10-10-2011 at 08:35 AM..
# 2  
Old 10-10-2011
a bit complicated, isn't it?

Code:
migratepv hdisk3 hdisk2

then all pps are on the same hdisk

then run your mklvcopy command with

Code:
-s s

Code:
    -s Strict
            Determines the strict allocation policy. Copies of a logical partition can be allocated to share or not to share the same physical volume. The Strict variable is represented by one of the following:
s
                   Sets a super strict allocation policy, so that the partitions allocated for one mirror cannot share a physical volume with the partitions from another mirror.



if more lvs reside on this hdisks, run the migratepv command with the -l Flag, and specify your lv

cheers
# 3  
Old 10-10-2011
May be, funksen, thank you. But I prefer to manipulate with the engaged data and not to touch the data nearby.
# 4  
Old 10-10-2011
you touch exactly the same data with this method (running migratepv with -l lv_v60logplg),

and you need to add the superstrict mirror flag to your mklvcopy command, because not doing so, may result in the same problem you had before

Code:
mklvcopy -s s lv_v60logplg 2 hdisk3

without superstrict, aix grants all mirror pps on different hdisks, but not that mirror1 always resides on hdisk2, and mirror2 always resides on hdisk3. if you extend your lv now, copy 1 may be on hdisk3, and copy 2 may be on hdisk2


after an unmirror, you may have the same situation
This User Gave Thanks to funksen For This Post:
# 5  
Old 10-10-2011
Ok, funksen, merci beaucoup.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Repair windows 8.0 ntfs partition

I have a 1TB HD, suspect it had bad sectors and blocks... it was pre-installed with windows 8.0.. I was able to boot up ubuntu and looked at the partitions and run a badblocks comand to verify secotors, after getting a serious of Input and Output errors mounting the partition and doing any... (2 Replies)
Discussion started by: ppchu99
2 Replies

2. Boot Loaders

Where to get windows 7 iso file of repair?

I need to make a bootable usb of windows 7 repair disc iso file so that I can use it in case my system doesn't boot up. On net I am getting complete windows 7 OS iso but I need only the repair disc for making bootable iso. I am not sure whether I used right word by using the word disc here... (3 Replies)
Discussion started by: ravisingh
3 Replies

3. AIX

AIX unmirroring while mirroring in background

Hi, by mistake I ran unmirror while mirroring was running in the back ground. anyhow the unmirror operation failed with the following 0516-076 lreducelv: Cannot remove last good copy of stale partition. Resynchronize the partitions with syncvg and try again. 0516-922 rmlvcopy:... (0 Replies)
Discussion started by: ithinksgreen
0 Replies

4. UNIX for Dummies Questions & Answers

How to repair DNS

I am using Mac OS X and my server keeps crashing every several hours or so. I have checked the log file at /var/log/system.log and the entries closest to the crash read Mar 15 22:27:23 server servermgrd: servermgr_dns: no name available via DNS for 192.168.84.21 Mar 15 22:27:23 server... (4 Replies)
Discussion started by: timgolding
4 Replies

5. Windows & DOS: Issues & Discussions

Windows XP recovery/repair mode

hello again all, assume I can not log in to the windows installation, (maybe) because of a system file corruption or failure.. however, I do log in to the system using the windows CD with R (repair) mode, that is the command line prompt. Is there a way in that command prompt to copy the files... (10 Replies)
Discussion started by: milhan
10 Replies

6. Shell Programming and Scripting

need help with oracle repair script

I have a problem. I am attempting to create a repair script for oracle that will read in a print file and perform a repair on an oracle database using the data in the print file. My restrictions are 1) each in list (items with-in parens) must be no more the 250 lines and the last item in the... (1 Reply)
Discussion started by: beilstwh
1 Replies

7. UNIX for Advanced & Expert Users

fsck command - what does it check/repair??

While rebooting one of the UNIX systems here at work, the boot-up process halted and a message appeared telling me that I had to run the fsck command. The command to the best of my knowledge went something like : fsck -F ufs /dev/rdsk/c0t0d0s0 Can someone give me a full list of this command... (4 Replies)
Discussion started by: Kanu77
4 Replies
Login or Register to Ask a Question