From: GM <gianni.milo22@gmail.com>
To: Proxmox VE user list <pve-user@lists.proxmox.com>
Subject: Re: [PVE-User] How to add mirror to existing zfs pool? What geometries are bootable?
Date: Wed, 15 Jun 2022 23:19:36 +0100 [thread overview]
Message-ID: <CACzVk9UrM=9jUU7EcPjjq_kayT8AZ8URs33TwO_QP-2Fh6tq2Q@mail.gmail.com> (raw)
In-Reply-To: <67568334-CD95-409A-A4DF-4CB756B1CFC8@volny.cz>
> - 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.
prev parent reply other threads:[~2022-06-15 22:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-15 19:06 Jan Vlach
2022-06-15 22:19 ` GM [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CACzVk9UrM=9jUU7EcPjjq_kayT8AZ8URs33TwO_QP-2Fh6tq2Q@mail.gmail.com' \
--to=gianni.milo22@gmail.com \
--cc=pve-user@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox