How do I expand filesystem in AIX?

AIX – How to extend JFS filesystem

  1. Identify the filesystem you want to extend.
  2. Take example to extend /local.
  3. Find out if the volume group it resides on has enough free space to extend [free PP].
  4. If it has enough space, proceed to extend using below command.

How do I change file system in AIX?


  1. Take backup of the /testfs either locally or whichever the backtools you are using ( eg: TSM /netbackup)
  2. Unmount the FS associated with the testlv_old ,here its “/testfs”
  3. Change mount point name in /etc/filesystem.
  4. Create new lv “testlv_new”
  5. Create Filesystem with name “/testfs”

How do you make VG bigger in AIX?

Creating a Volume Group

  1. Create a Volume Group.
  2. Create a Logical Volume within the VG containing a JFS2 filesystem that will be automatically mounted during boot.
  3. Add a disk to the VG and mirror the data across 2 disks.
  4. Display LP>PP mappig and LVCB.

How do I change max allocation for logical volume in AIX?

The default maximum number of partitions for a logical volume is 512. Before extending a logical volume more than 512 logical partitions, use the chlv command to increase the default value.

How do you expand a filesystem in Aix DF LSVG Chfs?


  1. Login to the VM and use the lsvg command to list the volume groups.
  2. Use the chvg -g command to expand the size of volume group rootvg .
  3. Use the df -k command to list the file systems.
  4. Use the chfs -a size command to increase the size of the /dev/hd10opt file system.

How do I change the file system name?

To rename a file or folder:

  1. Right-click on the item and select Rename, or select the file and press F2 .
  2. Type the new name and press Enter or click Rename.

How do you increase max PPs per PV?

The MAX PPs per VG value can be increased dynamically against an active (imported/varied on) Volume Group. The new value must be greater than the existing value. Once increased, the value cannot be decreased without removing and recreating the VG.

How do I remount filesystem in AIX?

To remount the file system, use the TSO/E UNMOUNT command or the ISPF shell. The REMOUNT operand on the UNMOUNT command specifies that the specified file system be remounted, changing its mount mode.

How do I permanently mount in AIX?

To mount an NFS directory explicitly, use the Web-based System Manager fast path, wsm network, or use the following procedure:

  1. Verify that the NFS server has exported the directory: showmount -e ServerName.
  2. Establish the local mount point using the mkdir command.
  3. Enter: mount ServerName:/remote/directory /local/directory.

How do I change the mount point in AIX?


  1. To change the file system size of the /test Journaled File System, enter: chfs -a size=24576 /test.
  2. To increase the size of the /test Journaled File System, enter: chfs -a size=+8192 /test.
  3. To change the mount point of a file system, enter: chfs -m /test2 /test.

What is the size limit of a file system?

The “file” or “fsize” limit controls the user’s ability to write files. The output is in 512-byte blocks. 1. The file system must be large file enabled (if JFS). JFS2 filesystems already support files over 2GB.

How do I get the correct disk size in Aix?

To get the correct disk size, use getconf, as this comes from the kernel, the heart of the AIX system. Creating a Volume Group For a disk to be used for storage, it needs to be added to an existing VG or a new VG.

How to change the size of a CHFS file system?

# chfs -a size=12G /data_fs Filesystem size changed to 25165824 Looking at the newly change file system size, we see the change: # df -g| grep data_fs

Can I change the size of a JFS file system?

NOTE: If the file system is large file enabled, you may use it as it is. If it is not large file enabled, you cannot use this file system. Once a JFS filesystem has been created and the “bf” flag has been set, it cannot be changed.