Delete the original system partition after pve is reinstalled

When installing pve, the system was wrongly installed in the solid state to be cached. When installing the system for the second time, it will detect that pve has been installed before, and then automatically name the previous partition as pve-oldxxxxx, leaving a large number of previous ones. Partition information, and this part of the space cannot be used

According to the general order of deleting lv vg pv by lvm, first delete lv under vg, then delete vg, and finally delete pv, but in general, pve will generate a lot of lv during use, so you can use it when deleting The vgremove command deletes vg directly, and also deletes the lv under vg.

After the reinstallation is complete, the pve node will create a vg called pve by itself, and everything else is the original residual vg.
Use the vgremove command to delete all vgs except pve.
Then create a new lvm volume

Guess you like

Origin blog.csdn.net/sxhexin/article/details/113486462