SOLVED Migrating to New Hardware ==> "STATUS UNKNOWN" Zpool

Status
Not open for further replies.

EunosNB

Dabbler
Joined
Jul 8, 2013
Messages
16
I am attempting to upgrade the hardware I use for my FN system. Many users seem to have had success with shutting down his / her current system, physically moving the HDDs and the USB keys to new hardware, booting up and configuring the networking if needed. However, I receive a red flashing warning about "STATUS UNKNOWN" of my storage devices when I attempt the same steps. The system sees the two Reds, according to camcontrol devlist, but zpool listshows only the USB key. The zpool import command returns nothing. Also, the GUI does not show the two drives if I attempt to import the volumes. Finally, uploading the config file did not seem to have any effect.

So, anyone care to weigh in on how to convince the FN software to...recognize (<-- is that the correct word?) the two drives? I will appreciate any help.

Code:
[root@...~]#zpool list
NAME  SIZE  ALLOC  FREE  EXPANDSZ  FRAG  CAP  DEDUP  HEALTH  ALTROOT  
freenas-boot  7.44G  1.90G  5.54G  -  -  25%  1.00x  ONLINE  -  

[root@...~]# zpool import  

[root@... ~]# camcontrol devlist  
<hp DVD RW AD-7251H5 1H8D>  at scbus1 target 0 lun 0 (pass0,cd0)  
<ATA WDC WD30EFRX-68A 0A80>  at scbus7 target 0 lun 0 (pass1,da0)  
<ATA WDC WD30EFRX-68A 0A80>  at scbus7 target 1 lun 0 (pass2,da1)  
<SanDisk Ultra 1.20>  at scbus10 target 0 lun 0 (pass3,da2)
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Hardware of both systems would be useful, as per the forum rules. FreeNAS version too.

Is the pool encrypted?
 

EunosNB

Dabbler
Joined
Jul 8, 2013
Messages
16
What details would you like besides what I've listed in my signature?
And not encrypted.
 
Last edited:

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
What details would you like besides what I've listed in my signature?
Is there a raid card/controller between FreeNAS and the drives?
More than likely the drives are not being recognized now because
of some change in the way the data cables are physically connected now
vs. how they were hooked up before. Describe the changes!
 

EunosNB

Dabbler
Joined
Jul 8, 2013
Messages
16
The z800 comes with two options for hardware RAIDs (sata and sas). I have not set it up to use either, but a preexisting configuration may be present. I'll need to check in the bios this evening.

In the current system, one drive is connected to the OEM sata slot where the original hd sat, while the other is connected through a hd caddy where the original dvd/cd drive sat. The target system has six slots for HDDs. Each slot has a fixed connection for the corresponding drive, i.e., swapping drives is fast and easy. I have moved the drives around to test whether or not the slotting order mattered.


Sent from my iPhone using Tapatalk
 

EunosNB

Dabbler
Joined
Jul 8, 2013
Messages
16
No luck after changing the hardware raid settings.


Sent from my iPhone using Tapatalk
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
Unfortunately I have no experience with the HP Z800 and trying to find data on your specific machine is not as easy as I'd like it to be. I'll take a stab at this.

1) Post the output in code tags (that is the little button above that says "code") of "dmesg".
2) If you place the drives back into the Dell, are the drives/pool recognized? (I assume yes but assumptions can be flawed).
3) Is the BIOS current?
4) Do a factory default setting on the BIOS and then set it up again. Ensure SATA and AHCI is set. I'd also disable UEFI if that is an option and use Legacy.
5) Can you get SMART data from the drives? I'm looking to ensure SMART can talk to the drives, not looking for any specific information.
6) Have you tried a clean install of FreeNAS? I'm grasping here but sometimes miracles happen.
 

EunosNB

Dabbler
Joined
Jul 8, 2013
Messages
16
1) It's long, so look below. Also, I could only scroll up to the "da0: 300.000MB/s transfers" portion when I tried to copy it.
2) yes, the system works fine in the original Dell Optiplex;
3) Unknown; I will need to figure out how to update the BIOS if needed;
4) will do; I think it is set up with those parameters currently;
5) results below the dmesg output;
6) no, but it crossed my mind.

