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



Comments

Popular posts from this blog

Jenkins Dynmaic Parameter - List All Branches in a Git Repository

JMSWMQ2013: The security authentication was not valid that was supplied for QueueManager 'XYZ' with connection mode 'Client' and host name 'x.x.x.x(1415)'. Please check if the supplied username and password are correct on the QueueManager to which you are connecting.