zsh locking failed for /root/.zsh_history no space left on device (boot-pool > 100G)

theneo93

Cadet
Joined
Sep 23, 2023
Messages
1
Hello. I need help fixing an issue with my TrueNAS Scale.

The web UI is not loading. I suspect the problem lies with the old boots, but the UI is inaccessible, and I'm unsure how to prune the old boots.

Actual installed version is: Truenas SCALE 22.12.3.3

Using
Code:
df -f
this result:
IMG20230923130702.jpg



the error is:
IMG20230923133339.jpg



I appreciate any ideas to resolve.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
zfs list -t snap -r boot-pool
 

sfatula

Guru
Joined
Jul 5, 2022
Messages
608
You can delete old images using cli I believe. So, get into truenas in a shell and type cli. Then system, bootenv

query will then show you all the old boots. delete will then allow you to delete them by the id column.
 

pucspifo

Cadet
Joined
May 25, 2018
Messages
2
I'm going to jump on this as I'm having the exact same issue.
@Patrick M. Hausen looking at the snaps I only have this
Code:
NAME: boot-pool/ROOT/22.12.3.3@2023-10-01-22:42:12  USED: 10.2M
AVAIL: -
REFER: 2.65G
MOUNTPOINT: - 


@sfatula Unfortunately middleware isn't running, and can't start because of this error, so cli isn't available.

System details:
Ryzen 5 3600
AsRock Rack X470D4U
64GB ECC UDIMM
2 250GB M.2 Boot Drives
3X6TB WDRed
3X10TB WDRed
3X20TB Ironwolf Pro
9211-i HBA in IT mode

I thought it might be an issue with the boot drives, so I swapped boot order, to no avail. Next up is to try to reinstall TRUENAS, but I'd rather try any other solutions that others might have.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
cd /
du -skx * .??* | sort -rn | head
 
Top