all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Marco Gaiarin <gaio@lilliput.linux.it>
To: pve-user@lists.proxmox.com
Subject: [PVE-User] Correct substitution of a ZFS failed disk...
Date: Mon, 27 Dec 2021 11:03:24 +0100	[thread overview]
Message-ID: <akfo9i-5n12.ln1@hermione.lilliput.linux.it> (raw)


I've found many useful and relevant information about ZFS and boot loader,
but not (even of wiki) a simple guide on how substitute a faled disk in a
ZFS boot pool (for sake of simplicity, suppsing a two-disk ZFS mirror).

Surely this will involve:

1) set the disk as offline:

	zpool offline rpool-data <GUID of failed disk>

2) add the new disk:

	zpool replace rpool-data <GUID of failed disk> /dev/xxxx

3) reinstall the bootloader on new disk:

	proxmox-boot-tool format /dev/yyyyy
	proxmox-boot-tool init /dev/yyyyy


But... in what order?! I suppose i need to partition the disk before using 'zpool
replace'... 'proxmox-boot-tool' take care of that?!


Thanks.

-- 
  Worrying about case in a Windows (AD) context is one of the quickest paths to
  insanity.							(Patrick Goetz)





             reply	other threads:[~2021-12-27 10:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-27 10:03 Marco Gaiarin [this message]
     [not found] <mailman.374.1640600986.300.pve-user@lists.proxmox.com>
2021-12-27 11:57 ` Roland privat
2021-12-27 14:22   ` Marco Gaiarin

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=akfo9i-5n12.ln1@hermione.lilliput.linux.it \
    --to=gaio@lilliput.linux.it \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal