All right sorry to resurrect this one again haha. Customer had an issue today with this and it appears to have been related to disk space. After deleting the Niagara installation .tar off the thing, it restarted normally.
There’s this /dev/mmcblk0p4 partition that appears to be the primary writable drive. When we were having this issue, the df on it showed us this:
/dev/mmcblk0p4 3.9G 3.9G 0 100% /writable
Deleted the .tar, now we have this:
/dev/mmcblk0p4 3.9G 2.9G 806M 79% /writable
Not sure what’s really using the rest of the space, I assume files related to all the programs/services installed on this thing, and the 600MB Niagara directory with all the scripts and stuff. Does this look normal? I believe the spec sheet said this thing has an 8GB SD card, perhaps it’s a 4GB? I suppose it could be an 8GB though going from the total df list.
Anyways, looking for any input you might have on disk space. Is a gigabyte about the expected amount of usable space on these things?
I failed to get a log of the errors I was looking at (copied the wrong ones). But it was from a “sudo journalctl -u snapd.refresh.service” command, and it was a couple of these:
PANIC cannot checkpoint even after 5m0s of retries every 3s: write /var/lib/snapd/state.json.srD9QjJDy5Td~: no space left on device
Here’s the df total before deleting the .tar and rebooting:
admin@2P4W802:~$ df -h --total
Filesystem Size Used Avail Use% Mounted on
udev 931M 0 931M 0% /dev
tmpfs 188M 8.8M 179M 5% /run
/dev/mmcblk0p4 3.9G 3.9G 0 100% /writable
/dev/loop0 91M 91M 0 100% /
/dev/loop1 156M 156M 0 100% /lib/modules
tmpfs 936M 4.0K 936M 1% /etc/fstab
tmpfs 936M 0 936M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 936M 0 936M 0% /sys/fs/cgroup
tmpfs 936M 0 936M 0% /mnt
tmpfs 936M 0 936M 0% /tmp
tmpfs 936M 0 936M 0% /var/lib/sudo
tmpfs 936M 0 936M 0% /media
/dev/loop2 87M 87M 0 100% /snap/core/5145
/dev/loop3 19M 19M 0 100% /snap/locationd/163
/dev/loop4 91M 91M 0 100% /snap/core/6405
/dev/loop5 4.8M 4.8M 0 100% /snap/network-manager/379
/dev/loop6 21M 21M 0 100% /snap/uefi-fw-tools/11
/dev/loop7 29M 29M 0 100% /snap/wifi-ap/208
/dev/loop8 3.4M 3.4M 0 100% /snap/udisks2/100
/dev/loop9 98M 98M 0 100% /snap/docker/321
/dev/loop10 156M 156M 0 100% /snap/caracalla-kernel/102
/dev/loop12 155M 155M 0 100% /snap/caracalla-kernel/93
/dev/loop11 5.5M 5.5M 0 100% /snap/modem-manager/222
/dev/loop13 896K 896K 0 100% /snap/caracalla/52
/dev/loop14 896K 896K 0 100% /snap/caracalla/49
/dev/loop15 2.2M 2.2M 0 100% /snap/tpm2/42
/dev/loop16 3.3M 3.3M 0 100% /snap/wpa-supplicant/41
/dev/loop17 4.2M 4.2M 0 100% /snap/bluez/166
/dev/loop18 21M 21M 0 100% /snap/uefi-fw-tools/10
/dev/loop20 6.7M 6.7M 0 100% /snap/alsa-utils/68
/dev/loop19 5.2M 5.2M 0 100% /snap/network-manager/263
/dev/loop21 5.7M 5.7M 0 100% /snap/modem-manager/139
/dev/loop22 29M 29M 0 100% /snap/wifi-ap/250
/dev/mmcblk0p2 63M 3.6M 60M 6% /boot/efi
cgmfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs 188M 0 188M 0% /run/user/1000
total 13G 4.9G 7.8G 39% -
Here’s the df total after deleting the .tar and rebooting:
admin@2P4W802:~$ df -h --total
Filesystem Size Used Avail Use% Mounted on
udev 931M 0 931M 0% /dev
tmpfs 188M 8.9M 179M 5% /run
/dev/mmcblk0p4 3.9G 2.9G 806M 79% /writable
/dev/loop0 91M 91M 0 100% /
/dev/loop1 156M 156M 0 100% /lib/modules
tmpfs 936M 4.0K 936M 1% /etc/fstab
tmpfs 936M 136K 936M 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 936M 0 936M 0% /sys/fs/cgroup
tmpfs 936M 0 936M 0% /tmp
tmpfs 936M 0 936M 0% /var/lib/sudo
tmpfs 936M 0 936M 0% /media
tmpfs 936M 0 936M 0% /mnt
/dev/loop2 3.3M 3.3M 0 100% /snap/wpa-supplicant/41
/dev/loop3 29M 29M 0 100% /snap/wifi-ap/208
/dev/loop4 5.5M 5.5M 0 100% /snap/modem-manager/222
/dev/loop5 896K 896K 0 100% /snap/caracalla/52
/dev/loop6 4.8M 4.8M 0 100% /snap/network-manager/379
/dev/loop7 21M 21M 0 100% /snap/uefi-fw-tools/10
/dev/loop8 6.7M 6.7M 0 100% /snap/alsa-utils/68
/dev/loop9 2.2M 2.2M 0 100% /snap/tpm2/42
/dev/loop10 29M 29M 0 100% /snap/wifi-ap/250
/dev/loop11 19M 19M 0 100% /snap/locationd/163
/dev/loop12 4.2M 4.2M 0 100% /snap/bluez/166
/dev/loop13 87M 87M 0 100% /snap/core/5145
/dev/loop14 21M 21M 0 100% /snap/uefi-fw-tools/11
/dev/loop15 896K 896K 0 100% /snap/caracalla/49
/dev/loop16 98M 98M 0 100% /snap/docker/321
/dev/loop17 156M 156M 0 100% /snap/caracalla-kernel/102
/dev/loop18 5.7M 5.7M 0 100% /snap/modem-manager/139
/dev/loop19 5.2M 5.2M 0 100% /snap/network-manager/263
/dev/loop20 155M 155M 0 100% /snap/caracalla-kernel/93
/dev/loop21 91M 91M 0 100% /snap/core/6405
/dev/loop22 3.4M 3.4M 0 100% /snap/udisks2/100
/dev/mmcblk0p2 63M 3.6M 60M 6% /boot/efi
cgmfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs 188M 0 188M 0% /run/user/1000
total 13G 3.9G 8.6G 32% -