32GB SD Card Reads as Full [SOLVED]
-
Good morning!
So this 32GB card has been sat in my machine working fine for a handful of years but now I've been trying to upload a "large" file (72MB) and it keeps failing and saying the card may be full.
That didn't sound right so ran M122 and M39.
M122 reported:=== Storage === Free file entries: 10 SD card 0 detected, interface speed: 20.0MBytes/sec SD card longest read time 3.0ms, write time 134.8ms, max retries 0
M39 reported:
SD card in slot 0: capacity 31.91Gb, free space 0.02Gb, speed 20.00MBytes/sec, cluster size 512 bytes
Obviously this is rather concerning, I've gone through all the files on the system and I'm probably using 2GB max all in all...
What could be up? I've reread the setup documentation and there's no mention of needing to expand the partition to fill the entire card as there is usually with RPi BOOT cards.Any help would be appreciated, thanks!
-
@SamanthaJaneyCake if you look at the SD card on a PC is it actually full?
it its not then might be worth scanning it to see if it has any errors
-
@T3P3Tony Thanks for the quick reply. I was hoping to avoid doing a full diagnostic on my computer as the card's somewhat difficult to get to at the moment. Will revert in due course.
-
@SamanthaJaneyCake a cluster size of 512 bytes will give poor performance. I recommend that you put the card in a PC, copy all the folders and files over to the PC, reformat the SD card with as large a cluster size as the formatting program allows (probably 64kb), then copy the folders and files back.
-
@SamanthaJaneyCake M39 is reporting that the card is full. I think you will need to remove it from the Duet, if only to reformat it (backup files and configuration first, though!). See https://docs.duet3d.com/en/User_manual/RepRapFirmware/SD_card#formatting
Ian
-
@dc42 Thank you, and everyone. I'll put that on the To-Do after this print (took the lazy route and stuck it on an external SD via PanelDue for now).
Will mark as solved.