Help Center> Server Migration Service> User Guide (Kuala Lumpur Region)> FAQs> Disk Management> How Do I Fix Error "Failed to create a file on the source server. Cause: /bin/sh: line 0: echo: write error: No space left on device"?
Updated on 2024-03-15 GMT+08:00

How Do I Fix Error "Failed to create a file on the source server. Cause: /bin/sh: line 0: echo: write error: No space left on device"?

Symptom

During the migration of your Linux source server, on the SMS console, you received message "SMS.1204 Failed to create a file on the source server. Cause: /bin/sh: line 0: echo: write error: No space left on device."

Possible Causes

There is not enough space left on the source server. There is no space available for creating new files.

Solution

1. Check the usage of each disk partition on the source server using df -Th.

2. If the available space on each partition is less than 1 GB, clear up more disk space or expand the capacity.

3. Delete the record corresponding to this source server from the SMS console. Restart the Agent installed on the source server and perform the migration again.