all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* Re: [PVE-User] Correct substitution of a ZFS failed disk...
       [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
  0 siblings, 1 reply; 3+ messages in thread
From: Roland privat @ 2021-12-27 11:57 UTC (permalink / raw)
  To: Arjen, Proxmox VE user list

https://pve.proxmox.com/wiki/ZFS_on_Linux#sysadmin_zfs_change_failed_dev

Von meinem iPhone gesendet

> Am 27.12.2021 um 11:29 schrieb Arjen via pve-user <pve-user@lists.proxmox.com>:
> 
> 
> <mime-attachment>
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user


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

* Re: [PVE-User] Correct substitution of a ZFS failed disk...
  2021-12-27 11:57 ` [PVE-User] Correct substitution of a ZFS failed disk Roland privat
@ 2021-12-27 14:22   ` Marco Gaiarin
  0 siblings, 0 replies; 3+ messages in thread
From: Marco Gaiarin @ 2021-12-27 14:22 UTC (permalink / raw)
  To: Roland privat; +Cc: pve-user

Mandi! Roland privat
  In chel di` si favelave...

> https://pve.proxmox.com/wiki/ZFS_on_Linux#sysadmin_zfs_change_failed_dev

Totally missed that. Thanks to all!

-- 
  Mi piaccion le fiabe
  raccontane altre					(F. Guccini)





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

* [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 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