Error Occurs When Using Sync OBS to Synchronize Data from OBS. Is There Any Restriction on the Total Size of Files for Synchronization?

Symptom

The following error occurs when synchronizing data from OBS to a notebook instance: obs sync failed. As a result, the notebook instance cannot be used properly.

Possible Cause

If you set Storage to OBS when creating a notebook instance, all files in the notebook instance are stored in the OBS directory. If you want to use the files, you must use the Sync OBS function to synchronize the files from OBS to the ~/work directory of the notebook instance.

Solution

The error message indicates that the size of files synchronized at a time exceeds the upper limit.

  1. If the number of files to be synchronized at a time exceeds 1024, synchronize them at twice.
  2. If the sum of the size of the files to be synchronized and the size of the files in the /home/ma-user/work directory is greater than 500 MB, clear space in the directory and synchronize the files again.