Cannot Import Pool Through GUI

Status
Not open for further replies.

KMR

Contributor
Joined
Dec 3, 2012
Messages
199
Hello All,

Here's my predicament; hopefully someone can point me in the right direction.

I moved recently and haven't had a chance to touch my server in some time. Just as I was getting ready to move I had a drive hard fail so I turned the server off and packed it up not thinking to offline the drive, export it or anything else (foolish, I know). Now that I've got the server out again, a new USB load of the latest FreeNAS and the drives (minus the hard failed one) installed I can't seem to import the degraded pool through the GUI; it just doesn't see it at all. When I tried importing through the CLI it gave me the usual warning about being in use by another instance so I used the -f option to force the import as I no longer had the config from the old server. This seemed to work well enough as I can now see the pool with the zpool status command but still nothing in the GUI. I tried using the offline command to drop the faulty disk then use the replace command but it gives me some errors about there being no such pool when trying to use the replace command. The replace command is confused a bit more by those ugly drive names in the zpool status output. I want to import the pool so I can add the replacement disk and resilver the array.

The setup:
CPU: Xeon 1230
Ram: 32GB ECC
Disk: 6x 3tb in RAID Z2 configuration.

Code:
[root@freenas ~]# glabel status																									
									  Name  Status  Components																	
gptid/6b1fe85b-899d-11e2-823d-50e549b3a1da	 N/A  da0p1																		  
gptid/6b8b5944-899d-11e2-823d-50e549b3a1da	 N/A  da1p1																		  
gptid/6c38f513-899d-11e2-823d-50e549b3a1da	 N/A  da2p1																		  
gptid/6a9db0c4-899d-11e2-823d-50e549b3a1da	 N/A  da3p1																		  
gptid/25e36425-98dc-11e4-af06-525400730083	 N/A  da4p1																		  
gptid/25fdaf96-98dc-11e4-af06-525400730083	 N/A  da4p2																		  
gptid/46a0d95e-84fe-11e7-b19e-080027d94977	 N/A  da5p1			

[root@freenas ~]# zpool status -v																								  
  pool: freenas-boot																												
state: ONLINE																													
  scan: none requested																											
config:																															
																																	
		NAME		STATE	 READ WRITE CKSUM																					
		freenas-boot  ONLINE	   0	 0	 0																					
		  da5p2	 ONLINE	   0	 0	 0																					
																																	
errors: No known data errors																										
																																	
  pool: volume																													
state: DEGRADED																													
status: One or more devices has been taken offline by the administrator.															
		Sufficient replicas exist for the pool to continue functioning in a														
		degraded state.																											
action: Online the device using 'zpool online' or replace the device with														  
		'zpool replace'.																											
  scan: scrub repaired 0 in 11h41m with 0 errors on Mon Feb 15 09:41:32 2016														
config:																															
																																	
		NAME											STATE	 READ WRITE CKSUM												
		volume										  DEGRADED	 0	 0	 0												
		  raidz2-0									  DEGRADED	 0	 0	 0												
			gptid/25fdaf96-98dc-11e4-af06-525400730083  ONLINE	   0	 0	 0												
			da3p2									   ONLINE	   0	 0	 0												
			da0p2									   ONLINE	   0	 0	 0												
			da1p2									   ONLINE	   0	 0	 0												
			757663698864805892						  OFFLINE	  0	 0	 0  was /dev/da3p2								
			da2p2									   ONLINE	   0	 0	 0												
																																	
errors: No known data errors																										


I also added the following two lines to /boot/loader.conf in an attempt to get rid of those ugly drive names in the zpool status command:

Code:
kern.geom.label.gptid.enable="0"																									
kern.geom.label.ufsid.enable="0"		  


Hopefully someone can help me out. Please let me know if you'd like to see the output of any other commands or need additional details.

Edit: Ignore the signature for now. I'm running FreeNAS on bare metal so I don't have to think about the virtualisation layer until I get the pool into a good state.

