1

I am a bit confused by the state of the storage on my RPi. I have a 32G SD Card but looking at the following it is nearly full but has only used up 3.8G space!

'df' tells me my /dev/root is 30G in size, 27G used with only 1.5G available. df -h

'parted' tells me a similar story, two partitions which are in total 31.9G in size. parted -l

But 'du' tells me that I only have 3.6G of files.

du

Pi OS details:

lsb-release

I understand that df and du calculate the space used differently, but what could be going on here that gives such a large difference?

I have tried running raspi-config and the above details do not change (even after a reboot of the pi). raspi-config--expand-rootfs

P.s. Sorry for the lack of info to start of with, late night frustration not understanding why my Pi was running out of space!

Lawrence
  • 19
  • 2

1 Answers1

1

Maybe you did not expand your file system yet. Try

sudo raspi-config --expand-rootfs
Joshua Salazar
  • 131
  • 1
  • 6
  • Thanks for the answer, but in my edited question above I show that I have already done this but it hasn't made any difference. – Lawrence Mar 20 '18 at 19:08