4 Replies Latest reply on Nov 26, 2014 8:35 AM by Xuchun

    scp: /sketch/sketch.elf: No space left on device

    Xuchun

      When wireless-transferring sketch to Edison Arduino board, I got this error: scp: /sketch/sketch.elf: No space left on device

       

      Here is the complete message:

       

      Binary sketch size: 72,750 bytes (of a 10,000,000 byte maximum) - 0% used

      #!/bin/sh

      set -e

      HOST=192.168.1.10

      SKETCH=/sketch/sketch.elf

      OLD_SKETCH=/sketch/sketch.elf.old

      ssh root@$HOST "mv -f $SKETCH $OLD_SKETCH"

      scp $2 root@$HOST:$SKETCH

      scp: /sketch/sketch.elf: No space left on device

       

      I shutdown the system, removed power and rebooted, and the problem still existed. I checked the disk usage. Here is the result:

       

       

      root@myEdison:~# df -h

      Filesystem                Size      Used Available Use% Mounted on

      /dev/root               463.9M    453.7M         0 100% /

      devtmpfs                480.2M         0    480.2M   0% /dev

      tmpfs                   480.5M         0    480.5M   0% /dev/shm

      tmpfs                   480.5M      6.5M    474.0M   1% /run

      tmpfs                   480.5M         0    480.5M   0% /sys/fs/cgroup

      tmpfs                   480.5M      6.5M    474.0M   1% /etc/machine-id

      systemd-1                 5.5M      5.1M    454.0K  92% /boot

      tmpfs                   480.5M      4.0K    480.5M   0% /tmp

      systemd-1                 2.2G      8.1M      2.2G   0% /home

      tmpfs                   480.5M         0    480.5M   0% /var/volatile

      /dev/mmcblk0p5         1003.0K     19.0K    913.0K   2% /factory

      /dev/mmcblk0p10           2.2G      8.1M      2.2G   0% /home

      /dev/mmcblk0p7            5.5M      5.1M    454.0K  92% /boot

      root@myEdison:~#

       

      I can't even transfer bare minimum sketch. What went wrong?