]> git.proxmox.com Git - pve-installer.git/commit
use by-id paths for all vdevs on pool creation
authorStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 27 Nov 2019 16:06:59 +0000 (17:06 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Nov 2019 18:17:26 +0000 (19:17 +0100)
commite1b490865f750e08f6c9c6b7e162e7def9dcc411
treeb22b689fe4ca708c2d1f9c1252294f8576bd5702
parent34e44994194ce62fa8719e249bf16785628e44ec
use by-id paths for all vdevs on pool creation

currently only the first vdev of a ZFS rpool gets created with the stable
/dev/by-id paths, all later vdevs (in a RAID0 or RAID10 setup) are left as
sdX.

By iterating over all disks in the pool and replacing their occurence with
their by-id path we get consistent and recommended names for all vdevs.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
proxinstall