此内容没有您所选择的语言版本。

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

  1. 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
  2. You can make that change effective by reloading the $HOME/.bash_profile file with the following command:

    $ source $HOME/.bash_profile
  3. You then need to create a containers directory with the following command:

    $ mkdir /mnt/.config/containers
  4. Copy over the storage.conf file to the containers directory with the following command:

    $ cp /etc/skel/.config/containers/storage.conf /mnt/.config/containers/
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.