Thanks,
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
I'm a but confused by the output of glabel status, you have two da4 partitions listed. I see five hard drived (da0 - da4) and da5 is your boot device. I would be only speculating here so I think you need to start tracking your drives by serial number along with the da number, ensure these all line up. As I said, da4 has me conserned. Which drive is the new drive (by serial number and da number) and ensure it is actually offline.

Treat us as if we have no clue on how your system is configured. Also post the output of dmesg, that will help.
 

KMR

Contributor
Joined
Dec 3, 2012
Messages
199
Thanks for the reply. Currently the system only has five drives in it as the hard failed drive was unavailable and didn't seem operable.

In the GUI this is how the displays the drives:

Code:
da0 - Z1F1KR1C
da1 - Z1F1RVBL
da2 - Z1f1KRRH
da3 - Z1F1KRQ5
da4 - W1F5PBPH


If I add a sixth good working drive it will appear in the view disks portion of the GUI however if I add the old hard failed drive it does not appear in the GUI; hence why I just removed it.

I have pulled each drive and mapped their serial numbers on a piece of paper according to their slot in the bays.

DMESG output isn't as good as it could be because you can't scroll up in the GUI based shell.
Code:
da4: 600.000MB/s transfers																										 
da4: Command Queueing enabled																									   
da4: 2861588MB (5860533168 512 byte sectors)																						
da4: quirks=0x8<4K>																												 
da0 at mps0 bus 0 scbus0 target 0 lun 0																							 
da0: <ATA ST3000DM001-1CH1 CC24> Fixed Direct Access SPC-4 SCSI device															 
da0: Serial Number Z1F1KR1C																										 
da0: 600.000MB/s transfers																										 
da0: Command Queueing enabled																									   
da0: 2861588MB (5860533168 512 byte sectors)																						
da0: quirks=0x8<4K>																												 
da1 at mps0 bus 0 scbus0 target 2 lun 0																							 
da1: <ATA ST3000DM001-1CH1 CC24> Fixed Direct Access SPC-4 SCSI device															 
da1: Serial Number Z1F1RVBL																										 
da1: 600.000MB/s transfers																										 
da1: Command Queueing enabled																									   
da1: 2861588MB (5860533168 512 byte sectors)																						
da1: quirks=0x8<4K>																												 
da3 at mps0 bus 0 scbus0 target 8 lun 0																							 
da3: <ATA ST3000DM001-1CH1 CC24> Fixed Direct Access SPC-4 SCSI device															 
da3: Serial Number Z1F1KRQ5																										 
da3: 600.000MB/s transfers																										 
da3: Command Queueing enabled																									   
da3: 2861588MB (5860533168 512 byte sectors)																						
da3: quirks=0x8<4K>																												 
random: unblocking device.																										 
SMP: AP CPU #1 Launched!																											
SMP: AP CPU #2 Launched!																											
SMP: AP CPU #7 Launched!																											
SMP: AP CPU #5 Launched!																											
SMP: AP CPU #4 Launched!																											
SMP: AP CPU #3 Launched!																											
SMP: AP CPU #6 Launched!																											
Timecounter "TSC-low" frequency 1650046852 Hz quality 1000																		 
Trying to mount root from zfs:freenas-boot/ROOT/default []...																	   
GEOM_RAID5: Module loaded, version 1.3.20140711.62 (rev f91e28e40bf7)															   
ipmi0: <IPMI System Interface> port 0xca2,0xca3 on acpi0																			
ipmi0: KCS mode found at io 0xca2 on acpi																						   
ipmi0: IPMI device rev. 1, firmware rev. 1.60, version 2.0																		 
ipmi0: Number of channels 2																										 
ipmi0: Attached watchdog																											
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>																											   
ums0 on uhub2																													   
ums0: <Winbond Electronics Corp Hermon USB hidmouse Device, class 0/0, rev 1.10/0.01, addr 3> on usbus0							 
ums0: 3 buttons and [Z] coordinates ID=0																							
uhid0 on uhub3																													 
uhid0: <USB Keyboard> on usbus1																									 
em1: link state changed to UP
 

