Can not remove disk

Status
Not open for further replies.
Joined
Feb 10, 2017
Messages
4
Dear Community,
I'd like to remove a cache disk from the system, but I can't. I tried these

pool: striped_volume
state: ONLINE
scan: scrub repaired 0 in 10h11m with 0 errors on Sun Jan 29 10:11:22 2017
config:

NAME STATE READ WRITE CKSUM
striped_volume ONLINE 0 0 0
gptid/c728df93-17ea-11e3-856a-64315045f47f ONLINE 0 0 0
gptid/c7a43b8a-17ea-11e3-856a-64315045f47f ONLINE 0 0 0
gptid/844a849b-aa49-11e4-abb0-64315045f47f ONLINE 0 0 0

errors: No known data errors
[root@freenas ~]# zpool detach striped_volume gptid/844a849b-aa49-11e4-abb0-6431
5045f47f
cannot detach gptid/844a849b-aa49-11e4-abb0-64315045f47f: only applicable to mir
ror and replacing vdevs
[root@freenas ~]# zpool remove striped_volume gptid/844a849b-aa49-11e4-abb0-6431
5045f47f
cannot remove gptid/844a849b-aa49-11e4-abb0-64315045f47f: only inactive hot spar
es, cache, top-level, or log devices can be removed
[root@freenas ~]# zpool offline striped_volume gptid/844a849b-aa49-11e4-abb0-643
15045f47f
cannot offline gptid/844a849b-aa49-11e4-abb0-64315045f47f: no valid replicas
[root@freenas ~]#
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
You don't have a cache on that pool. You would know if you have a SLOG or L2ARC attached as it will show either cache: or log: as part of the zpool status command.

What you're trying to do right now is remove a drive from the pool, which you cannot do as you never added the drive as a cache or log.
 
Joined
Feb 10, 2017
Messages
4
You don't have a cache on that pool. You would know if you have a SLOG or L2ARC attached as it will show either cache: or log: as part of the zpool status command.

What you're trying to do right now is remove a drive from the pool, which you cannot do as you never added the drive as a cache or log.

Hmmm, it is funny, as I remember definitely I added it as a cache (it is small SSD).
Anyway, as it is a stripe, there is a way to replace it to another disk (e.g. bigger HDD)?
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
Anyway, as it is a stripe, there is a way to replace it to another disk (e.g. bigger HDD)?
No, a stripe has no redundancy. As soon as you remove a drive or one dies, you lose the pool. You will have to backup your data and rebuild it from scratch to remove the SSD from the pool.
 
Joined
Feb 10, 2017
Messages
4
No, a stripe has no redundancy. As soon as you remove a drive or one dies, you lose the pool. You will have to backup your data and rebuild it from scratch to remove the SSD from the pool.

...but if I'm clicking on the volume's status there is a replace option for the disk.
Isn't it possible to add another (bigger) HDD instead of this small SSD?
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
You *might* be able to replace it by putting the new drive in the machine and then doing the "replace". Both old device and new one would be there at the same time.

I would back up the data first. And test it in a VM. In general, you are living dangerously with a striped pool like you have.
 
Last edited:
Joined
Feb 10, 2017
Messages
4
You *might* be able to replace it by putting the new drive in the machine and then doing the "replace". Both old device and new one would be there at the same time.

I wpoud back up the days first. And test it in a VM. In general, you are living dangerously with a striped pool like you have.

This is my media volume for "backed up" movies.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
You can just put a new drive in and replace the old drive with the new drive. After it's done reilvering you can remove the old SSD.

Sent from my Nexus 5X using Tapatalk
 
Status
Not open for further replies.
Top