Skip to main content
Version: 1.2.0

System Administration

The SSD storage space used by GenAI Studio is running low. Can it be expanded? How do I do it?

This depends on how the SSD storage on the host machine was initially configured:

  • Case 1: If the SSD storage on the host was initially configured using hardware RAID or a software RAID method (like LVM), you can expand the existing storage space by simply adding the new SSD to the RAID array according to its original configuration parameters.

  • Case 2: If the SSD storage on the host did not have any advanced configuration (this is the default for pre-configured GenAI Studio hosts), please follow the steps below to expand the storage space for GenAI Studio:

    1. First, shut down all GenAI Studio services.
      cd ~/Advantech/GenAI-Studio/bin  # for version 1.0.0, execute cd ~/GenAI-Studio/bin
      ./app-down
    2. Shut down the host machine and install the new SSD. After booting up, mount the new SSD following the standard procedure. We'll assume the mount point is /data for this example.
    3. Copy all data from the ~/Advantech directory (or ~/GenAI-Studio for version 1.0.0) to /data.
      cd
      sudo cp -rf Advantech/* /data # for version 1.0.0, remember to change Advantech to GenAI-Studio
    4. Change the mount point of the new SSD from /data to ~/Advantech.
    5. Correct the ownership of the copied files.
      sudo chown -R $(id -un):$(id -gn) ~/Advantech  # for version 1.0.0, remember to change Advantech to GenAI-Studio
    6. Start the GenAI Studio services.
      cd ~/Advantech/GenAI-Studio/bin  # for version 1.0.0, execute cd ~/GenAI-Studio/bin
      ./app-up
warning
  1. The SSD mentioned here refers to the SSD where GenAI Studio is installed. Please do not confuse it with the aiSSD required for GenAI Studio to perform full parameter fine-tuning.
  2. In Case 2, it is recommended to carefully consider the capacity of the SSD to be added to avoid having to replace it with larger storage space in the future and frequently performing such operations.