MicroSD Card - 16GB instead of 32GB


#1

The BOM lists a 32GB MicroSD card for the Raspberry Pi, but is that really necessary? I was testing everything initially with a 16GB card because that was all I had, and now I have a 32GB card, but I’m getting a lot of errors. Probably a stupid question, but I’m wondering if I’ll run into any problems if I continue with 16GB due to space.


#2

Hi,

You should logon to the Raspberry pi and run the “df -lh” command. You will get an ouput like the one pasted below. The Use% column will indicate how much of each file system is in use. If your system isn’t using most of any one filesystem (say the numbers are all less than 80%) then your memory card is probably not the issue.

Once you get things running then the system will be generating log files, taking pictures, and creating database entries all of which will gradually add data to your SD card.

pi@germ:~ $ df -lh
Filesystem Size Used Avail Use% Mounted on
/dev/root 30G 6.6G 22G 24% /
devtmpfs 458M 0 458M 0% /dev
tmpfs 462M 0 462M 0% /dev/shm
tmpfs 462M 47M 415M 11% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 462M 0 462M 0% /sys/fs/cgroup
/dev/mmcblk0p1 41M 21M 21M 52% /boot
tmpfs 93M 0 93M 0% /run/user/113
tmpfs 93M 0 93M 0% /run/user/1000
tmpfs 93M 0 93M 0% /run/user/0