public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Tonči Stipičević" <tonci@suma-informatika.hr>
To: PVE User List <pve-user@pve.proxmox.com>
Subject: [PVE-User] add disk back to raid10
Date: Mon, 27 Feb 2023 15:45:50 +0100	[thread overview]
Message-ID: <be9260f3-2f46-684f-5220-0b1e00477800@suma-informatika.hr> (raw)

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




             reply	other threads:[~2023-02-27 14:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-27 14:45 Tonči Stipičević [this message]
2023-02-27 15:14 ` Aaron Lauterer
2023-02-27 16:49   ` Tonči Stipičević

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=be9260f3-2f46-684f-5220-0b1e00477800@suma-informatika.hr \
    --to=tonci@suma-informatika.hr \
    --cc=pve-user@pve.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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal