Contributing

How to increase size of filesystem in AIX?

How to increase size of filesystem in AIX?

Examples

  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.

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 add mount point in AIX?

Using a volume as a new mount point within a virtual machine

  1. Open a SSH or Telnet connection to the virtual machine.
  2. Identify the new disk.
  3. Run a scan of your hardware as follows to ensure the new disk is recognized by the operating system:
  4. Create a new volume group containing the added hdisk1 volume.

How do I rename a mount point in AIX?

Steps:

  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 increase the size of a logical volume in AIX?

To increase the size of a shared logical volume on all nodes in a cluster:

  1. On any node, enter the SMIT fastpath: smit cspoc .
  2. In SMIT, select Storage > Logical Volumes > Set Characteristics of A Logical Volume > Increase the Size of a Logical Volume and press Enter.

How delete mount point in AIX?

Select the name of the file system you want to remove. Go to the Remove Mount Point field and toggle to your preference. If you select yes, the underlying command will also remove the mount point (directory) where the file system is mounted (if the directory is empty). Press Enter to remove the file system.

How do I create a logical volume in AIX?

Creating a new log logical volume:

  1. mklv -t jfs2log -y lvname vgname 1 pvname <– creates the log lv.
  2. logform -V jfs2 /dev/lvname.
  3. chfs -a log=/dev/lvname /fsname <–changes the log lv (it can be checked in /etc/filesystems)

How do I rename logical volume in AIX?

Changing the name of a logical volume

  1. Unmount all file systems associated with the logical volume, by typing: unmount / FSname. Where FSname is the full name of a file system.
  2. Rename the logical volume, by typing: chlv -n NewLVname OldLVname.
  3. Remount the file systems you unmounted in step 1 by typing: mount /test1.

How do I change the file system name?

Rename a filesystem, or change a mount point

  1. Create new mount point (mkdir /sapbackup)
  2. Umount existing filesystem (umount /backup)
  3. lvrename to change logical volume name (lvrename /dev/vgname/backuplv /dev/vgname/sapbackuplv)
  4. Update /etc/fstab to point to the new location.
  5. mount new filesystem (mount /sapbackup)

How do I increase filesystem in Hacmp?

Using the below steps we can increase the filesytem size in hacmp cluster in aix.

  1. #cd /usr/sbin/cluster/cspoc. #./cli_chfs -a size=+10G /opt/tivoli.
  2. (OR)
  3. smitty hacmp.
  4. system management (C-SPOC) HACMP logical volume management.
  5. Enhanced Journaled File systems.

How add VG to AIX?

How to Add a Disk on AIX LVM

  1. Add the physical or virtual disk to the logical partition.
  2. Rescan your hardware so that the OS is aware of your new disk.
  3. Check to see your disk.
  4. Associate your new disk to a volume group.
  5. Now you can look at the size of hdisk2.
  6. Create a log logical volume for jfs2.

How do I remove mount points?

A.

  1. Start the Computer Management MMC snap-in (Start – Programs – Administrative Tools – Computer Management)
  2. Expand the Storage branch and select Disk Management.
  3. Right click on the volume you want to create as a mount point and select ‘Change Drive Letter and Path’
  4. Select the mount point to remove.
  5. Click Remove.