How do I resize a filesystem in AIX?
How do I resize a filesystem in AIX?
AIX – How to extend JFS filesystem
- Identify the filesystem you want to extend.
- Take example to extend /local.
- Find out if the volume group it resides on has enough free space to extend [free PP].
- If it has enough space, proceed to extend using below command.
How do you expand a filesystem in Aix DF LSVG Chfs?
Procedure
- Login to the VM and use the lsvg command to list the volume groups.
- Use the chvg -g command to expand the size of volume group rootvg .
- Use the df -k command to list the file systems.
- 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
- # lspv. lspv command.
- # mkvg hdisk0. This command will create a VG with default name vg00.
- # mklv vg00 10. To Check VG information interms of PPs assigned, command used:
- # lsvg -p vg00. lsvg command.
- # lsvg -l vg00. lsvg -l.
- # lslv lv00. OR.
- # lsvg -l vg00.
- # 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).