Search Our Support Knowledge Base

Find product articles and support information.

How to Fix 'No Space Left on Device' During Data Transfer on My Cloud



Description


Adding content shows a No Space Left on Device message.
This can show even if there's available space.

My Cloud may have run out of Inodes.

Resolution


  1. Turn on SSH.

    Need more help?
    Answer ID 26497: How to Access WD My Cloud Using SSH (Secure Shell)

  2. Find the firmware version with this command using Putty or a macOS terminal or from the Dashboard.

    cat /etc/version



    WD Terminal

    $ cat /etc/version


  3. Type df -i show that inodes are 100% used.

    df -i


    WD Terminal

    $ # df -i

    Filesystem
    Inodes
    Used
    Available
    Use%
    Mounted on
    /dev/sda4 258048 159 257889 0% /mnt/HD_a4
    /dev/sdb4 258048 21 258027 0% /mnt/HD_b4
    /dev/md1 183235392 62119697 0 100% /mnt/HD/HD_a2

  4. Run this command as root to fix the inode 100% in use issue.

    IMPORTANT:

    This will work only on My Cloud Mirror, EX2, and EX4 My Cloud.
    This can take 45 minutes or more and will reboot once completed.
    No services will be available during this time.



    /usr/sbin/inode_growth.sh &


    WD Terminal

    $ /usr/sbin/inode_growth.sh &

  5. SSH to the My Cloud and view the inode count with the df -i command to show that it is no longer at %100.

    df -i


    WD Terminal

    $ # df -i

    Filesystem
    Inodes
    Used
    Available
    Use%
    Mounted on
    /dev/sda4 258048 159 257889 0% /mnt/HD_a4
    /dev/sdb4 258048 21 258027 0% /mnt/HD_b4
    /dev/md1 183235392 62119697 0 60% /mnt/HD/HD_a2
Details
Answer ID 12866
Published 08/20/2018 01:50 AM
Updated 04/08/2024 06:09 AM

Please rate the helpfulness of this answer