]> git.proxmox.com Git - pve-installer.git/commit
clear zpool labels on selected disks' partitions
authorStoiko Ivanov <s.ivanov@proxmox.com>
Tue, 2 Jul 2019 14:44:31 +0000 (16:44 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 3 Jul 2019 04:28:54 +0000 (06:28 +0200)
commit063ae64af3d2784581dc4ea054a5019ac5cb1173
tree1785c8efc7d1e4f42ef74938f02e8824965eb7c0
parent091c347599e00045150bc7a7a29aa3fd51ecab46
clear zpool labels on selected disks' partitions

along with `pvremove -ff` and writing zeroes to the first 16M of all
partitions, which belong to disks selected in the installer run `zpool
labelclear`.

This prevents a failure to boot after installation, if the disks were
previously also used as a zpool called rpool, but in a different configuration
(e.g. installing a raidzX first and then changing to raid10).
proxinstall