{"id":1007,"date":"2014-01-07T17:33:03","date_gmt":"2014-01-07T12:03:03","guid":{"rendered":"http:\/\/www.asgaur.com\/wp\/?p=1007"},"modified":"2014-03-24T20:11:01","modified_gmt":"2014-03-24T14:41:01","slug":"aix-grow-expand-your-rootvg-on-the-fly-from-6-1-tl-4","status":"publish","type":"post","link":"http:\/\/www.asgaur.com\/wp\/aix-grow-expand-your-rootvg-on-the-fly-from-6-1-tl-4\/","title":{"rendered":"Aix : Grow \/ expand your rootvg on the fly (from 6.1 TL 4)"},"content":{"rendered":"<p><span style=\"color: #2300dc;\"><b>Increase rootvg dynamically<\/b><wbr \/><\/span><wbr \/><\/p>\n<p><wbr \/><\/p>\n<p><wbr \/><br \/>\n<wbr \/><\/p>\n<p><wbr \/><\/p>\n<p><wbr \/>If your rootvg \u201cdisk\u201d is actually virtual, such as a SAN LUN or a logical volume on the VIO server, then it usually can be expanded on the SAN (or using\u00a0<wbr \/>extendlv<wbr \/>\u00a0on the VIOS) and then recognised on the AIX LPAR using the\u00a0<span style=\"font-family: Courier New,monospace;\"><wbr \/>-g<\/span><wbr \/>\u00a0flag of the\u00a0<wbr \/>chvg command<wbr \/>:<\/p>\n<p><wbr \/><\/p>\n<blockquote><p><wbr \/><wbr \/><span style=\"font-family: Courier New,monospace;\"><wbr \/>chvg -g rootvg<\/span><wbr \/><\/p>\n<p><wbr \/><\/p><\/blockquote>\n<p><wbr \/><br \/>\n<span style=\"color: #ff0000;\">Note: this is supported for rootvg and concurrent vgs from AIX 6.1 TL 4. See IBM technote IZ80021 http<wbr \/>:\/\/b<wbr \/>it.l<wbr \/>y\/cm<wbr \/>Hjmy<\/span><\/p>\n<p><span style=\"color: #0000ff;\"><b>Resizing the rootvg disk<\/b><\/span><\/p>\n<p>I tried to increase rootvg on an LPAR running AIX 5.3 TL 11 and hit the following error:<\/p>\n<blockquote><p><span style=\"color: #000000;\"><span style=\"font-family: Courier New,monospace;\"><span style=\"font-size: small;\">aix53_lpar # chvg -g rootvg<\/span><\/span><\/span><\/p>\n<p><span style=\"color: #000000;\"><span style=\"font-family: Courier New,monospace;\"><span style=\"font-size: small;\">0516-1380 chvg: <span style=\"color: #0000cd;\">Re-sizing of the disks is not supported for the rootvg.<\/span><\/span><\/span><\/span><\/p>\n<p><span style=\"color: #000000;\"><span style=\"font-family: Courier New,monospace;\"><span style=\"font-size: small;\">0516-732 chvg: Unable to change volume group rootvg.<\/span><\/span><\/span><\/p><\/blockquote>\n<p>Looks like the volume group needed to be varied off and varied on again. For rootvg, that means a reboot.<\/p>\n<p><b><span style=\"color: #0000cd;\">No reboot on AIX 6.1<\/span><\/b><\/p>\n<p>In AIX 6.1 <span style=\"color: #ff0000;\">(from TL 4 &#8211; use <b>oslevel -s <\/b>to check your AIX level)<\/span>, you can increase rootvg on the fly.<\/p>\n<blockquote><p><span style=\"color: #000000;\"><span style=\"font-family: Courier New,monospace;\"><span style=\"font-size: small;\">aix61_lpar:\/# chvg -g rootvg<\/span><\/span><\/span><\/p>\n<p><span style=\"color: #000000;\"><span style=\"font-family: Courier New,monospace;\"><span style=\"font-size: small;\">0516-1164 chvg: <span style=\"color: #0000ff;\">Volume group rootvg changed.<\/span> \u00a0With given characteristics rootvg can include up to 16 physical volumes with 2032 physical partitions each.<\/span><\/span><\/span><\/p><\/blockquote>\n<p>Example :<\/p>\n<p>bash-3.2# lsvg rootvg<br \/>\nVOLUME GROUP:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 rootvg\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 VG IDENTIFIER:\u00a0 00f8c83f00004c00000001436bebe1dd<br \/>\nVG STATE:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 active\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 PP SIZE:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 256 megabyte(s)<br \/>\nVG PERMISSION:\u00a0\u00a0\u00a0\u00a0\u00a0 read\/write\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 TOTAL PPs:\u00a0\u00a0\u00a0\u00a0\u00a0 119 (30464 megabytes)<br \/>\nMAX LVs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 256\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <strong>FREE PPs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 16 (4096 megabytes)<\/strong><br \/>\nLVs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 12\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 USED PPs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 103 (26368 megabytes)<br \/>\nOPEN LVs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 11\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 QUORUM:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 2 (Enabled)<br \/>\nTOTAL PVs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 VG DESCRIPTORS: 2<br \/>\nSTALE PVs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 STALE PPs:\u00a0\u00a0\u00a0\u00a0\u00a0 0<br \/>\nACTIVE PVs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 AUTO ON:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 yes<br \/>\nMAX PPs per VG:\u00a0\u00a0\u00a0\u00a0 32512<br \/>\nMAX PPs per PV:\u00a0\u00a0\u00a0\u00a0 1016\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 MAX PVs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 32<br \/>\nLTG size (Dynamic): 512 kilobyte(s)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 AUTO SYNC:\u00a0\u00a0\u00a0\u00a0\u00a0 no<br \/>\nHOT SPARE:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 no\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 BB POLICY:\u00a0\u00a0\u00a0\u00a0\u00a0 relocatable<br \/>\nPV RESTRICTION:\u00a0\u00a0\u00a0\u00a0 none\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 INFINITE RETRY: no<br \/>\n<strong>bash-3.2# chvg -g rootvg<\/strong><br \/>\nbash-3.2# lsvg rootvg<br \/>\nVOLUME GROUP:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 rootvg\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 VG IDENTIFIER:\u00a0 00f8c83f00004c00000001436bebe1dd<br \/>\nVG STATE:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 active\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 PP SIZE:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 256 megabyte(s)<br \/>\nVG PERMISSION:\u00a0\u00a0\u00a0\u00a0\u00a0 read\/write\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 TOTAL PPs:\u00a0\u00a0\u00a0\u00a0\u00a0 199 (50944 megabytes)<br \/>\nMAX LVs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 256\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<strong>\u00a0 FREE PPs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 96 (24576 megabytes)<\/strong><br \/>\nLVs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 12\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 USED PPs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 103 (26368 megabytes)<br \/>\nOPEN LVs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 11\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 QUORUM:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 2 (Enabled)<br \/>\nTOTAL PVs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 VG DESCRIPTORS: 2<br \/>\nSTALE PVs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 STALE PPs:\u00a0\u00a0\u00a0\u00a0\u00a0 0<br \/>\nACTIVE PVs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 AUTO ON:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 yes<br \/>\nMAX PPs per VG:\u00a0\u00a0\u00a0\u00a0 32512<br \/>\nMAX PPs per PV:\u00a0\u00a0\u00a0\u00a0 1016\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 MAX PVs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 32<br \/>\nLTG size (Dynamic): 512 kilobyte(s)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 AUTO SYNC:\u00a0\u00a0\u00a0\u00a0\u00a0 no<br \/>\nHOT SPARE:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 no\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 BB POLICY:\u00a0\u00a0\u00a0\u00a0\u00a0 non-relocatable<br \/>\nPV RESTRICTION:\u00a0\u00a0\u00a0\u00a0 none\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 INFINITE RETRY: no<br \/>\nbash-3.2# oslevel -s<br \/>\n7100-02-02-1316<br \/>\nbash-3.2#<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Increase rootvg dynamically If your rootvg \u201cdisk\u201d is actually virtual, such as a SAN LUN or a logical volume on the VIO server, then it usually can be expanded on the SAN (or using\u00a0extendlv\u00a0on the VIOS) and then recognised on the AIX LPAR using the\u00a0-g\u00a0flag of the\u00a0chvg command: chvg -g rootvg Note: this is supported [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[2],"tags":[164,469,161,163,160,162,165],"class_list":["post-1007","post","type-post","status-publish","format-standard","hentry","category-aix","tag-164","tag-aix","tag-expand","tag-fly","tag-grow","tag-rootvg","tag-tl"],"_links":{"self":[{"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/posts\/1007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/comments?post=1007"}],"version-history":[{"count":3,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/posts\/1007\/revisions"}],"predecessor-version":[{"id":1075,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/posts\/1007\/revisions\/1075"}],"wp:attachment":[{"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/media?parent=1007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/categories?post=1007"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/tags?post=1007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}