SOLVED Boot Mirror Silvering taking days

Status
Not open for further replies.

Martin Jones

Dabbler
Joined
Feb 9, 2016
Messages
48
Build FreeNAS-9.10.2-U6 (561f0d7a1)
Platform Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz
Memory 16320MB
System Time Thu Oct 05 11:48:04 CEST 2017
Uptime 11:48AM up 5:52, 0 users
Load Average 0.10, 0.10, 0.08

Boot Volume Condition: DEGRADED One or more devices could not be opened. Sufficient replicas exist for the pool to continue functioning in a degraded state.
Size:
14.9 GiB

I have tried to mirror my boot drive using the examples contained in the freenas guide. I used a larger USB flash drive as suggested and everything was working fine until I tried this. Now it appears that the boot drive has failed but I don't understand this screen at all. The third line indicates the drive that I used to mirror which I removed after 3 days is correctly unavailable. I have no idea what the da0p2 is, but appears to be working so why is the Freenas boot drive degraded.

What should I be doing next?

upload_2017-10-5_12-11-54.png

Boot Volume Condition: DEGRADED One or more devices could not be opened. Sufficient replicas exist for the pool to continue functioning in a degraded state.
Size: 14.9 GiB
Used: 5.1 GiB (34%)


Automatic scrub interval (in days)
Name

Active

Created

Keep


default 2016-05-31 15:43:00 No
Initial-Install 2016-05-31 16:06:00 No
9.10-STABLE-201605240427 2016-05-31 16:16:00 No
9.10-STABLE-201606072003 2016-06-09 09:44:00 No
9.10-STABLE-201606270534 2016-06-29 08:27:00 No
9.10.1 2016-08-05 13:28:00 No
9.10.1-U2 2016-10-05 22:08:00 No
Wizard-2016-11-06_21:06:52 2016-11-06 21:06:00 No
9.10.1-U3 2016-11-08 20:59:00 No
9.10.1-U4 2016-11-10 11:35:00 No
9.10.2 2016-12-20 09:54:00 No
9.10.2-U1 2017-01-12 09:29:00 No
9.10.2-U2 2017-03-07 12:11:00 No
9.10.2-U3 2017-05-16 12:56:00 No
9.10.2-U5 2017-06-15 15:11:00 No
9.10.2-U6 On Reboot, Now 2017-07-28 11:29:00 No
 
Last edited:

Artion

Patron
Joined
Feb 12, 2016
Messages
331
Hi, have you detached the mirror before pulling it out? If not, FN warns you that device is not anymore there and so the mirror is degraded. If you want to reurn to a single device be sure to detach the device you pulled out from the shell with zpool command

Inviato dal mio YD201 utilizzando Tapatalk
 
Last edited:

Martin Jones

Dabbler
Joined
Feb 9, 2016
Messages
48
Hi, have you detached the mirror before pulling it out? If not, FN warns you that device is not anymore there and so the mirror is degraded. If you want to reurn to a single device be sure to detach the device you pulled ou from the shell with zpool command

Inviato dal mio YD201 utilizzando Tapatalk

Never tried this before. Thanks for your help it worked perfectly
 

Artion

Patron
Joined
Feb 12, 2016
Messages
331
Well done. Can you mark this as Solved? Look at my signature on how. :)
 

Arun Kumar

Cadet
Joined
Oct 24, 2017
Messages
9
Friends,
In my case , directly installed to 2 similar USBs(8GB), with an intention of keep one as backup. I understood from this thread that we need to detach before removing. Is there any option to detach from Web Interface itself ?

upload_2017-10-28_14-3-48.png
 

Attachments

  • upload_2017-10-28_13-59-54.png
    upload_2017-10-28_13-59-54.png
    12.9 KB · Views: 214

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925

Arun Kumar

Cadet
Joined
Oct 24, 2017
Messages
9
In the 11.1 BETA, yes.

Hi Redcot,

I tried detaching using below steps and tried to boot with single disk in a Virtual Machine setup, but I ended up in error ! (no such device entering rescue mod!!)
upload_2017-10-28_16-58-10.png



upload_2017-10-28_16-59-30.png


But if I keep the first disk and removing the second one , it works normally !!

As per the design , I should able to boot from any of the two disks ? right ?
 

Attachments

  • upload_2017-10-28_17-0-3.png
    upload_2017-10-28_17-0-3.png
    28.1 KB · Views: 247

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
I'm guessing that you tried to boot from the virtual drive that you detached.
 

Arun Kumar

Cadet
Joined
Oct 24, 2017
Messages
9
Hi Redcoat
Thank you for your response !!

Once boot device mirroring is completed, may I detach and keep it as backup ?, if in case the one currently using became faulty, I can replace the faulty one (with the one detached earlier) & continue service ?

If this concept is wrong,I think then your clue(trying to boot from the detached one) is correct !
 

Arun Kumar

Cadet
Joined
Oct 24, 2017
Messages
9
Hi Redcoat,
I think my concept was wrong, If I want to keep one USB as backup, then I should not detach, just shutdown and unplug one USB & boot with single one. OR keep running with both USBs , which is good practice ?.
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Many of us here have switched from the use of USB's to a single small SSD based on the much superior reliability of SSD over USB. There have been many reports of USB failure in the last 12 months or so with no clear indication of the reasons, but a suspicion about quality of the devices themselves.

I don't know if detaching a boot drive will render it "unbootable" or if what you experienced was a corruption of one of the drives in a similar fashion as those reported by the USB users. What I believe is that one can detach and store/save a boot drive as you attempted to do, but now I am less sure that is so and I don't have time to run tests right now. Hopefully someone else will chip in here with more comment.
 
Status
Not open for further replies.
Top