Sponsored Content
Full Discussion: rootvg mirroring query
Operating Systems AIX rootvg mirroring query Post 302320501 by northernscumbag on Thursday 28th of May 2009 07:07:55 AM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
CGI::Pretty(3pm)					 Perl Programmers Reference Guide					  CGI::Pretty(3pm)

NAME
CGI::Pretty - module to produce nicely formatted HTML code SYNOPSIS
use CGI::Pretty qw( :html3 ); # Print a table with a single data element print table( TR( td( "foo" ) ) ); DESCRIPTION
CGI::Pretty is a module that derives from CGI. It's sole function is to allow users of CGI to output nicely formatted HTML code. When using the CGI module, the following code: print table( TR( td( "foo" ) ) ); produces the following output: <TABLE><TR><TD>foo</TD></TR></TABLE> If a user were to create a table consisting of many rows and many columns, the resultant HTML code would be quite difficult to read since it has no carriage returns or indentation. CGI::Pretty fixes this problem. What it does is add a carriage return and indentation to the HTML code so that one can easily read it. print table( TR( td( "foo" ) ) ); now produces the following output: <TABLE> <TR> <TD>foo</TD> </TR> </TABLE> Recommendation for when to use CGI::Pretty CGI::Pretty is far slower than using CGI.pm directly. A benchmark showed that it could be about 10 times slower. Adding newlines and spaces may alter the rendered appearance of HTML. Also, the extra newlines and spaces also make the file size larger, making the files take longer to download. With all those considerations, it is recommended that CGI::Pretty be used primarily for debugging. Tags that won't be formatted The following tags are not formatted: <a>, <pre>, <code>, <script>, <textarea>, and <td>. If these tags were formatted, the user would see the extra indentation on the web browser causing the page to look different than what would be expected. If you wish to add more tags to the list of tags that are not to be touched, push them onto the @AS_IS array: push @CGI::Pretty::AS_IS,qw(XMP); Customizing the Indenting If you wish to have your own personal style of indenting, you can change the $INDENT variable: $CGI::Pretty::INDENT = " "; would cause the indents to be two tabs. Similarly, if you wish to have more space between lines, you may change the $LINEBREAK variable: $CGI::Pretty::LINEBREAK = " "; would create two carriage returns between lines. If you decide you want to use the regular CGI indenting, you can easily do the following: $CGI::Pretty::INDENT = $CGI::Pretty::LINEBREAK = ""; AUTHOR
Brian Paulsen <Brian@ThePaulsens.com>, with minor modifications by Lincoln Stein <lstein@cshl.org> for incorporation into the CGI.pm distribution. Copyright 1999, Brian Paulsen. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Bug reports and comments to Brian@ThePaulsens.com. You can also write to lstein@cshl.org, but this code looks pretty hairy to me and I'm not sure I understand it! SEE ALSO
CGI perl v5.16.2 2012-10-11 CGI::Pretty(3pm)
All times are GMT -4. The time now is 05:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy