To resize any volume online we need Online JFS software. It can be checked by using the command given below which will list the online JFS software if installed.
# swlist -l product | grep -i jfs
JFS B.11.31 Base VxFS File System 4.1 for HP-UX
Here, the above output shows that Online JFS software is not installed on this server. If online JFS is not installed on your server then you can not resize the volume online. So first, we need to install the Online JFS software.
Install Online JFS on HP-UX 11.31
Follow the steps given below to install Online JFS software on HP-UX 11.31
- Download the Online JFS software from My HPE Software Center and put this depot file on the server. I have uploaded the depot file to the below location.
# ls -l /tmp/ONLINEJFS/HP-UX_11i_v3_B3929HBE_B_05_10_01.depot -rw-r--r-- 1 root sys 91443200 Jan 8 2020 /tmp/ONLINEJFS/HP-UX_11i_v3_B3929HBE_B_05_10_01.depot
- Connect to the server through SSH as a superuser.
- Run the swinstall command with the option -s to give the source file path.
# swinstall -s /tmp/ONLINEJFS/HP-UX_11i_v3_B3929HBE_B_05_10_01.depot
- It will open a new window showing all the software included in the depot.
- Select the required software using the Control and Spacebar key, here I have selected all the software.
- Go to the Actions menu and click on the Install…
- It will analyse the software, after completion of the analysis click on the OK button.
- To start the installation click on Yes.
- It will take some time to install the selected software, after completion click on Done.
- The system will reboot to complete the installation, click on Yes to confirm.
Now you may verify that Online JFS software has been installed on your HP-UX 11.31 system and you resize the volumes online whenever required.
# swlist -l product | grep -i jfs
AONLINEJFS B.05.10.01 OnlineJFS 5.1SP1 Integration Product
JFS B.11.31 Base VxFS File System 4.1 for HP-UX
OnlineJFS01 5.1.200.000 Online features of the VxFS File System
To extend the size of a logical volume using online JFS follow the below article:
Last Updated: August 27, 2020