Cannot wipe a disk which was previously used with lvm #13476
-
|
I have a node which has talos installed with a disk used for lvm. Then i reset the node to maintaince mode and want to wipe the disk with:
But getting
Also tried the undocumented How can i wipe the disk? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Talos added a check for the blockdevice to be busy on the kernel level, which correctly doesn't let you wipe a blockdevice which is "in use" by LVM. Talos 1.13+ you can use Talos 1.14+ will have native APIs to manage LVM volumes, which would have helped here. |
Beta Was this translation helpful? Give feedback.
Talos added a check for the blockdevice to be busy on the kernel level, which correctly doesn't let you wipe a blockdevice which is "in use" by LVM.
Talos 1.13+ you can use
talosctl debugto manually destroy the LVM using CLI.Talos 1.14+ will have native APIs to manage LVM volumes, which would have helped here.