How do I access the rest of the SD card


I am wondering how I access the empty part of my SD card. If I look at the partitions I see

sudo fdisk -l /dev/mmcblk0
[sudo] password for volumio:

Disk /dev/mmcblk0: 29.7 GiB, 31914983424 bytes, 62333952 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: dos
Disk identifier: 0x415547f5

Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 1 125000 125000 61M c W95 FAT32 (LBA)
/dev/mmcblk0p2 125001 4882812 4757812 2.3G 83 Linux
/dev/mmcblk0p3 4882813 31116287 26233475 12.5G 83 Linux

i.e. 3 partitions, with the 3rd the largest. I then look at the mounted partitions and I see

Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p2 2.4G 1.3G 945M 57% /imgpart
/dev/loop0 364M 364M 0 100% /static
overlay 14G 131M 13G 2% /
devtmpfs 494M 0 494M 0% /dev
tmpfs 509M 70k 509M 1% /dev/shm
tmpfs 509M 5.0M 504M 1% /run
tmpfs 5.3M 4.1k 5.3M 1% /run/lock
tmpfs 509M 0 509M 0% /sys/fs/cgroup
tmpfs 509M 46k 509M 1% /tmp
tmpfs 509M 0 509M 0% /var/spool/cups
tmpfs 21M 537k 21M 3% /var/log
tmpfs 509M 0 509M 0% /var/spool/cups/tmp
/dev/mmcblk0p1 63M 60M 3.6M 95% /boot
/dev/sdb1 123G 40G 84G 32% /media/RIP
/dev/sda1 251G 150G 101G 60% /media/DIGIONE
tmpfs 102M 0 102M 0% /run/user/1000

So the big partition is not mounted. There is a /data/INTERNAL directory but nothing is mounted there, although I note its shared in the smb.conf! I have done this on a virgin install of the latest Volumio version.

Many thanks


partition 3 is part of an overlay partition with partition 2 and does not have to be mounted separately.

So I can simply mount the volume over SMB and add files to it?

In a related question, I was looking at the partitions as I have cloned the SD card that I use to boot the Volumio - the new card is bigger and am wondering if I can expand the 3rd partition to fill the SD card. I know the system automatically does that on first boot but I can’t see anywhere how to do this expansion from the command line

Many thanks


no, you should look on your network for the INTERNAL smb network share which Volumio exports. Copying data to the mounted 3rd partition won’t do you any good as your will still not see that data within volumio.

Create an empty file called “resize-volumio-datapart” in the boot partition and reboot, this will expand the partition to max capacity.

Thanks @gkkpch - everything has worked a treat. On last question - can you find the amount of free space on /dev/mmcblk0p3 (this is what I use df for usually)?

1 Like