* [PVE-User] How to add mirror to existing zfs pool? What geometries are bootable?
@ 2022-06-15 19:06 Jan Vlach
2022-06-15 22:19 ` GM
0 siblings, 1 reply; 2+ messages in thread
From: Jan Vlach @ 2022-06-15 19:06 UTC (permalink / raw)
To: pve-user
Hello pve-user list,
I have two questions:
- What is the correct procedure to add mirror to existing zpool so I have two mirrors striped layout?
- Would pool with these two vdevs be bootable?
Thank you,
JV
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PVE-User] How to add mirror to existing zfs pool? What geometries are bootable?
2022-06-15 19:06 [PVE-User] How to add mirror to existing zfs pool? What geometries are bootable? Jan Vlach
@ 2022-06-15 22:19 ` GM
0 siblings, 0 replies; 2+ messages in thread
From: GM @ 2022-06-15 22:19 UTC (permalink / raw)
To: Proxmox VE user list
> - What is the correct procedure to add mirror to existing zpool so I have
> two mirrors striped layout?
Try 'zpool add -n pool mirror dev1 dev2' , that should reveal how the pool
would look like after adding those two devices. If satisfied with the
results, then execute same command without '-n' for the actual changes to
take effect.
> - Would pool with these two vdevs be bootable?
The pool itself would remain bootable given that the first pair of mirrors
still has the bootloader information on it. However you must ensure that
the new pair has the same bootloader information written on it as well, in
such way so that the system can boot from all 4 disks in the pool. How this
is done depends on how you currently boot the system (legacy, bios boot,
efi). I would personally clone the partition layout of the first pair of
disks onto the new pair by using sgdisk. Then add the disks to the pool as
shown above (by using the correct disk partition) and finally fix the
bootloader as per pve admin guide.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-15 22:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-15 19:06 [PVE-User] How to add mirror to existing zfs pool? What geometries are bootable? Jan Vlach
2022-06-15 22:19 ` GM
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox