From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 2ADD870F4F for ; Thu, 16 Jun 2022 00:20:26 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 174D62D616 for ; Thu, 16 Jun 2022 00:19:56 +0200 (CEST) Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 7B9762D606 for ; Thu, 16 Jun 2022 00:19:55 +0200 (CEST) Received: by mail-ot1-x32a.google.com with SMTP id l9-20020a056830268900b006054381dd35so9868691otu.4 for ; Wed, 15 Jun 2022 15:19:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=DHucOpldpoL8ppL1E6V9k6gn3CxXgTxWr+5/FDYAtpc=; b=gZme/Mw7JRzH56Qwj6N59x834A1L9kzsnNKl6w8dYzdmpMp6V8dbmIK6NzWn0VzqG0 TTZL0lN5Hj5rSV9ewy0lfx9lB9VahU4wiy5Y3CwOmZHaexeBHh2HZAeihFPUvAPKZ3ig WDrSVjmD7Dba4pCcDrrnjHC4UukYEsqSAD20JFTYLLxYN9jsK73akdNm5VMoOvfjvAor JgeI2uQpPn9PO/eQ+UHHf5NHx8PbWbXD6B2FQL1HzxnMtfhvWX0Da3xGnf+6M1+yJQVF ramK957qOjwwv5pwtUlmomXtZ6tabKA6DzuA93XkZdrw8HO8xlXUN8aUONLtDuQHaUOW V5fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=DHucOpldpoL8ppL1E6V9k6gn3CxXgTxWr+5/FDYAtpc=; b=6ZE8SYvIHl0ZpKhfOTTRcrYMkkWgoK1EIfFE19zIyqo8NitxPXu8uRvt0CnWZRx088 AQTOBTVtVlFgXR9CKC+Z7sfGTIq3gxFDnokPFnDD5SqrQBYaHdHNNv4+FRDXe0KAbSEg SXZbMU7e9C3PTFH2tTLqBUJgvOVnsRAZaaVn7q0cskYORzXIH2e0UxrxJrNfj6jZsp/Q ntpV8yVlyJevPF0ErdA1ek0hf1PJ5A13/ojlJA+guvPhedmRTiOshA6+kIemBcW/yog3 tL8N1MLNS5+8DyA+hVCiHifjm7QDWn2JRLPBS3I+arunAqd1uXkRKs0E8OnRj1C6jOEE 2WZw== X-Gm-Message-State: AJIora9uXfvd7BIX+J90RnqnLCfYvpNZr8TsfRB3EIAKxJQdM76G3GgO PTW5tv5mr5yEe5QWsDJItQ5VNYo0YFJT61U77zckuDui X-Google-Smtp-Source: AGRyM1uvtQ4gWEdnrwkFAoE+yPufZ1Gwdh4gKAyfhgghl5VsIq+aThjYllN/N4nR9ylGd0qFzyE56gBiWLz0C4Gj+yU= X-Received: by 2002:a9d:3783:0:b0:60e:319a:25c2 with SMTP id x3-20020a9d3783000000b0060e319a25c2mr59322otb.7.1655331587527; Wed, 15 Jun 2022 15:19:47 -0700 (PDT) MIME-Version: 1.0 References: <67568334-CD95-409A-A4DF-4CB756B1CFC8@volny.cz> In-Reply-To: <67568334-CD95-409A-A4DF-4CB756B1CFC8@volny.cz> From: GM Date: Wed, 15 Jun 2022 23:19:36 +0100 Message-ID: To: Proxmox VE user list X-SPAM-LEVEL: Spam detection results: 0 AWL 0.336 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain FREEMAIL_ENVFROM_END_DIGIT 0.25 Envelope-from freemail username ends in digit FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider HTML_MESSAGE 0.001 HTML included in message RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [PVE-User] How to add mirror to existing zfs pool? What geometries are bootable? X-BeenThere: pve-user@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2022 22:20:26 -0000 > - 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.