Disk Space Used Up

Symptom

Possible Causes

Solution

Check the storage space used by the VM, check the memory used by files in the recycle bin, and delete unnecessary large files from the recycle bin.

  1. On the notebook instance details page, view the storage capacity of the instance.
  2. Check the storage space used by the VM. The storage space is typically close to the storage capacity.
    cd /home/ma-user/work
    du -h --max-depth 0

  3. Run the following commands to check the memory used by the recycle bin (recycle bin files are stored in /home/ma-user/work/.Trash-1000/files by default):
    cd /home/ma-user/work/.Trash-1000/
    du -ah

  4. Delete unnecessary large files from the recycle bin. Deleted files cannot be restored.
    rm {File path}

    If the name of the folder or file you want to delete contains spaces, add single quotation marks to the name.

  5. Run the following commands to check the storage space used by the VM again:
    cd /home/ma-user/work
    du -h --max-depth 0
  6. If the notebook instance uses an EVS disk for storage, expand the storage capacity on the notebook instance details page.

Summary and Suggestions

It is a good practice to delete unnecessary files when using a notebook instance to prevent a training failure caused by insufficient disk space.