Hello,
I have encountered some problems regarding SD card.
I use 6HC board with SBC.
After some printing through Duet web control I always end up with full SD card and I'm not able to find out where to delete cache or any other leftover files. How should I solve this situation? Last time I totally reformatted SD card as I thought there may be more problems related to that but unfortunately all the reinstallation work didn't help and now I have the same problem on my other printer.
I have tried "sudo apt-get clean", then open the SD card manually but I couldn't find where the storage is full.
DF -h command provides me with this information:
Filesystem Size Used Avail Use% Mounted on
/dev/root 15G 14G 0 100% /
devtmpfs 430M 0 430M 0% /dev
tmpfs 462M 16M 447M 4% /dev/shm
tmpfs 462M 6.4M 456M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 462M 0 462M 0% /sys/fs/cgroup
/dev/mmcblk0p1 247M 60M 187M 25% /boot
tmpfs 93M 8.0K 93M 1% /run/user/1000
I am not able to reach /dev/root folder
M122 diagnostic:
M122
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.4.0 (2022-03-15 18:57:24) running on Duet 3 MB6HC v1.01 or later (SBC mode)
Board ID: 08DJM-9P63L-DJMSS-6J9F0-3SD6K-9UDB9
Used output buffers: 1 of 40 (26 max)
=== RTOS ===
Static ram: 151000
Dynamic ram: 67132 of which 16 recycled
Never used RAM 129284, free system stack 132 words
Tasks: SBC(resourceWait:,0.7%,436) HEAT(notifyWait,0.1%,321) Move(notifyWait,0.5%,237) CanReceiv(notifyWait,0.0%,772) CanSender(notifyWait,0.0%,348) CanClock(delaying,0.0%,339) TMC(notifyWait,8.0%,92) MAIN(running,90.7%,923) IDLE(ready,0.0%,30), total 100.0%
Owned mutexes: HTTP(MAIN)
=== Platform ===
Last reset 03:44:58 ago, cause: power up
Last software reset at 2022-04-06 00:34, reason: User, GCodes spinning, available RAM 129380, slot 2
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task SBC Freestk 0 n/a
Error status: 0x00
Step timer max interval 973
MCU temperature: min 25.7, current 26.2, max 26.6
Supply voltage: min 23.3, current 23.6, max 23.8, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 1.0, current 12.1, max 12.5, under voltage events: 1
Heap OK, handles allocated/used 99/0, heap memory allocated/used/recyclable 2048/114/114, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min 0, mspos 8, reads 54347, writes 11 timeouts 0
Driver 1: standstill, SG min 0, mspos 8, reads 54347, writes 11 timeouts 0
Driver 2: standstill, SG min 0, mspos 8, reads 54346, writes 11 timeouts 0
Driver 3: standstill, SG min 0, mspos 8, reads 54346, writes 11 timeouts 0
Driver 4: standstill, SG min 0, mspos 8, reads 54346, writes 11 timeouts 0
Driver 5: standstill, SG min 0, mspos 8, reads 54346, writes 11 timeouts 0
Date/time: 2022-04-11 04:34:46
Slowest loop: 25.88ms; fastest: 0.04ms
=== Storage ===
Free file entries: 10
SD card 0 not detected, interface speed: 37.5MBytes/sec
SD card longest read time 0.0ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 125, segments created 16, maxWait 363050ms, bed compensation in use: mesh, comp offset 0.000
=== MainDDARing ===
Scheduled moves 7758, completed 7758, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 13], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters 0 4 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
=== GCodes ===
Segments left: 0
Movement lock held by null
HTTP* is doing "M122" in state(s) 0
Telnet is idle in state(s) 0
File* is idle in state(s) 0
USB is idle in state(s) 0
Aux is idle in state(s) 0
Trigger* is idle in state(s) 0
Queue* is idle in state(s) 0
LCD is idle in state(s) 0
SBC is idle in state(s) 0
Daemon is idle in state(s) 0
Aux2 is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty
=== CAN ===
Messages queued 67742, received 210444, lost 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 282, free buffers 50 (min 35), ts 21921/21921/0
Tx timeouts 0,0,0,0,0,0
=== SBC interface ===
Transfer state: 4, failed transfers: 0, checksum errors: 0
RX/TX seq numbers: 6356/6356
SPI underruns 0, overruns 0
State: 5, disconnects: 0, timeouts: 0, IAP RAM available 0x2b880
Buffer RX/TX: 0/0-0, open files: 0
=== Duet Control Server ===
Duet Control Server v3.4.0
Code buffer space: 4096
Configured SPI speed: 8000000Hz, TfrRdy pin glitches: 2
Full transfers per second: 39.35, max time between full transfers: 87.9ms, max pin wait times: 70.0ms/17.6ms
Codes per second: 1.34
Maximum length of RX/TX data transfers: 6504/1664
M39 sd card diagnostic:
M39
SD card in slot 0: capacity 15.00Gb, partition size 15.00Gb,free space 0.00Gb, speed MBytes/sec
I was unable to find clear instructions on how and where all the files/cache is stored and how to reach that and clean.
In general DWC settings I have options for storing settings and files in local storage. How there settings behave when turned on?
Thank you very much