Raspberry Pi 2 with 128GB microSD

Summary #

128GB microSD cards work with the Raspeberry Pi 2.

The Card #

The card in use is a 128GB Kingston SDC10G2/128GBFR

Check the file system ‘from factory’, which is exfat

ian@ian-laptop:~ $ blkid | grep mmcblk0p1
/dev/mmcblk0p1: UUID="0123-4567" TYPE="exfat"

Check the reported size, which is 118G

ian@ian-laptop:~ $ df -h | grep mmcblk
/dev/mmcblk0p1  118G   17M  117G   1%

ian@ian-laptop:~ $ df | grep mmcblk
/dev/mmcblk0p1 122691584     17024 122674560   1%

The Pi #

Raspberry Pi 2 Model B V1.1

Raspbian Jessie with a fully expanded filesystem.

pi@raspberrypi:~ $ df | grep root
/dev/root      120715332 925232 114856388   1% /

pi@raspberrypi:~ $ df -h | grep root
/dev/root       116G  904M  110G   1% /

Fill it up to confirm the full size is available for use (ie check the microsd card is not fake)

pi@raspberrypi:~ $ date; cat /dev/zero > /tmp/zeros; date
Tue Jun 21 22:02:27 UTC 2016
cat: write error: No space left on device
Wed Jun 22 00:34:29 UTC 2016

pi@raspberrypi:~ $ ls -hl /tmp | grep zeros
-rw-r--r-- 1 pi pi 110G Jun 22 00:34 zeros

pi@raspberrypi:~ $ df | grep root
/dev/root      120715332 115782080         0 100% /

pi@raspberrypi:~ $ df -h | grep root
/dev/root       116G  111G     0 100% /

The drive filled to 110G in 9122s for a write rate of 12.9 MB/s.

Conclusion #

Raspberry Pi can run with 128GB, as tested with the Raspberry Pi 2 Model B V1.1.

 
5
Kudos
 
5
Kudos

Now read this

Block Size, the history of choosing 1MB

The bitcoin block size is 1MB. Why was this number chosen? The reasoning of the past may have application to the reasoning in the present and future. Original Code # The block size is defined in code by MAX_BLOCK_SIZE and is 1000000... Continue →