dmesg ouput:
Code:
...
da0: 300.000MB/s transfers																										
da0: Command Queueing enabled																									 
da0: 2097151MB (4294967294 512 byte sectors)																						
da0: quirks=0x8<4K>																												
da1 at mpt0 bus 0 scbus7 target 1 lun 0																							
da1: <ATA WDC WD30EFRX-68A 0A80> Fixed Direct Access SPC-3 SCSI device															
da1: Serial Number	  WD-WCC1T0626828																							
da1: 300.000MB/s transfers																										
da1: Command Queueing enabled																									 
da1: 2097151MB (4294967294 512 byte sectors)																						
da1: quirks=0x8<4K>																												
da2 at umass-sim0 bus 0 scbus10 target 0 lun 0																					
da2: <SanDisk Ultra 1.20> Removable Direct Access SPC-3 SCSI device																
da2: Serial Number 20042401021D8B32A62B																							
da2: 40.000MB/s transfers																										 
da2: 7633MB (15633408 512 byte sectors)																							
da2: quirks=0x2<NO_6_BYTE>																										
cd0 at ahcich0 bus 0 scbus1 target 0 lun 0																						
cd0: <hp DVD RW AD-7251H5 1H8D> Removable CD-ROM SCSI device																		
cd0: Serial Number 1787849L21																									 
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)														
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed											 
GEOM: da0: corrupt or invalid GPT detected.																						
GEOM: da0: GPT rejected -- may not be recoverable.																				
GEOM: da1: corrupt or invalid GPT detected.																						
GEOM: da1: GPT rejected -- may not be recoverable.																				
SMP: AP CPU #3 Launched!																											
SMP: AP CPU #6 Launched!																											
SMP: AP CPU #2 Launched!																											
SMP: AP CPU #1 Launched!																											
SMP: AP CPU #4 Launched!																											
SMP: AP CPU #7 Launched!																											
SMP: AP CPU #5 Launched!																											
Timecounter "TSC-low" frequency 1197026457 Hz quality 1000																		
Trying to mount root from zfs:freenas-boot/ROOT/9.10.1 []...																		
GEOM_RAID5: Module loaded, version 1.3.20140711.62 (rev f91e28e40bf7)															 
em0: link state changed to UP																									 
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0															
device_attach: hpet0 attach returned 12																							
ichwd0: <Intel ICH10R watchdog timer> at port 0x7830-0x7837,0x7860-0x787f on isa0												 
ichwd0: ICH WDT present but disabled in BIOS or hardware																			
device_attach: ichwd0 attach returned 6																							
hwpmc: SOFT/16/64/0x67<INT,USR,SYS,REA,WRI> TSC/1/64/0x20<REA> IAP/4/48/0x3ff<INT,USR,SYS,EDG,THR,REA,WRI,INV,QUA,PRC> IAF/3/48/0x67
<INT,USR,SYS,REA,WRI> UCP/8/48/0x3f8<EDG,THR,REA,WRI,INV,QUA,PRC> UCF/1/48/0x60<REA,WRI>											
em0: link state changed to DOWN																									
em0: link state changed to UP																									 
bge0: link state changed to DOWN																									
vboxdrv: fAsync=0 offMin=0x2a3 offMax=0x1a6a																						
nfsd: can't register svc name


da0:
Code:

										SCT Feature Control supported.															 
										SCT Data Table supported.																   
																																	
SMART Attributes Data Structure revision number: 16																				 
Vendor Specific SMART Attributes with Thresholds:																				   
ID# ATTRIBUTE_NAME		  FLAG	 VALUE WORST THRESH TYPE	  UPDATED  WHEN_FAILED RAW_VALUE									
  1 Raw_Read_Error_Rate	 0x002f   200   200   051	Pre-fail  Always	   -	   0											
  3 Spin_Up_Time			0x0027   177   177   021	Pre-fail  Always	   -	   6150										 
  4 Start_Stop_Count		0x0032   100   100   000	Old_age   Always	   -	   67										   
  5 Reallocated_Sector_Ct   0x0033   200   200   140	Pre-fail  Always	   -	   0											
  7 Seek_Error_Rate		 0x002e   200   200   000	Old_age   Always	   -	   0											
  9 Power_On_Hours		  0x0032   065   065   000	Old_age   Always	   -	   26273										
