How to delete PVC volume which belong to a deleted app?

jasonhui

Cadet
Joined
Mar 8, 2023
Messages
5
I want to upgrade my qbittorrent app instance and meet with error info "[EINVAL] values.scaleGPU: Not a list".
I think I must delete the former app instance and re-install it.
When I delete app instance I met something wrong, the app instance has gone but the PVC belong to it is still there.
I must create new app instance with different name, or it will reject to create new app instance because it detects the former PVC exists.
Is there any method to remove the former PVC volume?
 

void_one

Dabbler
Joined
Sep 3, 2022
Messages
10

XikoCat

Cadet
Joined
Aug 21, 2023
Messages
2
Happened to me. Here's how I "fixed" it:

Unmount the volumes
Code:
umount \mnt\mounted-pvc\<path>


delete the directories:
Code:
rm -r \mnt\mounted-pvc\<path>
 

XikoCat

Cadet
Joined
Aug 21, 2023
Messages
2
Make sure to only do it to directories that you can't remove using heavyscript
 
Top