When I tried copying the files manually, I get a "no space left on device" error, after quite a number of files have been copied. The card is formatted as FAT32 by the phone, and indeed there is a limit of around 65,000 files per directory in FAT, but I am still way short of that, and there is plenty of space.
Of course the card itself could be defective, but before buying another, I'd like to explore whether the problem has some other cause (that a new card wouldn't fix).
Here is some output:
Code: Select all
mimosa[collection.media]$ ls | wc -l
11567
mimosa[collection.media]$ touch test
touch: cannot touch 'test': No space left on device
mimosa[collection.media]$ du -d 1
545824 .
mimosa[collection.media]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb2 28866560 15088452 13082972 54% /
devtmpfs 4031904 0 4031904 0% /dev
tmpfs 4034044 1048 4032996 1% /run
tmpfs 4034044 183624 3850420 5% /dev/shm
cgroup_root 4034044 0 4034044 0% /sys/fs/cgroup
/dev/sda2 102687744 17532824 84484280 18% /home/Data
/dev/sdb1 270812 59504 211308 22% /boot/efi
tmpfs 4034044 0 4034044 0% /tmp
/dev/sdd1 31154688 856416 30298272 3% /media/3832-3034
mimosa[collection.media]$ cat /etc/mtab
/dev/sdb2 / btrfs rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/sda2 /home/Data btrfs rw 1 2
/dev/sdb1 /boot/efi vfat rw 1 0
tmpfs /tmp tmpfs rw,nosuid,nodev,mode=1777 0 0
gvfsd-fuse /dev/shm/mimosa/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,user=mimosa 0 0
/dev/sdd1 /media/3832-3034 vfat rw,nodev,nosuid,uid=1000,gid=100,shortname=mixed,utf8=1,showexec,flush,uhelper=udisks2 0 0
Code: Select all
mimosa[collection.media]$ touch test
touch: cannot touch 'test': No space left on device
mimosa[collection.media]$ cd ..
mimosa[AnkiDroid]$ touch test
mimosa[AnkiDroid]$ rm test