10 Spin_Retry_Count		0x0032   100   253   000	Old_age   Always	   -	   0											
11 Calibration_Retry_Count 0x0032   100   253   000	Old_age   Always	   -	   0											
12 Power_Cycle_Count	   0x0032   100   100   000	Old_age   Always	   -	   67										   
192 Power-Off_Retract_Count 0x0032   200   200   000	Old_age   Always	   -	   23										   
193 Load_Cycle_Count		0x0032   200   200   000	Old_age   Always	   -	   43										   
194 Temperature_Celsius	 0x0022   124   096   000	Old_age   Always	   -	   26										   
196 Reallocated_Event_Count 0x0032   200   200   000	Old_age   Always	   -	   0											
197 Current_Pending_Sector  0x0032   200   200   000	Old_age   Always	   -	   0											
198 Offline_Uncorrectable   0x0030   100   253   000	Old_age   Offline	  -	   0											
199 UDMA_CRC_Error_Count	0x0032   200   200   000	Old_age   Always	   -	   0											
200 Multi_Zone_Error_Rate   0x0008   100   253   000	Old_age   Offline	  -	   0											
																																	
SMART Error Log Version: 1																										 
No Errors Logged																													
																																	
SMART Self-test log structure revision number 1																					 
Num  Test_Description	Status				  Remaining  LifeTime(hours)  LBA_of_first_error									 
# 1  Short offline	   Completed without error	   00%	 26272		 -													 
																																	
SMART Selective self-test log data structure revision number 1																	 
SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS																						
	1		0		0  Not_testing																								
	2		0		0  Not_testing																								
	3		0		0  Not_testing																								
	4		0		0  Not_testing																								
	5		0		0  Not_testing																								
Selective self-test flags (0x0):																									
  After scanning selected spans, do NOT read-scan remainder of disk.																
If Selective self-test is pending on power-up, resume after 0 minute delay.


da1:
Code:
SCT Feature Control supported.															 
										SCT Data Table supported.																   
																																	
SMART Attributes Data Structure revision number: 16																				 
Vendor Specific SMART Attributes with Thresholds:																				   
ID# ATTRIBUTE_NAME		  FLAG	 VALUE WORST THRESH TYPE	  UPDATED  WHEN_FAILED RAW_VALUE									
  1 Raw_Read_Error_Rate	 0x002f   200   200   051	Pre-fail  Always	   -	   1											
  3 Spin_Up_Time			0x0027   173   173   021	Pre-fail  Always	   -	   6341										 
  4 Start_Stop_Count		0x0032   100   100   000	Old_age   Always	   -	   61										   
  5 Reallocated_Sector_Ct   0x0033   200   200   140	Pre-fail  Always	   -	   0											
  7 Seek_Error_Rate		 0x002e   200   200   000	Old_age   Always	   -	   0											
  9 Power_On_Hours		  0x0032   065   065   000	Old_age   Always	   -	   26271										
10 Spin_Retry_Count		0x0032   100   253   000	Old_age   Always	   -	   0											
11 Calibration_Retry_Count 0x0032   100   253   000	Old_age   Always	   -	   0											
12 Power_Cycle_Count	   0x0032   100   100   000	Old_age   Always	   -	   61										   
192 Power-Off_Retract_Count 0x0032   200   200   000	Old_age   Always	   -	   19										   
193 Load_Cycle_Count		0x0032   200   200   000	Old_age   Always	   -	   41										   
194 Temperature_Celsius	 0x0022   124   093   000	Old_age   Always	   -	   26										   
196 Reallocated_Event_Count 0x0032   200   200   000	Old_age   Always	   -	   0											
197 Current_Pending_Sector  0x0032   200   200   000	Old_age   Always	   -	   0											
198 Offline_Uncorrectable   0x0030   100   253   000	Old_age   Offline	  -	   0											
199 UDMA_CRC_Error_Count	0x0032   200   200   000	Old_age   Always	   -	   0											
200 Multi_Zone_Error_Rate   0x0008   100   253   000	Old_age   Offline	  -	   0											
																																	
SMART Error Log Version: 1																										 
No Errors Logged																													
																																	
SMART Self-test log structure revision number 1																					 
Num  Test_Description	Status				  Remaining  LifeTime(hours)  LBA_of_first_error									 
# 1  Short offline	   Completed without error	   00%	 26270		 -													 
																																	
SMART Selective self-test log data structure revision number 1																	 
SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS																						
	1		0		0  Not_testing																								
	2		0		0  Not_testing																								
	3		0		0  Not_testing																								
	4		0		0  Not_testing																								
	5		0		0  Not_testing																								
Selective self-test flags (0x0):																									
  After scanning selected spans, do NOT read-scan remainder of disk.																
If Selective self-test is pending on power-up, resume after 0 minute delay
 
Last edited:

EunosNB

