public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] Correct substitution of a ZFS failed disk...
@ 2021-12-27 10:03 Marco Gaiarin
  0 siblings, 0 replies; 3+ messages in thread
From: Marco Gaiarin @ 2021-12-27 10:03 UTC (permalink / raw)
  To: pve-user


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)





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-27 15:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.374.1640600986.300.pve-user@lists.proxmox.com>
2021-12-27 11:57 ` [PVE-User] Correct substitution of a ZFS failed disk Roland privat
2021-12-27 14:22   ` Marco Gaiarin
2021-12-27 10:03 Marco Gaiarin

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