Login or Register to Ask a Question and Join Our Community


rootvg mirroring query


 
Thread Tools Search this Thread
Operating Systems AIX rootvg mirroring query
# 1  
Old 05-26-2009
Question rootvg mirroring query

Hi,

I am having query regarding rootvg mirroring, How to find out that rootvg is mirrored?


Regards

Manoj
# 2  
Old 05-26-2009
Hi,

do lsvg -l rootvg - you should see a 1:2 ratio between lp and pp except for the dumpdevices.

Rgds
zxmaus
# 3  
Old 05-26-2009
1:2 ratio if you have a single mirror.
sample:

# 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 1 2 2 open/syncd N/A
paging00 paging 2 4 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 1 2 2 open/syncd /
hd2 jfs2 7 14 2 open/syncd /usr
hd9var jfs2 2 4 2 open/syncd /var
hd3 jfs2 7 14 2 open/syncd /tmp
hd1 jfs2 20 40 2 open/syncd /home
hd10opt jfs2 3 6 2 open/syncd /opt
hd11admin jfs2 1 2 2 open/syncd /admin
livedump jfs2 1 2 2 open/syncd /var/adm/ras/livedump
# 4  
Old 05-28-2009
Thought that this may also be useful:

As above, list the details of rootvg:

# lsvg -l rootvg
rootvg:
LV NAMETYPELPsPPsPVsLV STATEMOUNT POINT
hd5boot122closed/syncd
hd6paging8162open/syncdN/A
hd8 jfs2log1 2 2 open/syncd N/A
hd4 jfs21 2 2 open/syncd /
hd2 jfs231 62 2 open/syncd /usr
hd9var jfs22 4 2 open/syncd /var
hd3 jfs21 2 2 open/syncd /tmp
hd1 jfs21 2 2 open/syncd /local/home
hd10opt jfs215 30 2 open/syncd /opt
ibmlv jfs22 4 2 open/syncd /ibm
locallv jfs29 18 2 open/syncd /local


The above 'PV' (Physical Volume) column shows that each of the LVs (logical volumes) has 2 physical volumes.

To confirm which are the Physical Volumes used by rootvg:

# lspv | grep rootvg
hdisk0 0056541dbb57c717 rootvg active
hdisk1 0056541d444a581f rootvg active

And if you want to see exactly where a LV is mirrored *(in this case hd2 - /usr):

Code:
# lslv -m hd2
hd2:/usr
LP    PP1  PV1               PP2  PV2               PP3  PV3
0001  0220 hdisk0            0220 hdisk1
0002  0221 hdisk0            0221 hdisk1
0003  0222 hdisk0            0222 hdisk1
0004  0223 hdisk0            0223 hdisk1
0005  0224 hdisk0            0224 hdisk1
0006  0225 hdisk0            0225 hdisk1
0007  0226 hdisk0            0226 hdisk1
0008  0227 hdisk0            0227 hdisk1
0009  0228 hdisk0            0228 hdisk1
0010  0229 hdisk0            0229 hdisk1
0011  0230 hdisk0            0230 hdisk1
0012  0243 hdisk0            0243 hdisk1
0013  0244 hdisk0            0244 hdisk1
0014  0245 hdisk0            0245 hdisk1
0015  0246 hdisk0            0246 hdisk1
0016  0247 hdisk0            0247 hdisk1
0017  0248 hdisk0            0248 hdisk1
0018  0249 hdisk0            0249 hdisk1
0019  0250 hdisk0            0250 hdisk1
0020  0251 hdisk0            0251 hdisk1
0021  0252 hdisk0            0252 hdisk1
0022  0253 hdisk0            0253 hdisk1
0023  0254 hdisk0            0254 hdisk1
0024  0255 hdisk0            0255 hdisk1
0025  0256 hdisk0            0256 hdisk1
0026  0257 hdisk0            0257 hdisk1
0027  0258 hdisk0            0258 hdisk1
0028  0259 hdisk0            0259 hdisk1
0029  0260 hdisk0            0260 hdisk1
0030  0261 hdisk0            0261 hdisk1
0031  0269 hdisk0            0269 hdisk1


