Sd card shows only 4 gb in dragonboard even though its 16 gb

My sd card in dragonboard only shows 2 gb of space when I do df -h, where did rest of the space go?

could you please share the output. Also are you running your system from this SDCARD or from the internal emmc?

I am running the system from SDCARD and it is debian stretch 17.09

The output of “fdisk -l /dev/mmcblk1”, and please insert it as a text quote rather than an image.

Disk /dev/mmcblk1: 14.9 GiB, 15931539456 bytes, 31116288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 290739B1-1135-4899-9BDF-64BCE761E942
Device Start End Sectors Size Type
/dev/mmcblk1p1 131072 132095 1024 512K unknown
/dev/mmcblk1p2 132096 133119 1024 512K unknown
/dev/mmcblk1p3 133120 135167 2048 1M unknown
/dev/mmcblk1p4 135168 136191 1024 512K unknown
/dev/mmcblk1p5 262144 262175 32 16K unknown
/dev/mmcblk1p6 262176 264223 2048 1M unknown
/dev/mmcblk1p7 264224 395295 131072 64M unknown
/dev/mmcblk1p8 395296 397343 2048 1M unknown
/dev/mmcblk1p9 397344 8388574 7991231 3.8G Linux filesystem

7991231 * 512 = 4,091,510,272

You are reading a 4 GB filesystem mounted, because you have a 4 GB partition size with a filesystem filling the entire partition.

Notice the number of sectors listed at the top…
31116288 * 512 = 15,931,539,456

Showing that the total disk size is exactly what you are expecting.

In addition,
8388574 * 512 = 4,294,949,888
15,931,539,456 - 4,294,949,888 = 11,636,589,568
This shows that there is an additional 11.6 GB of unpartitioned space following the end of your last partition.

If you wish to use the additional space, you have two options;

  1. Create an additional partition in the unused space,
  2. Expand the last partition into the unused space.

(2) can be very easily accomplished by plugging the sdcard into another computer, and using something like gparted to expand the partition and filesystem to fill the space.

Would re flashing be an option? On my macbook via disk utility I am not able to change it unless I change the format.