Dabbler
Joined
Jul 8, 2013
Messages
16
1) Post the output in code tags (that is the little button above that says "code") of "dmesg".
2) If you place the drives back into the Dell, are the drives/pool recognized? (I assume yes but assumptions can be flawed).
3) Is the BIOS current?
4) Do a factory default setting on the BIOS and then set it up again. Ensure SATA and AHCI is set. I'd also disable UEFI if that is an option and use Legacy.
5) Can you get SMART data from the drives? I'm looking to ensure SMART can talk to the drives, not looking for any specific information.
6) Have you tried a clean install of FreeNAS? I'm grasping here but sometimes miracles happen.

@joeschmuck: I updated my previous response w/ dmesg and SMART results.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
To output the dmesg into a text file you can type the following "dmesg > test.txt" and then you could post the entire file, or you could type "dmesg | more" and it will fill one page at a time. Press the space bar to advance a full screen of data.

Have you only just started running SMART tests? Shame shame. Make sure you are running SMART tests. Of course this has nothing to do with your delima.

These bug me.
GEOM: da0: corrupt or invalid GPT detected.
GEOM: da0: GPT rejected -- may not be recoverable.
GEOM: da1: corrupt or invalid GPT detected.
GEOM: da1: GPT rejected -- may not be recoverable.
Before you continue, is all your important data backed up? If not then I'd return the drives to the old machine and back up your data. You might actually have a problem and the system has not realized it yet. Of course you could try the clean FreeNAS install as well and just see if that works but if you need to go further, make sure your data is backed up.
 

EunosNB

Dabbler
Joined
Jul 8, 2013
Messages
16
I will commit harikari for the sin of not running SMART tests.

No, I haven't moved the data yet - it's such a pain. I suppose 11 years of family photos is worth it. *Sigh*. FN was supposed allow me to stay away from Google drive/one Drive/dropbox.


Sent from my iPhone using Tapatalk
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
*Sigh*. FN was supposed allow me to stay away from Google drive/one Drive/dropbox.
Well it's a hard lesson to learn but at least your data should still be in tact. I'm dealing with another person who more than likely has lost all thier data because they did a few things without understanding what they were doing.
 

EunosNB

Dabbler
Joined
Jul 8, 2013
Messages
16
It could have been worse. Now I must waste a bunch of time moving my files off my server to the cloud. Mostly, its obnoxious.

Also, when I reinstall the drives into the Dell, dmesg does not include anything about corrupt GPT partitions or tables.

I'll just use google drive as my ultimate, hassle-free storage facility. I'll also repurpose the equipment for something else.

What a PITA.


Sent from my iPhone using Tapatalk
 

EunosNB

Dabbler
Joined
Jul 8, 2013
Messages
16
No, it is (or was when it was new) a basic, barely adequate small business desktop.


Sent from my iPhone using Tapatalk
 

EunosNB

Dabbler
Joined
Jul 8, 2013
Messages
16
After multiple failed attempts to coax my Z800 into recognizing 100% of the space on my 3TB drives I had decided to buy an inexpensive third-party PCIe card w/ multiple sata/sas ports. However, a last-ditch effort cleared up the issue. The Z800 tech manual indicated that drives >2TB should be plugged into the LSI controller. I thought the SAS ports were the only ports LSI-controlled, but apparently the SATA ports are, too. I plugged the drives into SATA ports 2-5 and voilà - 3TB at my disposal.

Failed Solutions
  1. Initialize the Drive w/ GPT || Recommendations to initialize the drive w/ GPT instead of MBR outpaced any other erstwhile solution. Initializing incorrectly must be either really common or top-of-mind or both. It did not help my situation.

  2. Ubuntu Bug Related to Booting from A USB Drive || This was the most-obscure possible solution. Apparently Ubuntu 14.04 had a previously-squashed bug reappear. If you boot off of a USB drive or CD, HPA would be enabled, which somehow or another limits the size of disk the OS can recognize. This didn’t work either.

  3. Plug the Drive Into the LSI SAS Ports || According to HP documentation, SATA drives up to 3TB can be used if plugged into ports 2-5 of the LSI controller. I’m not sure what I did wrong, or what step I missed, but I could not make it work.

  4. Update the BIOS || The BIOS version was out of date on my Z800, so I updated it from within the BIOS (bios within bios). The BIOS is updated now, but the computer still only sees 2TB on the drives.
 
Last edited:
Status
Not open for further replies.
Top