Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
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 Link kopierenLink in die Zwischenablage kopiert!
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_HOMEenvironment variable by writing it to the$HOME/.bash_profilefile by running the following commands:echo 'export ILAB_HOME=/mnt' >> $HOME/.bash_profile
$ echo 'export ILAB_HOME=/mnt' >> $HOME/.bash_profileCopy to Clipboard Copied! Toggle word wrap Toggle overflow You can make that change effective by reloading the
$HOME/.bash_profilefile with the following command:source $HOME/.bash_profile
$ source $HOME/.bash_profileCopy to Clipboard Copied! Toggle word wrap Toggle overflow You then need to create a
containersdirectory with the following command:mkdir /mnt/.config/containers
$ mkdir /mnt/.config/containersCopy to Clipboard Copied! Toggle word wrap Toggle overflow Copy over the
storage.conffile to thecontainersdirectory with the following command:cp /etc/skel/.config/containers/storage.conf /mnt/.config/containers/
$ cp /etc/skel/.config/containers/storage.conf /mnt/.config/containers/Copy to Clipboard Copied! Toggle word wrap Toggle overflow