How do I resize a filesystem in AIX?

How do I resize a 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 you expand a filesystem in Aix DF LSVG Chfs?

Procedure

  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 create an AIX file?

Steps To Create A File System

  1. # lspv. lspv command.
  2. # mkvg hdisk0. This command will create a VG with default name vg00.
  3. # mklv vg00 10. To Check VG information interms of PPs assigned, command used:
  4. # lsvg -p vg00. lsvg command.
  5. # lsvg -l vg00. lsvg -l.
  6. # lslv lv00. OR.
  7. # lsvg -l vg00.
  8. # mkdir /test01.

What is the CHFS command in Linux?

The chfs command changes the attributes of a file system. The new mount point, automatic mounts, permissions, and file system size can be set or changed. The FileSystem parameter specifies the name of the file system, expressed as a mount point. Some file system attributes are set at the time the file system is created and cannot be changed.

What is the maximum file system size in Aix?

AIX 4.1 is limited to NBPI values from 512 to 16384. In AIX4.3, you can have NBPI values from 512 to 128K, with corresponding maximum file system sizes. The volume group in which the file system resides defines a maximum logical volume size and also limits the file system size.

How do I increase the LV of a CHFS server?

When you’re using chfs -a size=+1 the command increases your LV by one block but the thing is that you can only increase LV by some amount of PPs. For example if you have PP size configured to 64Mb you’d have your LV automatically increased by 64*1024=65536 blocks.

What happens when CHFS is called on a Mount?

If a file systems is mounted at the time chfs is called to change the outline log, the /etc/filesystems file will show the change, but the actual log will not be changed until the next mount for the file system (which follows a umount operation or a system crash and recovery).

author

Back to Top