3

I have seen some questions and I know that Ubuntu reserves 5% of filesystem to root. Believe me this is not the case.

I was moving some files from my home folder to another partition and I had to cancel the copying process due to some reason (the copy didn't stop abruptly, I cancelled it). Now when I try to move the remaining files I get error Error opening file '/media/sda5/Android/carbon/external/icu4c/i18n/ucol_bld.h': No space left on device. The destination partition has 85Gb free and my source (Ubuntu home) partition has 12Gb free (total of 48Gb, 5% of 48 is not 12).

Is there any other reason why I might get this error? How do i fix it?

Note: The path from which I was moving had a lot of directories and sub-directories. (It was android source actually. So you can imagine.) I don't know if that information might be useful.

Edit: df -h | grep -v '^none' gives

Filesystem      Size  Used Avail Use% Mounted on
/dev/loop0       48G   34G   12G  75% /
udev            3.9G  4.0K  3.9G   1% /dev
tmpfs           793M  1.4M  792M   1% /run
/dev/sda7        50G   50G  441M 100% /host
/dev/sda9        50G   34G   17G  68% /media/sda9
/dev/sda6       300G  281G   20G  94% /media/sda6
/dev/sda5       300G  221G   80G  74% /media/sda5

df -h -i | grep -v '^none' gives

Filesystem     Inodes IUsed IFree IUse% Mounted on
/dev/loop0       3.0M  874K  2.2M   29% /
udev             989K   578  989K    1% /dev
tmpfs            992K   655  991K    1% /run
/dev/sda7        505K    66  505K    1% /host
/dev/sda9         17M   38K   17M    1% /media/sda9
/dev/sda6         20M  110K   20M    1% /media/sda6
/dev/sda5         81M  1.1M   80M    2% /media/sda5

Please note that the partitions in question are /dev/loop0 and /dev/sda5

Edit 2:

I just noticed that I am even unable to create new documents in my partition /dev/sda5 (all the more reason to panic)

Edit 3: I fired sudo strace mv. Here is the output. I don't really understand it a lot.

1 Answers1

1

When you cancel the copying of file there might appear a problem in the filesystem. So reboot into Windows and run

chkdsk /F <drive>

It should find and fix errors that can't be fixed inside Ubuntu.

Offtopic: I dream about such application that would scan disk in Ubuntu without need to boot Windows…

Danatela
  • 13,384