Last edited by bakunin; 05-28-2009 at 11:51 AM.. Reason: added code tags, which make alignment even easier
# 5  
Old 05-30-2009
it is mirrored... looking at your hd5
LV NAMETYPELPsPPsPVsLV STATEMOUNT POINT
hd5boot122closed/syncd

now, check your bootlist
does it have both physical disks in the bootlist or not.

type the command

bootlist -m normal -o

if it doesn't , do this

bosboot -ad /dev/hdiskX
This User Gave Thanks to filosophizer For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Reducing / on rootvg

The root filesystem was mirrored, someone/something stopped mirroring, and increased / and /home to ridiculous values (/ got increased to 102gb and its only using 4.3gb, so 98gb is free). Can I reduce the / (/dev/hd4) filesytem down WITHOUT corrupting the the OS? I would do a: chfs -a size=10g... (6 Replies)
Discussion started by: mrmurdock
6 Replies

2. AIX

rootvg mirrored

I want to increase the size of /tmp by 1GB I know that the command is chfs -a size=+1G /tmp But the rootvg is mirrored and when I do a lsvg -p rootvg, I could see 2 disks. Will there be any impact if I increase the size of /tmp when the rootvg is mirrored ? Please advise. (1 Reply)
Discussion started by: newtoaixos
1 Replies

3. AIX

stop and start the mirroring on rootvg !

How to can I stop and start the mirroring on rootvg How to can I know if the mirroring enabled or disabled in the rootvg Please explain and advice! P690_root/>lspv hdisk0------- 00c52c221cf77869---------------------rootvg------- active hdisk1-------... (1 Reply)
Discussion started by: Mr.AIX
1 Replies

4. AIX

how can i remove and rebuild the mirroring for rootvg

how can i remove and rebuild the mirroring for rootvg before applying any patches on the system . (2 Replies)
Discussion started by: thecobra151
2 Replies

5. AIX

mirroring rootvg

I would like to konw wheather below steps are sufficient for mirroring rootvg. extendvg rootvg hdisk1 mirrorvg rootvg bootlist -m normal hdisk0 hdisk1 bosboot -ad hdisk0 bosboot -ad hdisk1 or anything needs to be added. (7 Replies)
Discussion started by: manoj.solaris
7 Replies

6. AIX

rootvg and hardware raid1

Good Morning, We have a JS22 blade that we will be loading AIX5.3 onto it. We just discovered that the JS22 will only support one drive, so we are planning on booting this blade from the Fiber Channel SAN. Orginally we used 2 physical drives and set up RAID 1 and presented the logical drive... (0 Replies)
Discussion started by: brachinus
0 Replies

7. AIX

extendvg and rootvg

When attempting to extend rootvg to a new physical disk I received the following message: 0516-1162 extendvg: Warning, The Physical Partition Size of 64 requires the creation of 1093 partitions for hdisk5. The limitation for volume group rootvg is 1016 physical partitions... (4 Replies)
Discussion started by: jyoung
4 Replies

8. AIX

Anyone know how to access rootvg?

I'm trying to troubleshoot an issue with an AIX system here. I have no experience with system administration of IBM stuff. Our local admin is ... um ... not available at this time. I found something online that said enter service mode - How the heck do I do that??? Why is IBM stuff lack proper... (2 Replies)
Discussion started by: bbbngowc
2 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. AIX

Cloned Rootvg

New Question: The purpose of an alternate disk install is in my opinion to have a ready-to-use-backup and i've read that it is possible to install filesets or software on the cloned disk for testing purposal while the normal system is still running. The question is: how do you tell AIX (5.2... (5 Replies)
Discussion started by: kvanelshocht
5 Replies
Login or Register to Ask a Question

Featured Tech Videos