Curtin is currently using a two force:
$ lvremove --force --force vg_lv_name

as indicating here:
https://github.com/CanonicalLtd/curtin/blob/14c0560ed4482cb3b514fbec8d89118bd775652f/curtin/block/clear_holders.py#L136-L138

# LVREMOVE(8) #

Confirmation will be requested before deactivating any active LV prior
to removal. LVs cannot be deactivated or removed while they are open
(e.g. if they contain a mounted filesystem). Reā€moving an origin LV will
also remove all dependent snapshots.

When a single force option is used, LVs are removed without
confirmation, and the command will try to deactivate unused LVs.

To remove damaged LVs, two force options may be required (-ff).

-f|--force ...
Override various checks, confirmations and protections. Use with extreme 
caution.

** Tags added: sts

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1871874

Title:
  lvmremove occasionally fails on nodes with multiple volumes and curtin
  does not catch the failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1871874/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to