본문 바로가기

IBM/AIX

rootvg사이즈를dynamic하게변경하기

UPDATED: Grow your rootvg on the fly (from 6.1 TL 4)

AnthonyEnglish| Oct 11 2010 | Tags:  volume_group resize rootvg 6.1 7.1 extendlv spare aix 5.3 chvg growth backend disk san lun| Comments (11)  |  Visits (5,543)
There are lots of good reasons for having spare disk for rootvg, as I looked at in the post make way for rootvg. With virtual disks you can resize your volume group on the fly:
 

Increase rootvg dynamically


If your rootvg “disk” 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 extendlv on the VIOS) and then recognised on the AIX LPAR using the -g flag of the chvg command:

chvg -g rootvg


 Note: this is supported for rootvg and concurrent vgs from AIX 6.1 TL 4. See IBM technote IZ80021 http://bit.ly/cmHjmy

 Resizing the rootvg disk
 
 I tried to increase rootvg on an LPAR running AIX 5.3 TL 11 and hit the following error:
 

 aix53_lpar # chvg -g rootvg

0516-1380 chvg: Re-sizing of the disks is not supported for the rootvg.

 0516-732 chvg: Unable to change volume group rootvg.

Looks like the volume group needed to be varied off and varied on again. For rootvg, that means a reboot.

No reboot on AIX 6.1

In AIX 6.1 (from TL 4 - use oslevel -sto check your AIX level), you can increase rootvg on the fly.

 aix61_lpar:/# chvg -g rootvg

 0516-1164 chvg: Volume group rootvg changed.  With given characteristics rootvg can include up to 16 physical volumes with 2032 physical partitions each.

 Sounds like yet another reason to migrate to AIX 6.1.

이 글은 스프링노트에서 작성되었습니다.

'IBM > AIX' 카테고리의 다른 글

TCP및UDP성능조정  (0) 2012.11.09
Repairing Corrupt File Systems or File System Log Devices  (0) 2012.11.09
Inodes used 100% while filesystem is not full  (0) 2012.11.09
vmm memory tuning  (0) 2012.05.25
tar 대신 다른 명령으로 backup하기  (0) 2012.03.02
Dynamic Tracking of Fibre Channel devices  (0) 2012.01.11
How to NFS Mount a cdrom Filesystem  (0) 2011.12.22
mkisofs(이미지생성)  (0) 2011.12.21
timezone  (0) 2011.11.14
loopmount  (0) 2011.11.03