Posts

Showing posts with the label AIX

AIX commands to increase the file system space

The below commands will increase the file system space after the disk space is increased. where   <FILE_SYSTEM>  is where you want to increase the space. for example /home <VOLUME_NAME> for example hd1 < VOLUME_GROUP> for example rootvg df -k <FILE_SYSTEM> lslv <VOLUME_NAME> lsvg  <VOLUME_GROUP> chvg -g <VOLUME_GROUP> chfs -a size=3G <FILE_SYSTEM>    --   allocates 3GB for the file system chfs -a size=3000M  <FILE_SYSTEM> -- alllocates 3000 MB for the file system chfs -a size=+1G  <FILE_SYSTEM>      -- allocates additional 1GB to the file system chfs -a size=+500M  <FILE_SYSTEM> -- allocates additional 500MB to the file system

Basic LVM Operations in AIX

Image
Creating VG Verify new disks 1)    Take the output of lspv before scanning the disk. #lspv 2) Check for the new disk For scanning #cfgmgr -v Identify the new disk that detected by comparing the old lspv output. 3) Cross verify the LUN Number matching with the given number from Storage #powermt display dev=<hdiskpower#> |grep -i LUN Eg: root@NIMmaster /root # powermt display dev=hdiskpower5 |grep -i LUN Logical device ID=6006016020672A008820B177987CE011 [LUN 125] If the disk not displaying under powerpath use following command to identify the Uniq ID, which can be matched from storage end also. #lscfg -vpl hdiskpower5 |grep -i "(UI)" Eg: root@NIMmaster /root # lscfg -vpl hdiskpower5 |grep -i "(UI)"   Device Specific.(UI)........6006016020672A008820B177987CE011 4) Verify the size of the disk #bootinfo –s <disk> If it’s under powerpath use hdiskpower. Eg: root@NIMmaster /root # bootinfo -s hdiskpow...