HDD with uncorrectable sectors, how to remove safely for RMA from a raid-z2?

wvanelten

New Member
Feb 24, 2022
5
1
3
37
Hi there,

I have 6 times a 14TB HDD in a ZFS Raid-z2.
One disks has a counter of 4 for an Offline uncorrectable sectors.
Advice is to replace the disk.
One option of course is to just yank the drive out, send it for RMA and place the new drive once it arrives.
But, I'm sure there is a more sophisticated approach here.

How can I "tell" my server/ZFS pool that this one disk needs to go offline because it will be replaced?
Note, I don't have the new disk at hand, I need to send the disk for a RMA, so the server will be without the disk for about a week or so (so a Raid-z2 with 1 drive removed).
 
Hi there,

I have 6 times a 14TB HDD in a ZFS Raid-z2.
One disks has a counter of 4 for an Offline uncorrectable sectors.
Advice is to replace the disk.
One option of course is to just yank the drive out, send it for RMA and place the new drive once it arrives.
But, I'm sure there is a more sophisticated approach here.

How can I "tell" my server/ZFS pool that this one disk needs to go offline because it will be replaced?
Note, I don't have the new disk at hand, I need to send the disk for a RMA, so the server will be without the disk for about a week or so (so a Raid-z2 with 1 drive removed).

Sounds like zpool offline POOLNAME /dev/sdX https://manpages.ubuntu.com/manpages/impish/man8/zpool-offline.8.html
or: https://www.dlford.io/linux-zfs-raid-disk-replacement-procedure/
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!