Hi
I am currently rationalising my Snapshots, removing a myriad of messy recursive ones, and replacing them from scratch with three sane alternatives. However I find one snapshot - that I didn’t know existed and cannot account for - refuses to be deleted. It describes itself as a Grafana snapshot. I do have Grafana on my system, which I manually installed with great difficulty but totally with the help of a great article on the sadly abandoned previous TrueNAS forum. So I understand the reference to Grafana here but I am at a loss as to this Snapshot and why it refuses to delete.
When I try to delete it, the GUI asks me to confirm, which I do, and hit delete, and the screen blinks, no error message, but no delete either. I know it’s (probably) not causing any problems so maybe I should leave it alone, but just in case it’s a harbinger of something wrong, I thought I should check in with you guys and gals.
Next time, please use SSH to copy and paste text, rather than images that wrap.
Grafana was created as a “clone” jail. It is the only jail that says “no” under the “BASEJAIL” column.
A “clone jail” is forever tethered to its original release. This means that the snapshot has a dependent dataset (“clone”) that is used for the grafana jail’s root. You cannot destroy snapshots with dependent clones, unless you “force” it. But this will break anything that requires the cloned dataset.
Thank you Winnie.
I’m afraid that’s mostly Boss Level Esoterica to me, although I did get two details from it - that I should leave it alone and not interfere, and that apparently it has a dataset associated with it? So I was wondering why, under Storage/Pools, I see no dataset there? Is this because it’s dataset only exists inside the jail, or some other reason?
The only solution is to destroy the entire pool and restore from backup.
Leave it alone. Delete it only if you no longer need the grafana jail. You’ll have to first delete the jail.
It’s possible to create a new jail for Grafana, and choose the “Basejail” option instead. Might not be worth it to you.
Are you sure? You have a manually created clone jail for Grafana. You should see a dataset under NAS/iocage/jails/grafana and NAS/iocage/jails/grafana/root.
You are quite right. I have never had occasion to drill so deep into the iocage dataset before but now I open all nested levels - there it, well, nestles.
Thank you Winnie - for your wisdom, for your grace with my ignorance, and of course for your valuable time too. I appreciate your thoughts (and manner) very much!