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)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 2300A94D88 for ; Mon, 27 Feb 2023 15:46:02 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id F2FB72CA60 for ; Mon, 27 Feb 2023 15:46:01 +0100 (CET) Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (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 for ; Mon, 27 Feb 2023 15:46:00 +0100 (CET) Received: by mail-ed1-x52c.google.com with SMTP id eg37so26667859edb.12 for ; Mon, 27 Feb 2023 06:46:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suma-informatika.hr; s=google; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=/8D8M8J3fDOWXlL8ufY4pLF5lfIoIeoiqQpheESHU6A=; b=onfSyTtc5wcw0c6OVWiAICF5d6tSMwpp4Hf6tYaoaRWBB/MI8mg0X3ucFolqgzYppm vRk0hVEEQ7U3UK6GUKbnQG+vYLfgNEG2Y3l5d6JKUPfapM79XNqag29avc7WgaOy6Hbc +0bpeGkZV54eKkYUlgoJ7ALodXiGlKb2nZdTe2xMQV+M//v2aY0EXPosxkw20wVFhby6 VG3WsPZgEbJtdCh/wQgXqZrUc37oYtOnJjRxOYjzbREGucwuPgKcXnYWAhqzEJcTk4Sy Z/A16hOqR97HLKAZYyEdBmCtH3I1eEcag2a0SQr3nTHmJJXvda66Hj3K+lXPOHzKczX9 qOkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=/8D8M8J3fDOWXlL8ufY4pLF5lfIoIeoiqQpheESHU6A=; b=oXXwhKOt3NQTpxIWJ2N+IloBRBpUTW0GdmPkogl0K4H+/TitUEXDr8BPu+540sXzdS ds+ibMAFR7fqGGqIpIlCqBJozywEZimd3VtJEBAJIcMz26oBV/YKwwr349s/TJNdGXBw Lghvag5wgkJt12CVkYlfKG5Q0ciVcwpheCsK+lLnayTAQq/7NU/BEaK/AG2W0ycJP664 ovMv6e/rITyBIbWzsxfcY9fquixu7P/1Wstat47suC6mDsd8ZqoDx0PKGWTQ6Dw15Q5d xiIvncQIItEk/c4oFqDVqezdlvVljFYmYshWg/l9J/xOcGXcV4jy2D9tD6tI5kpnCntB 3Bmw== X-Gm-Message-State: AO0yUKWsf6lyh/jcX/M3iCK2+tp+DjqAHIJRZP8q3byNZ14BOlwIJ80l yc0/EkytqoKDxVekhcxuJWLpbOO+P1mpzvYQ X-Google-Smtp-Source: AK7set/G1frxyTDCxwEGpxgPtU4tjLzL4LtLzRXX8GqWS2SCsiLAndVt+OlQwyoG0rC1UXRNZs8cdw== X-Received: by 2002:a17:906:d7ac:b0:8b2:3e72:101f with SMTP id pk12-20020a170906d7ac00b008b23e72101fmr36520224ejb.19.1677509152893; Mon, 27 Feb 2023 06:45:52 -0800 (PST) Received: from [10.10.21.51] (93-137-133-63.adsl.net.t-com.hr. [93.137.133.63]) by smtp.gmail.com with ESMTPSA id m9-20020a170906234900b008d85435f914sm3319901eja.98.2023.02.27.06.45.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Feb 2023 06:45:52 -0800 (PST) Message-ID: Date: Mon, 27 Feb 2023 15:45:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Content-Language: en-US To: PVE User List From: =?UTF-8?B?VG9uxI1pIFN0aXBpxI1ldmnEhw==?= Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.250 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 KAM_NUMSUBJECT 0.5 Subject ends in numbers excluding current years 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 Subject: [PVE-User] add disk back to raid10 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: Mon, 27 Feb 2023 14:46:02 -0000 Hello to all, I'm playing with zfs arrays. Here you can see former RAID10 because there is mirror-0 missing as such , because I unintentionally detached all disk references from this mirror-0 that used to be 2-disk mirror vdev for this raid10. 1. raid10 was OK  .... this is also boot raid10 2.  I physically removed one disk disk and mirror-0 became degraded 3. after lot of steps in order to replace one disk, put another-new and get all boot staff needed  and after lot of unsuccessful tries I unintentionally ended up detaching all references of old "faulted" disk and mirror-0 was gone 4. Now I have unnormal raid with two striped vdevs (see below), but one of them is just one disk , and the other one is regular mirror(-1) So, now I'm trying to attach/add new disk to this raid10 but in order to get mirror-0 like it was before  ....   How can I reference "add" or "attach" to make mirror-0 again (consisting of ata-WDC_WD2000F9YZ-09N20L1_WD-WMC5C0D7E3DU-part3  and the new disk )  ? Thank you very much in advance BR Tonci   pool: rpool  state: ONLINE   scan: resilvered 2.34G in 01:22:54 with 0 errors on Sun Feb 26 14:13:11 2023 config:         NAME STATE     READ WRITE CKSUM         rpool ONLINE       0     0     0           ata-WDC_WD2000F9YZ-09N20L1_WD-WMC5C0D7E3DU-part3 ONLINE       0     0     0           mirror-1 ONLINE       0     0     0             ata-WDC_WD2000F9YZ-09N20L1_WD-WMC1P0F7KHZM-part3 ONLINE       0     0     0             ata-WDC_WD2000F9YZ-09N20L1_WD-WMC5C0D6WZT4-part3 ONLINE       0     0     0         special           mirror-2 ONLINE       0     0     0             sde ONLINE       0     0     0             sdf ONLINE       0     0     0 errors: No known data errors -- srdačan pozdrav / best regards Tonči Stipičević, dipl. ing. elektr. direktor / manager SUMA Informatika d.o.o., Badalićeva 27, OIB 93926415263 Podrška / Upravljanje IT sustavima za male i srednje tvrtke Small & Medium Business IT Support / Management mob: 091 1234003 www.suma-informatika.hr