@ll, I have a SheevaPlug running Debian Squeeze from a 4GB SD card for some month, now.
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mmcblk0p2 3249716 1096520 1988144 36% /
tmpfs 257788 0 257788 0% /lib/init/rw
udev 254952 72 254880 1% /dev
tmpfs 257788 0 257788 0% /dev/shm
/dev/mmcblk0p1 97979 24505 68256 27% /boot
Lately I have the issue that the plug gets unusable after performing e.g. an "apt-get update":
root@Share:~# apt-get update
Fetched 130 kB in 0s (174 kB/s)
Reading package lists... Error!
E: Unable to synchronize mmap - msync (5: Input/output error)
E: Failed to truncate file - ftruncate (30: Read-only file system)
E: Problem renaming the file /var/cache/apt/pkgcache.bin.L131U2 to /var/cache/apt/pkgcache.bin - rename (30: Read-only file system)
E: The package lists or status file could not be parsed or opened.
I even can't reboot it remotely any longer:
-bash: /sbin/reboot: Input/output error
Only solution is to pull the power plug out of the socket and power cycling it.
Might this behavior be caused by the SD card dying. How can I check its health?