Page 1 of 1

ZFS Replace bad drive

Posted: Sat Dec 26, 2020 7:17 pm
by Mazzz79
Prepare new drive

Code: Select all

$ sudo parted /dev/disk/by-id/ata-WDC_WD60EZRZ-00GZ5B1_WD-WX31D95N3KPA

GNU Parted 2.3
Using /dev/sdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel GPT
(parted) q
Information: You may need to update /etc/fstab.

Code: Select all

sudo zpool replace zfs-pool 2277585469358930581 /dev/disk/by-id/ata-WDC_WD60EZRZ-00GZ5B1_WD-WX31D95N3KPA