Removing USB Drive from Mirror

Status
Not open for further replies.

Andrew076

Patron
Joined
Apr 5, 2015
Messages
206
Is there a way to remove a USB Drive from a Mirror?

So, years ago when I setup my system, I had to 16 GB USB sticks that I used for my OS. One of the faulted pretty quickly, and I got an other one. Unfortunately, rather than replace the faulted disk I mistakenly added the third USB Drive to the Mirror. So now I have three USB drives for my OS. This has been fine but it is a pain identifying which USB goes bad when one does (I have not figured a way to do it, unlike drives there are no serial numbers that I can see anyway).

So, I was hoping someone could tell me how to remove the "FAULTED" drive.

USB.JPG
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
If your USBs have activity lights, you can do

dd if=/dev/XXX of=/dev/null

Where XXX is the device ID

The one that lights up is the one you picked... if its fully dead, it might not light up... so try the other... etc.

I've successfully removed a USB partition... lemme see...

zpool detach freenas-boot da2p2

will remove da2...

It won't actually remove the bootblocks though.
 

Andrew076

Patron
Joined
Apr 5, 2015
Messages
206
So this will be very helpful

... dd if=/dev/XXX of=/dev/null

Where XXX is the device ID

What do you mean that it won't actually remove the bootblocks though.

What I am looking to do is remove it from the mirror. Once removed I would assume the status should be good again yes?
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
Assuming the USB is still functional it means that it can still partially boot your PC. A wipe in the UI would fix that.

Of course, if there is no USB that doesn't matter. I said it for completeness
 
Status
Not open for further replies.
Top