How to attach back accidentally unpluged drive

Joined
Feb 15, 2019
Messages
5
Accidentally I unplugged external USB drive. How can I mount it back to my FreeNAS system?

In "View volumes" I can see my detached volume.
25-04-2019 17-06-34.png


I tried to import volume, but I can't see my vol.
25-04-2019 17-15-08.png


25-04-2019 17-19-36.png


Why I can't import my drive back?

Physically the drive is present in my devices.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
Did you try rebooting?
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
This is one reason that use of USB drives is discouraged.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
So bak3, is that A pool? What's the output of zpool import? I suspect it's empty. Does the drive leave log messages when you connect the USB?
 
Joined
Feb 15, 2019
Messages
5
I found the solution. I just ran
zpool clear <poolname>
and after that it attaches back and becomes online. I tried some experiments with detaching USB drive and it works almost all the time. If it does't work, just try to import it againt after clearing
 
Top