KMR

Contributor
Joined
Dec 3, 2012
Messages
199
Should I install the new drive so I've got six in the system and can work with them via CLI?
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
Should I install the new drive so I've got six in the system and can work with them via CLI?
Yes, you cannot go further without doing this. When you add a new drive into the system it could cause all your drive assignments to change, meaning da0 may not be
Z1F1KR1C. So recheck this after you install the drive and power up the system.

DMESG output isn't as good as it could be because you can't scroll up in the GUI based shell.
I'd recommand you use something like Putty via SSH, this will allow you to retain more data. But you can also go into the file /var/log/dmesg.today and post that. And I'd like to have that data for your next posting with the new hard drive installed. You can always use website like pastebin if you just want to drop the file there. I leave it up to you.

Once you add the new drive you should be able to "Replace" it om the GUI. Hopefully it works at this point and you are all good to go.
 

KMR

Contributor
Joined
Dec 3, 2012
Messages
199
Okay, so I've got the new drive in the old slot. GUI still doesn't show the volume available for import and there are no replace options in the view disks.

Here is what the GUI shows me for disks:
Code:
da0 - Z1F1KR1C
da1 - Z1F1RVBL
da2 - Z1f1KRPH (previous post was a typo)
da3 - Z1F1KRQ5
da4 - W1F5PBPH
da5 - Z1F33JWF


Output of zpool status

Code:
root@freenas:~ # zpool status -v
  pool: freenas-boot
state: ONLINE
  scan: none requested
config:

	NAME		STATE	 READ WRITE CKSUM
	freenas-boot  ONLINE	   0	 0	 0
	  da6p2	 ONLINE	   0	 0	 0

errors: No known data errors

  pool: volume
state: DEGRADED
status: One or more devices has been taken offline by the administrator.
	Sufficient replicas exist for the pool to continue functioning in a
	degraded state.
action: Online the device using 'zpool online' or replace the device with
	'zpool replace'.
  scan: scrub repaired 0 in 11h41m with 0 errors on Mon Feb 15 09:41:32 2016
config:

	NAME											STATE	 READ WRITE CKSUM
	volume										  DEGRADED	 0	 0	 0
	  raidz2-0									  DEGRADED	 0	 0	 0
		gptid/25fdaf96-98dc-11e4-af06-525400730083  ONLINE	   0	 0	 0
		da3p2									   ONLINE	   0	 0	 0
		da0p2									   ONLINE	   0	 0	 0
		da1p2									   ONLINE	   0	 0	 0
		757663698864805892						  OFFLINE	  0	 0	 0  was /dev/da3p2
		da2p2									   ONLINE	   0	 0	 0

errors: No known data errors



Output of dmesg:

