SOLVED Boot Mirror degraded, having issues replacing disk and booting from it

Status
Not open for further replies.

melbournemac

Dabbler
Joined
Jan 21, 2017
Messages
20
Hi

FreeNAS 9.10.1

Boot mirror recently became degraded. It consisted of two Sandisk USB devices, one of which failed. I added a Samsung SSD to the system & used the replace option in the GUI to replace the failed USB with the SSD. The resilver completed, boot pool OK. Failed USB pulled from system

System boots fine when booting from the remaining USB. Boot mirror status is OK. If I change the BIOS to boot from the SSD, the boot process does not complete. It does not get to the stage where you can select the default or previous snapshot

I have since added another SSD to the boot mirror (via the GUI). The goal is for the boot mirror to consist of the 2 SSDs only.

Reading other threads - suggests that best way forward is to do a clean install & restore the config. Before doing this - any ideas?

thanks,

Steve

Code:
[root@freenas ~]# zpool status																									 
  pool: freenas-boot																												
state: ONLINE																													 
  scan: resilvered 1.85G in 0h0m with 0 errors on Sun Jan 22 09:20:33 2017														 
config:																															 
																																	
		NAME											STATE	 READ WRITE CKSUM												 
		freenas-boot									ONLINE	   0	 0	 0												 
		  mirror-0									  ONLINE	   0	 0	 0												 
			gptid/6fe9cce9-81c6-11e6-9ebb-001e676ba520  ONLINE	   0	 0	 0												 
			gptid/ac1315a4-e023-11e6-b9f9-001e676ba520  ONLINE	   0	 0	 0												 
			ada0p2									  ONLINE	   0	 0	 0												 
																																	
errors: No known data errors																										
[root@freenas ~]#
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
You'll better off backing up your config, reinstalling onto the two SSDs and restoring your config.
 

melbournemac

Dabbler
Joined
Jan 21, 2017
Messages
20
Thanks

Fresh install performed, config restored.

System booted OK
Boot Drive and storage pools OK
Config saved!

I have jail configured with the template phpVirtualBox. Two Debian 8 VMs are configured. The jail starts OK, however the VMs will not start. The error received is
Code:
Exception Object
(
	[message:protected] => The virtual machine 'Deb64vm001' has terminated unexpectedly during startup with exit code 1
	[string:Exception:private] =>
	[code:protected] => 0
	[file:protected] => /usr/local/www/phpvirtualbox/lib/vboxconnector.php
	[line:protected] => 2382
	[trace:Exception:private] => Array
		(
			[0] => Array
				(
					 => /usr/local/www/phpvirtualbox/lib/vboxconnector.php
					[line] => 928
					[function] => remote_progressGet
					[class] => vboxconnector
					[type] => ->
					[args] => Array
						(
							[0] => Array
								(
									[progress] => 92f8b86cdc290cee-00000000000001d0
									[_persist] => Array
										(
											[vboxHandle] => 92f8b86cdc290cee-00000000000001ce
										)

									[fn] => progressGet
								)

						)

				)

			[1] => Array
				(
					 => /usr/local/www/phpvirtualbox/lib/ajax.php
					[line] => 309
					[function] => __call
					[class] => vboxconnector
					[type] => ->
					[args] => Array
						(
							[0] => progressGet
							[1] => Array
								(
									[0] => Array
										(
											[progress] => 92f8b86cdc290cee-00000000000001d0
											[_persist] => Array
												(
													[vboxHandle] => 92f8b86cdc290cee-00000000000001ce
												)

											[fn] => progressGet
										)

									[1] => Array
										(
											[0] => Array
												(
													[data] => Array
														(
															[responseData] => Array
																(
																	[progress] => 92f8b86cdc290cee-00000000000001d0
																	[info] => Array
																		(
																			[completed] => 1
																			[canceled] =>
																			[description] => Starting VM
																			[operationDescription] => Creating process for virtual machine "Deb64vm001" (headless)
																			[timeRemaining] => Array
																				(
																				)

																			[timeElapsed] => Array
																				(
																					[days] => 17188
																					[hours] => 3
																					[minutes] => 55
																					[seconds] => 14
																				)

																			[percent] => 0
																		)

																)

															[success] => 1
															[key] => 53474945cfd7ac0bf8114767c209c2a6
														)

													[errors] => Array
														(
														)

													[persist] => Array
														(
														)

													[messages] => Array
														(
														)

												)

										)

								)

						)

				)

			[2] => Array
				(
					 => /usr/local/www/phpvirtualbox/lib/ajax.php
					[line] => 309
					[function] => progressGet
					[class] => vboxconnector
					[type] => ->
					[args] => Array
						(
							[0] => Array
								(
									[progress] => 92f8b86cdc290cee-00000000000001d0
									[_persist] => Array
										(
											[vboxHandle] => 92f8b86cdc290cee-00000000000001ce
										)

									[fn] => progressGet
								)

							[1] => Array
								(
									[0] => Array
										(
											[data] => Array
												(
													[responseData] => Array
														(
															[progress] => 92f8b86cdc290cee-00000000000001d0
															[info] => Array
																(
																	[completed] => 1
																	[canceled] =>
																	[description] => Starting VM
																	[operationDescription] => Creating process for virtual machine "Deb64vm001" (headless)
																	[timeRemaining] => Array
																		(
																		)

																	[timeElapsed] => Array
																		(
																			[days] => 17188
																			[hours] => 3
																			[minutes] => 55
																			[seconds] => 14
																		)

																	[percent] => 0
																)

														)

													[success] => 1
													[key] => 53474945cfd7ac0bf8114767c209c2a6
												)

											[errors] => Array
												(
												)

											[persist] => Array
												(
												)

											[messages] => Array
												(
												)

										)

								)

						)

				)

		)

	[previous:Exception:private] =>
)






I suspect some of the settings required are not part of the saved config. I created a new VM and it will not start either

any thoughts?

thx

Steve
 

melbournemac

Dabbler
Joined
Jan 21, 2017
Messages
20
Think I found my answer. Looks as if phpvirtualbox is no longer supported. That is going to cause some problems. Recommendations to get 2 x Debian 8 VMs running in FreeNAS 9.10.2-U2 or better to install the last version that supported phpVirtualBox & wait for Release 10 & its virtualisation solution?
 

melbournemac

Dabbler
Joined
Jan 21, 2017
Messages
20
currently building vm via iohyve
 
Status
Not open for further replies.
Top