Reinstalled FreeNAS on new USB Stick, can't import volume

Status
Not open for further replies.

OverlordQ

Cadet
Joined
Mar 22, 2017
Messages
2
Like the title said, reinstalled FreeNAS 9.10 onto a new USB stick as Coral was being weird to me. Shutdown machine, popped install media into another USB port and installed onto the new USB stick. After booting GUI didn't list anything, so opened a shell terminal and did a zpool import -f, still nothing showing up.

gpart list:
Code:
Geom name: ada0
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 5860533134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: ada0p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   rawuuid: 9902011e-edef-11e2-8261-d43d7e35e2a2
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: ada0p2
   Mediasize: 2998445412352 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e2
   rawuuid: 99153547-edef-11e2-8261-d43d7e35e2a2
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2998445412352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 5860533127
   start: 4194432
Consumers:
1. Name: ada0
   Mediasize: 3000592982016 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e3

Geom name: ada3
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 5860533134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: ada3p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   rawuuid: 9a3a67aa-edef-11e2-8261-d43d7e35e2a2
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: ada3p2
   Mediasize: 2998445412352 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e2
   rawuuid: 9a4d9ed4-edef-11e2-8261-d43d7e35e2a2
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2998445412352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 5860533127
   start: 4194432
Consumers:
1. Name: ada3
   Mediasize: 3000592982016 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e3

Geom name: da0
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 15633374
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da0p1
   Mediasize: 524288 (512K)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 17408
   Mode: r0w0e0
   rawuuid: 48878357-0f6d-11e7-a54f-d43d7e35e2a2
   rawtype: 21686148-6449-6e6f-744e-656564454649
   label: (null)
   length: 524288
   offset: 17408
   type: bios-boot
   index: 1
   end: 1057
   start: 34
