Not allowing me to replace cache disk

Status
Not open for further replies.

fullspeed

Contributor
Joined
Mar 6, 2015
Messages
147
Hi, I had a cache disk show up as unavail so I replaced the hardware, went into Freenas and tried to swap and it says :

Error: Disk replacement failed: "cannot replace 381322576533272691 with gptid/97c37760-f4e4-11e6-8da9-d4ae5278c8c8: device is in use as a cache,

This is a brand new SSD, do I have to wipe it first..?

upload_2017-2-16_23-58-52.png

upload_2017-2-16_23-59-49.png
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Simply remove / delete the cache device, then add the replacement as a cache device.

The zpool replace is for data disks, so that it can trigger a re-silver of the data. Remember
cache devices have copies of data, not the original data. So after you remove the old broken
one, and add the new cache device, it will automatically re-populate from the original data
over time, as it's requested / used.
 

fullspeed

Contributor
Joined
Mar 6, 2015
Messages
147
Simply remove / delete the cache device, then add the replacement as a cache device.

The zpool replace is for data disks, so that it can trigger a re-silver of the data. Remember
cache devices have copies of data, not the original data. So after you remove the old broken
one, and add the new cache device, it will automatically re-populate from the original data
over time, as it's requested / used.

Ok I was thinking about removing + adding the new one but I wasn't 100% sure, much appreciated.
 
Status
Not open for further replies.
Top