Hi all, Can someone tell me how to execute the `lh...
# longhorn-storage
i
Hi all, Can someone tell me how to execute the
lhexec
command on a Longhorn instance installed via the Rancher UI? I looked for it in all the Longhorn pods but can't find it. Any help woudl be appreciated Or different: is there a pod where the Longhorn CLI is already installed? I'm getting a "Too many snapshots" error and it seems the appropriate way of fixing it is using
lhexec
for it ....
l
Hi Lowry, Longhorn CLI is not installed on any POD, because its main usage is to install on the nodes all the necessary dependencies before to install Longorn. However, if you want to delete some snapshots from your system , you can't do that with the CLI, you can do it via Longhorn UI.
☝️ 1
b
Additionally, if there's a LOT, or they're hidden system backups for some reason, you can just use
kubectl
(ie
kubectl get snapshots -A
)
i
Thanks for the info. I thought there was a bug in the UI because I got a "too many snapshots" error but was sure that I'm cleaning them up every night via cron ... turns out I overlooked one PV which had indeed too many snapshots. So, as so often the error happened in front of the screen, not behind it.