Chapter 7. Adding additional storage to your instance
Some cloud instances do not have enough storage for the RHEL AI end-to-end workflow in the default disk. You can add a directory that holds additional data.
7.1. Adding a data storage directory to your instance
By default RHEL AI holds configuration data in the $HOME
directory. You can change this default to a different directory for holding InstructLab data.
Prerequisites
- You have a Red Hat Enterprise Linux AI instance
- You added an extra storage disk to your instance
Procedure
You can configure the
ILAB_HOME
environment variable by writing it to the$HOME/.bash_profile
file by running the following commands:$ echo 'export ILAB_HOME=/mnt' >> $HOME/.bash_profile
You can make that change effective by reloading the
$HOME/.bash_profile
file with the following command:$ source $HOME/.bash_profile