zpool replace command you then run
zpool attach rpool <current disk> /dev/disk/by-id/<new disk>-part3
Thanks! Just to precise things but then setting it as raid0 during setup is enough right?You can create a single disk pool during installation and once you have the second disk and want to add it to create a mirror you can do so by following the guide to replace a failed ZFS boot disk [0] and instead of thezpool replacecommand you then runCode:zpool attach rpool <current disk> /dev/disk/by-id/<new disk>-part3
This should attach it as mirrored disk to the existing one.
[0] https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysadmin_zfs_change_failed_dev

exactlyjust to precise things but then setting it as raid0 during setup is enough right?
View attachment 21183
sgdisk --replicate=/dev/<device B> /dev/<device A>sgdisk --randomize-guids /dev/<device B>grub-install /dev/<device B>zpool attach rpool<current disk id> /dev/disk/by-id/<newdisk id># zpool status
pool: rpool
state: ONLINE
scan: resilvered 1.03G in 0 days 00:00:01 with 0 errors on Tue Nov 17 11:14:10 2020
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
<disk id B> ONLINE 0 0 0
<disk id A> ONLINE 0 0 0
We use essential cookies to make this site work, and optional cookies to enhance your experience.