/ SD section full

Hi

I was having trouble with my back up routine so I looked in administration.

One thing that stood out immediately was that the / sd section was full as per snippet of server information attached:

Disk Mount Stats
/ Used: 97.83% Total: 3.33 GB Used: 3.26 GB Free: 0 B
/boot Used: 36.30% Total: 59.95 MB Used: 21.76 MB Free: 38.19 MB
/home/pi/data Used: 13.93% Total: 10.95 GB Used: 1.53 GB Free: 8.86 GB
PHP Version 5.6.38-0+deb8u1 (Zend Version 2.6.0)

What is the best way to resolve this?

Ian

Edit - fixed table. BT - Moderator

What size is the SD card and was it fully expanded?

It looks like there is plenty spare in the data partition, you will probably need to reduce the size of /data, then move /data to make room then expand / into the newly freed up area. It can be done from the command line with fdisk, but it is easier via the gdisk gui (not present on the emonSD’s). Needless to say, backup first!

Hi Paul

Thanks for the prompt reply.
It was 8GB and fully expanded. I dug a little further and realised it was the backup files that had filled the partition. I have reduced the rolling backups I keep to 2 instead of 7 and reclaimed the space.

I am just about to implement the latest image on a new pi. At the same time I will move backup files to pi/data which is where emoncms puts backup files. With a 32GB SD card I should not have any further issues for a few years!

Ian