Code:
root@freenas:~ # dmesg
Copyright (c) 1992-2017 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.0-STABLE #0 r313908+d7d07647f69(freenas/11.0-stable): Thu Jul 20 19:01:05 UTC 2017
	root@gauntlet:/freenas-11-releng/freenas/_BE/objs/freenas-11-releng/freenas/_BE/os/sys/FreeNAS.amd64 amd64
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
CPU: Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz (3300.09-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x306a9  Family=0x6  Model=0x3a  Stepping=9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x7fbae3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  Structured Extended Features=0x281<FSGSBASE,SMEP,ERMS>
  XSAVE Features=0x1<XSAVEOPT>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics
real memory  = 35165044736 (33536 MB)
avail memory = 33277505536 (31735 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <SUPERM SMCI--MB>
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 hardware threads
WARNING: VIMAGE (virtualized network stack) is a highly experimental feature.
ioapic0 <Version 2.0> irqs 0-23 on motherboard
random: entropy device external interface
kbd1 at kbdmux0
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
nexus0
cryptosoft0: <software crypto> on motherboard
aesni0: <AES-CBC,AES-XTS,AES-GCM,AES-ICM> on motherboard
padlock0: No ACE support.
acpi0: <SUPERM SMCI--MB> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
cpu4: <ACPI CPU> on acpi0
cpu5: <ACPI CPU> on acpi0
cpu6: <ACPI CPU> on acpi0
cpu7: <ACPI CPU> on acpi0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 550
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn't map I/O.
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pcib0: _OSC returned error 0x10
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 1.1 on pci0
pci2: <ACPI PCI bus> on pcib2
em0: <Intel(R) PRO/1000 Network Connection 7.6.1-k> port 0xe020-0xe03f mem 0xdf960000-0xdf97ffff,0xdf940000-0xdf95ffff irq 17 at device 0.0 on pci2
em0: Using an MSI interrupt
em0: Ethernet address: 00:15:17:76:38:c4
em1: <Intel(R) PRO/1000 Network Connection 7.6.1-k> port 0xe000-0xe01f mem 0xdf920000-0xdf93ffff,0xdf900000-0xdf91ffff irq 18 at device 0.1 on pci2
em1: Using an MSI interrupt
em1: Ethernet address: 00:15:17:76:38:c5
pci0: <simple comms> at device 22.0 (no driver attached)
pci0: <simple comms> at device 22.1 (no driver attached)
ehci0: <Intel Cougar Point USB 2.0 controller> mem 0xdfa04000-0xdfa043ff irq 16 at device 26.0 on pci0
usbus0: EHCI version 1.0
usbus0 on ehci0
pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci3: <ACPI PCI bus> on pcib3
mps0: <Avago Technologies (LSI) SAS2008> port 0xd000-0xd0ff mem 0xdf600000-0xdf603fff,0xdf580000-0xdf5bffff irq 16 at device 0.0 on pci3
mps0: Firmware: 15.00.00.00, Driver: 21.01.00.00-fbsd
mps0: IOCCapabilities: 1285c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc>
pcib4: <ACPI PCI-PCI bridge> irq 18 at device 28.6 on pci0
pci4: <ACPI PCI bus> on pcib4
em2: <Intel(R) PRO/1000 Network Connection 7.6.1-k> port 0xc000-0xc01f mem 0xdf800000-0xdf81ffff,0xdf820000-0xdf823fff irq 18 at device 0.0 on pci4
em2: Using MSIX interrupts with 3 vectors
em2: Ethernet address: 00:25:90:ad:6c:aa
pcib5: <ACPI PCI-PCI bridge> irq 19 at device 28.7 on pci0
pci5: <ACPI PCI bus> on pcib5
em3: <Intel(R) PRO/1000 Network Connection 7.6.1-k> port 0xb000-0xb01f mem 0xdf700000-0xdf71ffff,0xdf720000-0xdf723fff irq 19 at device 0.0 on pci5
em3: Using MSIX interrupts with 3 vectors
em3: Ethernet address: 00:25:90:ad:6c:ab
ehci1: <Intel Cougar Point USB 2.0 controller> mem 0xdfa03000-0xdfa033ff irq 23 at device 29.0 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci1
pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci6: <ACPI PCI bus> on pcib6
vgapci0: <VGA-compatible display> mem 0xdd000000-0xddffffff,0xdf000000-0xdf003fff,0xde800000-0xdeffffff irq 23 at device 3.0 on pci6
vgapci0: Boot video device
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel Cougar Point AHCI SATA controller> port 0xf050-0xf057,0xf040-0xf043,0xf030-0xf037,0xf020-0xf023,0xf000-0xf01f mem 0xdfa02000-0xdfa027ff irq 19 at device 31.2 on pci0
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
acpi_button0: <Power Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
uart2: <16550 or compatible> port 0x3e8-0x3ef irq 10 on acpi0
ichwd0: <Intel Cougar Point watchdog timer> on isa0
wbwd0: <Nuvoton NCT6776 (0xc3/0x33) Watchdog Timer> at port 0x2e-0x2f on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xc9000-0xc9fff,0xca000-0xcafff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
coretemp0: <CPU On-Die Thermal Sensors> on cpu0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
coretemp1: <CPU On-Die Thermal Sensors> on cpu1
est1: <Enhanced SpeedStep Frequency Control> on cpu1
coretemp2: <CPU On-Die Thermal Sensors> on cpu2
est2: <Enhanced SpeedStep Frequency Control> on cpu2
coretemp3: <CPU On-Die Thermal Sensors> on cpu3
est3: <Enhanced SpeedStep Frequency Control> on cpu3
coretemp4: <CPU On-Die Thermal Sensors> on cpu4
est4: <Enhanced SpeedStep Frequency Control> on cpu4
coretemp5: <CPU On-Die Thermal Sensors> on cpu5
est5: <Enhanced SpeedStep Frequency Control> on cpu5
coretemp6: <CPU On-Die Thermal Sensors> on cpu6
est6: <Enhanced SpeedStep Frequency Control> on cpu6
coretemp7: <CPU On-Die Thermal Sensors> on cpu7
est7: <Enhanced SpeedStep Frequency Control> on cpu7
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
freenas_sysctl: adding account.
freenas_sysctl: adding directoryservice.
freenas_sysctl: adding middlewared.
freenas_sysctl: adding network.
freenas_sysctl: adding services.
ipfw2 (+ipv6) initialized, divert enabled, nat enabled, default to accept, logging disabled
nvme cam probe device init
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
ugen0.1: <Intel EHCI root HUB> at usbus0
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ugen1.1: <Intel EHCI root HUB> at usbus1
uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
uhub1: 2 ports with 2 removable, self powered
uhub0: 2 ports with 2 removable, self powered
ugen0.2: <vendor 0x8087 product 0x0024> at usbus0
uhub2 on uhub0
uhub2: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2> on usbus0
ugen1.2: <vendor 0x8087 product 0x0024> at usbus1
uhub3 on uhub1
uhub3: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2> on usbus1
uhub2: 6 ports with 6 removable, self powered
uhub3: 6 ports with 6 removable, self powered
ugen0.3: <Winbond Electronics Corp Hermon USB hidmouse Device> at usbus0
ukbd0 on uhub2
ukbd0: <Winbond Electronics Corp Hermon USB hidmouse Device, class 0/0, rev 1.10/0.01, addr 3> on usbus0
kbd2 at ukbd0
ugen1.3: <SanDisk Ultra> at usbus1
umass0 on uhub3
umass0: <SanDisk Ultra, class 0/0, rev 2.10/1.00, addr 3> on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0xc100
umass0:8:0: Attached to scbus8
ugen1.4: <Logitech USB Keyboard> at usbus1
ukbd1 on uhub3
ukbd1: <USB Keyboard> on usbus1
kbd3 at ukbd1
mps0: SAS Address for SATA device = 3b255330848d3641
mps0: SAS Address from SATA device = 3b255330848d3641
mps0: SAS Address for SATA device = 38255334897d5546
mps0: SAS Address from SATA device = 38255334897d5546
mps0: SAS Address for SATA device = 3b255330848d5633
mps0: SAS Address from SATA device = 3b255330848d5633
mps0: SAS Address for SATA device = 3b255330848d5546
mps0: SAS Address from SATA device = 3b255330848d5546
mps0: SAS Address for SATA device = 3b2553308b91474a
mps0: SAS Address from SATA device = 3b2553308b91474a
mps0: SAS Address for SATA device = 3b2553326c855c44
mps0: SAS Address from SATA device = 3b2553326c855c44
da1 at mps0 bus 0 scbus0 target 2 lun 0
da1: <ATA ST3000DM001-1CH1 CC24> Fixed Direct Access SPC-4 SCSI device
da1: Serial Number Z1F1RVBL
da1: 600.000MB/s transfers
da1: Command Queueing enabled
da1: 2861588MB (5860533168 512 byte sectors)
da1: quirks=0x8<4K>
da6 at umass-sim0 bus 0 scbus8 target 0 lun 0
da6: <SanDisk Ultra 1.00> Removable Direct Access SPC-4 SCSI device
da6: Serial Number 4C530001060514123344
da6: 40.000MB/s transfers
da6: 29328MB (60063744 512 byte sectors)
da6: quirks=0x2<NO_6_BYTE>
da3 at mps0 bus 0 scbus0 target 8 lun 0
da3: <ATA ST3000DM001-1CH1 CC24> Fixed Direct Access SPC-4 SCSI device
da3: Serial Number Z1F1KRQ5
da3: 600.000MB/s transfers
da3: Command Queueing enabled
da3: 2861588MB (5860533168 512 byte sectors)
da3: quirks=0x8<4K>
da0 at mps0 bus 0 scbus0 target 0 lun 0
da0: <ATA ST3000DM001-1CH1 CC24> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number Z1F1KR1C
da0: 600.000MB/s transfers
da0: Command Queueing enabled
da0: 2861588MB (5860533168 512 byte sectors)
da0: quirks=0x8<4K>
da2 at mps0 bus 0 scbus0 target 5 lun 0
da2: <ATA ST3000DM001-1CH1 CC24> Fixed Direct Access SPC-4 SCSI device
da2: Serial Number Z1F1KRPH
da2: 600.000MB/s transfers
da2: Command Queueing enabled
da2: 2861588MB (5860533168 512 byte sectors)
da2: quirks=0x8<4K>
da4 at mps0 bus 0 scbus0 target 9 lun 0
da4: <ATA ST3000DM001-1CH1 CC29> Fixed Direct Access SPC-4 SCSI device
da4: Serial Number W1F5PBPH
da4: 600.000MB/s transfers
da4: Command Queueing enabled
da4: 2861588MB (5860533168 512 byte sectors)
da4: quirks=0x8<4K>
da5 at mps0 bus 0 scbus0 target 11 lun 0
da5: <ATA ST3000DM001-1CH1 CC27> Fixed Direct Access SPC-4 SCSI device
da5: Serial Number Z1F33JWF
da5: 600.000MB/s transfers
da5: Command Queueing enabled
da5: 2861588MB (5860533168 512 byte sectors)
da5: quirks=0x8<4K>
random: unblocking device.
SMP: AP CPU #1 Launched!
SMP: AP CPU #5 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #4 Launched!
SMP: AP CPU #7 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #6 Launched!
Timecounter "TSC-low" frequency 1650046374 Hz quality 1000
Trying to mount root from zfs:freenas-boot/ROOT/default []...
GEOM_RAID5: Module loaded, version 1.3.20140711.62 (rev f91e28e40bf7)
ipmi0: <IPMI System Interface> port 0xca2,0xca3 on acpi0
ipmi0: KCS mode found at io 0xca2 on acpi
ipmi0: IPMI device rev. 1, firmware rev. 1.60, version 2.0
ipmi0: Number of channels 2
ipmi0: Attached watchdog
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>
ums0 on uhub2
ums0: <Winbond Electronics Corp Hermon USB hidmouse Device, class 0/0, rev 1.10/0.01, addr 3> on usbus0
ums0: 3 buttons and [Z] coordinates ID=0
uhid0 on uhub3
uhid0: <USB Keyboard> on usbus1
em1: link state changed to UP
root@freenas:~ #



Output of glabel status

Code:
root@freenas:~ # glabel status
									  Name  Status  Components
gptid/6b1fe85b-899d-11e2-823d-50e549b3a1da	 N/A  da0p1
gptid/6b8b5944-899d-11e2-823d-50e549b3a1da	 N/A  da1p1
gptid/6c38f513-899d-11e2-823d-50e549b3a1da	 N/A  da2p1
gptid/6a9db0c4-899d-11e2-823d-50e549b3a1da	 N/A  da3p1
gptid/25e36425-98dc-11e4-af06-525400730083	 N/A  da4p1
gptid/25fdaf96-98dc-11e4-af06-525400730083	 N/A  da4p2
gptid/46a0d95e-84fe-11e7-b19e-080027d94977	 N/A  da6p1

 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
GUI still doesn't show the volume available for import and there are no replace options in the view disks.
I would not expect the GUI to show you a volume to import because the volume already is imported and mounted.

How about a screen shot of the View Volume Status screen? I am guessing that if you are looking at the View Disks screen that you didn't read the user guide on how to replace a hard drive, or you just made a simple typo. I prefer to give you the benefit of the doubt.
 

KMR

Contributor
Joined
Dec 3, 2012
Messages
199
I'll see if I can get a screen shot when I get back home but there aren't any volumes listed in the volume status screen of the GUI which is why I was in the view disks portion rummaging for serial numbers of the disks.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
Any screens shots you can provide would be helpful but your pool appears to be imported.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Any screens shots you can provide would be helpful but your pool appears to be imported.
Agreed, the pool is imported. However, he imported it via the CLI, so it won't show in the GUI. @KMR, you need to export the volume ( zpool export volume), and then you should be able to import it through the GUI.
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
There is a bug - "Can't import a degraded volume" - https://bugs.freenas.org/issues/24368 that's targeted to be fixed in 11.0-U3.

I wonder if the OP imported the volume from the CLI.

If so, my guess, is that he'd need to do the replace from the CLI, export the volume, and then import it via the webGUI.

I would not expect the GUI to show you a volume to import because the volume already is imported and mounted
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504

KMR

Contributor
Joined
Dec 3, 2012
Messages
199
I've included a screenshot of the volumes tab under storage. As you can see there are no entries. Interesting about that bug; it does seem like it would apply to me. However, given the ugly names of the drives from the zpool status command I haven't been able to successfully replace the drive. Based on the output from my system above does anyone know the proper use of the replace command or a way to clean up those drive names so that I can use it?
 

Attachments

  • View Volumes.png
    View Volumes.png
    16.1 KB · Views: 360

KMR

Contributor
Joined
Dec 3, 2012
Messages
199
This is what I get when using the replace command via CLI

Code:
root@freenas:~ # zpool status
  pool: freenas-boot
 state: ONLINE
  scan: none requested
config:

	NAME		STATE	 READ WRITE CKSUM
	freenas-boot  ONLINE	   0	 0	 0
	  da6p2	 ONLINE	   0	 0	 0

errors: No known data errors

  pool: volume
 state: DEGRADED
status: One or more devices has been taken offline by the administrator.
	Sufficient replicas exist for the pool to continue functioning in a
	degraded state.
action: Online the device using 'zpool online' or replace the device with
	'zpool replace'.
  scan: scrub repaired 0 in 11h41m with 0 errors on Mon Feb 15 09:41:32 2016
config:

	NAME											STATE	 READ WRITE CKSUM
	volume										  DEGRADED	 0	 0	 0
	  raidz2-0									  DEGRADED	 0	 0	 0
		gptid/25fdaf96-98dc-11e4-af06-525400730083  ONLINE	   0	 0	 0
		da3p2									   ONLINE	   0	 0	 0
		da0p2									   ONLINE	   0	 0	 0
		da1p2									   ONLINE	   0	 0	 0
		757663698864805892						  OFFLINE	  0	 0	 0  was /dev/da3p2
		da2p2									   ONLINE	   0	 0	 0

errors: No known data errors
root@freenas:~ # zpool replace 757663698864805892 /dev/da5
cannot open '757663698864805892': name must begin with a letter

 

KMR

Contributor
Joined
Dec 3, 2012
Messages
199
Well, I forgot the volume name. It appears to be resilvering now; the GUI not showing me anything was really throwing me off. Lets hope I don't have another drive failure while this goes on.

Anything else I should be aware of or just cross my fingers and hope for the best?

Thanks for the help folks!
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
Anything else I should be aware of or just cross my fingers and hope for the best?
I also appreciate the others jumping in and helping. And @gpsguy said the following:
If so, my guess, is that he'd need to do the replace from the CLI, export the volume, and then import it via the webGUI.
So after the resilvering is finished, it sounds like you need to export the pool via CLI and then import the pool via GUI.
 
Status
Not open for further replies.
Top