In my AIX 6.1 box the rootvg was on hdisk2, I tried to migrated it to hdisk0
Added hisk0 to rootvg , mirrored rootvg and changed bootlist and and sucessfully rebooted from hdisk0
Now I tried to remove the hdisk2 from rootvg so breaked mirror
Code:
-bash-3.00# unmirrorvg rootvg hdisk2
0516-1246 rmlvcopy: If hd5 is the boot logical volume, please run 'chpv -c <diskname>'
as root user to clear the boot record and avoid a potential boot
off an old boot image that may reside on the disk from which this
logical volume is moved/removed.
0516-1804 chvg: The quorum change takes effect immediately.
0516-1144 unmirrorvg: rootvg successfully unmirrored, user should perform
bosboot of system to reinitialize boot records. Then, user must modify
bootlist to just include: hdisk0.
-bash-3.00# bootinfo -b
hdisk0
-bash-3.00# chpv -c hdisk2
-bash-3.00# reducevg rootvg hdisk2
-bash-3.00# lspv
hdisk0 0005f8b2b7e6a0f7 rootvg active
hdisk1 0005f8b29b394a29 datavg active
hdisk2 0005f8b223e256a9 rootvg active
even after reducing the VG the hdisk2 still reflects in rootvg
Later I found that the Hdisk contained the sysdumplv
Code:
-bash-3.00# lspv -l hdisk2
hdisk2:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
lg_dumplv 12 12 00..12..00..00..00 N/A
I manually migrated the dumplv to hdisk0 and then removed the hdisk2 from rootvg sucessfully
Code:
-bash-3.00# reducevg rootvg hdisk2
-bash-3.00# lspv
hdisk0 0005f8b2b7e6a0f7 rootvg active
hdisk1 0005f8b29b394a29 datavg active
hdisk2 0005f8b223e256a9 None
I wonder why the mirroring didn't happened for the dumplv when i used mirrorvg rootvg as i saw the following before fixing the issue where the DUMP lv is not mirrored by mirrorvg command where rest all LV's got mirrored.
System dump devices should not be mirrored. You usually create 2 of them separate on each hdisk in your rootvg using smit or mklv. One will be your primary, the other the secondary.
Check out this link or check the man page of mirrorvg to read up on it:
Hi everybody,
I have a little problem with my AIX 6.1, PowerHA 6.1 LVM mirroring.
I accidentally created logical volume cpsabcd2lv with external jfs2log loglv00 in the same volume group cpsdata2vg. Then I mirrored LV cpsabcd2lv on the second LUN in VG cpsdata2vg. My journal is unmirrored and... (0 Replies)
Hello,
I have two hdisk in Power7 machine, the rootvg on hdisk0.
So to make a disk redundancy should make mirror or alt_clone and what is the different.
Appreciate your help
Thanks (1 Reply)
in trying to rectify a stale lv problem I ran rmlvcopy <lv> 1 <primary disk> leaving the original os disk without lv copies other than the stale lv.
Both disks seem operational, but, lsvg rootg shows 1 stale pv.
The end goal is to re-attach the lv's back to hdisk1, and then attempt a reboot... (11 Replies)
Hello,
aix 5.2, mirrored rootvg on hdisk0 and hdisk1. hdisk0 is dead. I can boot to cd, into sms, into maintenance mode. I can fsck all the various partitions on hdisk1 (the hd4 hd2 hd3, etc...) all is fine. But without the hdisk0 part of the mirror I cannot get the system to boot. ystem hangs on... (6 Replies)
Hello,
Few days ago I created both mksysb and savevg archives of rootvg.
How can I restore this rootvg now because the AIX crashed during some software tests. There is no way to start from hdisk0 because most of the system files are deleted (this includes libc.a).
I tough it will be trivial... (6 Replies)
Hello all,
I need help for erasing IBM P5 machine running AIX 5.3.
I have 2 system disks (Hardware mirror) and i'm looking for a way like a LIVE CD bootable CD so I can boot with the cd and then format the system disks with a "secure erase" software. (7 Replies)
We are considering a DR strategy of booting AIX 5.3 and 5.3 logical partitions from EMC Symmetrix SAN disks, so that we can replicate via SRDF to a recovery site. Has anyone tried configuring AIX 5.x systems to boot from SAN disk? If so, can you provide any information on the pros and cons of... (6 Replies)
Hello
I have a question
I have a box with Aix 5.3 with rootvg on mirror.
I deleted a filesystem and I create a new one to install some software but when I type lsvg -l rootvg all my filesystems has mirror unless the new one.
My question is I can mirror this fs only ??? or I have to... (9 Replies)
Hello,
how can i see easily the state of a mirrored disk on a AIX 4.3.3.
I try followed command:
lslv -m >lvname> but for me is not enough information.
thanx in advance
fenomen (2 Replies)