While I 100% agree that there should be warning as your boot pool fills-up, I’m curious if there would be a realistic situation outside of someone doing it on purpose.
There are alert settings for regular pools, but I’ve never even considered if they’d also be set for the boot pool.
Anyway - the fix is surprisingly simply; re-install TrueNAS & then import your old config file. All the junk that was put on boot pool would be cleaned on fresh install. I’ve had to do clean installs many times because I also screw around with things I shouldn’t & have never had any problems with getting any data back from my non-boot pools.
You really shouldn’t need anything outside a few KBs of scripts, or a couple GBs for older boot versions on your boot pool. Outside of that, I’d argue that there is nothing else that should be on the boot pool other than the OS. (I’m sure someone smarter will think of something reasonable, but even then it’d maybe be a few GBs).
If you want to be very safe, you can shut down the system, unplug any non-boot drives from sata data & power, then connect your usb for install - this’d make sure you don’t write over any data from your actual pools.
Don’t use the boot pool for general storage purposes - TrueNAS is rather different from most OS in that regards.
Edit: I mean, you could also boot into another OS that can speak zfs & then manually remove some crap from the truenas boot pool & get it back to <80% full, but that seems like more of a hassle than clean installing TrueNAS unless you carry a portal debian boot drive around (yes I know, someone here just might).
Edit 2: it might be worth creating a post in the ‘Feature Requests’ category to have storage alerts on the boot pool - I can imagine this being overlooked originally.
We used to see it a lot (well, more than we have recently) with misconfigured FTP placing stuff in /root.
There is no bug.
Really, yes, it is. As TrueNAS warns you every time you log in to the shell,
Warning: the supported mechanisms for making configuration changes
are the TrueNAS WebUI, CLI, and API exclusively. ALL OTHERS ARE
NOT SUPPORTED AND WILL RESULT IN UNDEFINED BEHAVIOR AND MAY
RESULT IN SYSTEM FAILURE.
Not to say your suggestions aren’t valid, but you’re using the system in a way it isn’t intended to be used, and it isn’t especially surprising that this has resulted in a bad outcome.
Don’t trust AI without verify, and dont take what It say as good as argumentation , at least half of your claims are really baseless.
Even though I also think the warning about space usage in the boot pool can be useful, it wouldn’t have saved you anyway… you probably wouldn’t have had time to stop the process.
You lose a boot pool following AI, but we see a lot worst happening to other user. Take that as experience
You were root at least the moment you created /mnt/temp-ssd. Pretty much every unix based system allows you to shoot yourself in the foot if root is involved. Don’t do that
Warnings might be a good idea though.
For some reason /var/log is on the boot-pool so there is some remote possibility that something going haywire overflows the pool before logrotate rotates it away. I don’t think anything should write to the boot-pool except when configuration changes are needed to be honest, but the devs have clearly a different opinion.