2. Name: da0p2
   Mediasize: 8003739648 (7.5G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 544768
   Mode: r1w1e1
   rawuuid: 48932dc5-0f6d-11e7-a54f-d43d7e35e2a2
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 8003739648
   offset: 544768
   type: freebsd-zfs
   index: 2
   end: 15633367
   start: 1064
Consumers:
1. Name: da0
   Mediasize: 8004304896 (7.5G)
   Sectorsize: 512
   Mode: r1w1e2



gpart show:
Code:
=>		34  5860533101  ada0  GPT  (2.7T)
		  34		  94		- free -  (47K)
		 128	 4194304	 1  freebsd-swap  (2.0G)
	 4194432  5856338696	 2  freebsd-zfs  (2.7T)
  5860533128		   7		- free -  (3.5K)

=>		34  5860533101  ada3  GPT  (2.7T)
		  34		  94		- free -  (47K)
		 128	 4194304	 1  freebsd-swap  (2.0G)
	 4194432  5856338696	 2  freebsd-zfs  (2.7T)
  5860533128		   7		- free -  (3.5K)

=>	  34  15633341  da0  GPT  (7.5G)
		34	  1024	1  bios-boot  (512K)
	  1058		 6	   - free -  (3.0K)
	  1064  15632304	2  freebsd-zfs  (7.5G)
  15633368		 7	   - free -  (3.5K)


smartctl of a 'missing' drive:
Code:
smartctl 6.5 2016-05-07 r4318 [FreeBSD 10.3-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:	 Toshiba 3.5" MD04ACA... Enterprise HDD
Device Model:	 TOSHIBA MD04ACA500
Firmware Version: FP2A
User Capacity:	5,000,981,078,016 bytes [5.00 TB]
Sector Sizes:	 512 bytes logical, 4096 bytes physical
Rotation Rate:	7200 rpm
Form Factor:	  3.5 inches
Device is:		In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:	Wed Mar 22 20:11:25 2017 PDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
Self-test execution status:	  (   0)	The previous self-test routine completed
					without error or no self-test has ever
					been run.
Total time to complete Offline
data collection:		 (  120) seconds.
Offline data collection
capabilities:			  (0x5b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:			(0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:		(0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine
recommended polling time:	  (   2) minutes.
Extended self-test routine
recommended polling time:	  ( 534) minutes.
SCT capabilities:			(0x003d)	SCT Status supported.
					SCT Error Recovery Control supported.
					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	 0x000b   100   100   050	Pre-fail  Always	   -	   0
  2 Throughput_Performance  0x0005   100   100   050	Pre-fail  Offline	  -	   0
  3 Spin_Up_Time			0x0027   100   100   001	Pre-fail  Always	   -	   6110
  4 Start_Stop_Count		0x0032   100   100   000	Old_age   Always	   -	   6
  5 Reallocated_Sector_Ct   0x0033   100   100   050	Pre-fail  Always	   -	   0
  7 Seek_Error_Rate		 0x000b   100   100   050	Pre-fail  Always	   -	   0
  8 Seek_Time_Performance   0x0005   100   100   050	Pre-fail  Offline	  -	   0
  9 Power_On_Hours		  0x0032   061   061   000	Old_age   Always	   -	   15763
10 Spin_Retry_Count		0x0033   100   100   030	Pre-fail  Always	   -	   0
12 Power_Cycle_Count	   0x0032   100   100   000	Old_age   Always	   -	   6
191 G-Sense_Error_Rate	  0x0032   100   100   000	Old_age   Always	   -	   182
192 Power-Off_Retract_Count 0x0032   100   100   000	Old_age   Always	   -	   4
193 Load_Cycle_Count		0x0032   100   100   000	Old_age   Always	   -	   15
194 Temperature_Celsius	 0x0022   100   100   000	Old_age   Always	   -	   40 (Min/Max 23/46)
196 Reallocated_Event_Count 0x0032   100   100   000	Old_age   Always	   -	   0
197 Current_Pending_Sector  0x0032   100   100   000	Old_age   Always	   -	   0
198 Offline_Uncorrectable   0x0030   100   100   000	Old_age   Offline	  -	   0
199 UDMA_CRC_Error_Count	0x0032   200   253   000	Old_age   Always	   -	   0
220 Disk_Shift			  0x0002   100   100   000	Old_age   Always	   -	   0
222 Loaded_Hours			0x0032   061   061   000	Old_age   Always	   -	   15765
223 Load_Retry_Count		0x0032   100   100   000	Old_age   Always	   -	   0
224 Load_Friction		   0x0022   100   100   000	Old_age   Always	   -	   0
226 Load-in_Time			0x0026   100   100   000	Old_age   Always	   -	   296
240 Head_Flying_Hours	   0x0001   100   100   001	Pre-fail  Offline	  -	   0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

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.



camcontrol output:
Code:
<Hitachi HDS723030BLE640 MX6OAAB0>  at scbus0 target 0 lun 0 (pass0,ada0)
<TOSHIBA MD04ACA500 FP2A>		  at scbus1 target 0 lun 0 (pass1,ada1)
<ST3000DM001-1CH166 CC26>		  at scbus2 target 0 lun 0 (pass2,ada2)
<Hitachi HDS723030BLE640 MX6OAAB0>  at scbus3 target 0 lun 0 (pass3,ada3)
<Hitachi HUS724030ALE641 MJ8OA5F0>  at scbus4 target 0 lun 0 (pass4,ada4)
<SanDisk Cruzer 1.27>			  at scbus6 target 0 lun 0 (pass5,da0)


glabel status:
Code:
									  Name  Status  Components
gptid/9902011e-edef-11e2-8261-d43d7e35e2a2	 N/A  ada0p1
gptid/99153547-edef-11e2-8261-d43d7e35e2a2	 N/A  ada0p2
gptid/9a3a67aa-edef-11e2-8261-d43d7e35e2a2	 N/A  ada3p1
gptid/9a4d9ed4-edef-11e2-8261-d43d7e35e2a2	 N/A  ada3p2
gptid/48878357-0f6d-11e7-a54f-d43d7e35e2a2	 N/A  da0p1



zpool status:
Code:
  pool: storage
state: ONLINE
  scan: resilvered 8K in 0h0m with 0 errors on Wed Mar 22 19:55:45 2017
config:

	NAME											STATE	 READ WRITE CKSUM
	storage										 ONLINE	   0	 0	 0
	  raidz1-0									  ONLINE	   0	 0	 0
		gptid/99153547-edef-11e2-8261-d43d7e35e2a2  ONLINE	   0	 0	 0
		ada1										ONLINE	   0	 0	 0
		ada2										ONLINE	   0	 0	 0
		gptid/9a4d9ed4-edef-11e2-8261-d43d7e35e2a2  ONLINE	   0	 0	 0
		ada4										ONLINE	   0	 0	 0

errors: No known data errors


 

rs225

Guru
Joined
Jun 28, 2014
Messages
878
You have a pool named storage that looks okay; is there another pool missing, or are you referring to something else?
 

OverlordQ

Cadet
Joined
Mar 22, 2017
Messages
2
You have a pool named storage that looks okay; is there another pool missing, or are you referring to something else?

If I create the old mount point, I can mount it manually through the CLI with zfs mount, but I can't get the GUI to recognize it at all, so I can't setup sharing/snapshots/replication/etc because it doesn't see any volumes.
 
Last edited:
Status
Not open for further replies.
Top