mirror of
https://github.com/ewwhite/zfs-ha.git
synced 2026-05-15 22:05:04 -06:00
[GH-ISSUE #22] Drive replacement #20
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/zfs-ha#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Tualua on GitHub (Mar 16, 2019).
Original GitHub issue: https://github.com/ewwhite/zfs-ha/issues/22
Hi!
I have a question.
When I create stonith device with pcs stonith create fence-vol1 I use SCSI-address, e,g, 35000c500236032f7
What will happen when I need to replace faulty drive? Will SCSI address be the same or I will need to change stonith device?
Thanks!
@ewwhite commented on GitHub (Mar 20, 2019):
Good question.
For the fencing to continue working, you will need to update the stonith to reflect the new drive's WWN and remove the old drive's WWN.
This can be done in the web GUI or by using a
pcs stonith updatecommand.For example:
pcs stonith update fence-vol1 fence_scsi pcmk_monitor_action="metadata" devices="/dev/mapper/35000c5005612a19b,/dev/mapper/35000c500560e98cb,/dev/mapper/35000cca01c49e3e0,/dev/mapper/35000c50055f463ef,/dev/mapper/35000c5005612d27f,/dev/mapper/35000c5005612dbd3,/dev/mapper/35000c50055f4d54f,/dev/mapper/35000c5005608023f,/dev/mapper/35000c50055f4c593,/dev/mapper/35000c50055f4d2c7,/dev/mapper/35000c500561126bb,/dev/mapper/35000a7203008dd91" meta provides=unfencing"@Tualua commented on GitHub (Mar 21, 2019):
Thanks!