AIX Rootvg mirror and sysdumplv


 
Thread Tools Search this Thread
Operating Systems AIX AIX Rootvg mirror and sysdumplv
# 1  
Old 03-29-2010
Error AIX Rootvg mirror and sysdumplv

Guys,

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.
Code:
-bash-3.00# lsvg -l rootvg
rootvg:
LV NAME             TYPE       LPs     PPs     PVs  LV STATE      MOUNT POINT
hd5                 boot       1       2       2    closed/syncd  N/A
hd6                 paging     2       4       2    open/syncd    N/A
hd8                 jfs2log    1       2       2    open/syncd    N/A
hd4                 jfs2       20      40      2    open/syncd    /
hd2                 jfs2       20      40      2    open/syncd    /usr
hd9var              jfs2       20      40      2    open/syncd    /var
hd3                 jfs2       20      40      2    open/syncd    /tmp
hd1                 jfs2       20      40      2    open/syncd    /home
hd10opt             jfs2       20      40      2    open/syncd    /opt
hd11admin           jfs2       1       2       2    open/syncd    /admin
lg_dumplv           sysdump    12      12      1    open/syncd    N/A


Last edited by zaxxon; 03-29-2010 at 03:38 AM.. Reason: use code tags please, ty
# 2  
Old 03-29-2010
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:

IBM Info Center - mirrorvg

Helpful commands are:
Code:
sysdumpdev -l
# etc... or
smitty dump

# 3  
Old 03-29-2010
Got it Thanks Smilie
# 4  
Old 03-29-2010
Here is a little bit more interessting info on system dump devices:
IBM Info Center, Configuring a Dump Device
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

AIX - mirror a jfs2log

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)
Discussion started by: Necronomic
0 Replies

2. AIX

AIX hdisk Mirror vs alt_clone

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)
Discussion started by: moudmm
1 Replies

3. AIX

How to manually -re-attach AIX lv's to a mirror?

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)
Discussion started by: mrmurdock
11 Replies

4. AIX

AIX break rootvg mirror from system down

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)
Discussion started by: sshapiro
6 Replies

5. HP-UX

What is the difference between DRD and Root Mirror Disk using LVM mirror ?

what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies

6. AIX

How to restore rootvg archive after AIX 6.1 crash

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)
Discussion started by: +Yan
6 Replies

7. AIX

Erase AIX rootvg system disk

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)
Discussion started by: kobi gabai
7 Replies

8. AIX

AIX 5.2/5.3 - rootvg on SAN disk - pros and cons

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)
Discussion started by: jjgarrot
6 Replies

9. AIX

mirror rootvg

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)
Discussion started by: lo-lp-kl
9 Replies

10. UNIX for Dummies Questions & Answers

Display Mirror State AIX

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)
Discussion started by: fenomen
2 Replies
Login or Register to Ask a Question