FreeNAS hard drive issues

Status
Not open for further replies.

Bunter2000

Dabbler
Joined
Sep 3, 2018
Messages
12
Can anyone sanitise the crytpic (to me a newbie) below, I had a hard drive die and degraded the server I replaced the harddrive but I still have degraded server and to me it appears that the new hard drive has not been added but I do not have and space in the pool to add. How can I check to see if the replaced drive is actually part of the pool?

I actually replaced Drive 3 (ada2) , I have a 60Gb SSD as boot and 6 x 2 Tb drives for storage. The message seems to point to the 4th drive (I think)? I have replaced all sata cables which did seem to have kept the system more stable but I have constant drive problems like this. In the past I have changed Motherboard CPU and RAM to try to stop the constant problems.

I have replaced a number of drives in the past, these same drives are now working 100% in a windows box - none have actually died except.

I am ready to go back to WHS (choke) as a last resort as I never has issues like this and most of the error messages you did not need a degree to understand them.

Here is the message:
Checking status of zfs pools:

NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT

SERVER 9.06T 5.13T 3.93T - 2% 56% 1.00x DEGRADED /mnt

freenas-boot 59.5G 3.68G 55.8G - - 6% 1.00x ONLINE -


pool: SERVER

state: DEGRADED

status: One or more devices could not be opened. Sufficient replicas exist for

the pool to continue functioning in a degraded state.

action: Attach the missing device and online it using 'zpool online'.

see: http://illumos.org/msg/ZFS-8000-2Q

scan: scrub repaired 0 in 0 days 03:38:48 with 0 errors on Mon Nov 19 19:51:12 2018

config:


NAME STATE READ WRITE CKSUM

SERVER DEGRADED 0 0 0

raidz1-0 DEGRADED 0 0 0

gptid/c931768b-e871-11e7-92a4-50e5495b7944 ONLINE 0 0 0

gptid/ca04c5dc-e871-11e7-92a4-50e5495b7944 ONLINE 0 0 0

gptid/caf564d4-e871-11e7-92a4-50e5495b7944 ONLINE 0 0 0

10352049490623619920 UNAVAIL 0 0 0 was /dev/gptid/cc247c7b-e871-11e7-92a4-50e5495b7944

gptid/cd9db0d9-e871-11e7-92a4-50e5495b7944 ONLINE 0 0 0

logs

gptid/58f9ae83-3d39-11e8-912b-50e5495b7944 ONLINE 0 0 0

gptid/eb0bf1c6-eba1-11e8-8fb0-c025e91ec7c2 ONLINE 0 0 0


errors: No known data errors
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
You don't have what you think you have and you should have asked questions here if you have some difficulty.

Why do you have two log drives?

Sent from my SAMSUNG-SGH-I537 using Tapatalk
 

Bunter2000

Dabbler
Joined
Sep 3, 2018
Messages
12
I have posted problems like this before and I was told to replace the sata cables. This seem to work for about 2 weeks, then it started again. To answer your question I don't know why I have 2 drive logs.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
WHy does he have ANY log drives, Chris, is the question.

I suspect he may have added a log drive, instead of replacing the failed drive. That explains log drive #2. But why does he have log drive #1.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
Here is the message:
When posting listings like this, you should use CODE tags to format the text, for next time.
Code:
Checking status of zfs pools:

NAME		  SIZE  ALLOC   FREE  EXPANDSZ   FRAG	CAP  DEDUP  HEALTH  ALTROOT
SERVER		9.06T  5.13T  3.93T		 -	 2%	56%  1.00x  DEGRADED  /mnt
freenas-boot  59.5G  3.68G  55.8G		 -	  -	 6%  1.00x  ONLINE  -

  pool: SERVER
state: DEGRADED
status: One or more devices could not be opened.  Sufficient replicas exist for
				the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
   see: http://illumos.org/msg/ZFS-8000-2Q
  scan: scrub repaired 0 in 0 days 03:38:48 with 0 errors on Mon Nov 19 19:51:12 2018
config:

				NAME											STATE	 READ WRITE CKSUM
				SERVER										  DEGRADED	 0	 0	 0
				  raidz1-0									  DEGRADED	 0	 0	 0
					gptid/c931768b-e871-11e7-92a4-50e5495b7944  ONLINE	  0	 0	 0
					gptid/ca04c5dc-e871-11e7-92a4-50e5495b7944  ONLINE	  0	 0	 0
					gptid/caf564d4-e871-11e7-92a4-50e5495b7944  ONLINE	  0	 0	 0
					10352049490623619920						UNAVAIL	  0	 0	 0  was /dev/gptid/cc247c7b-e871-11e7-92a4-50e5495b7944
					gptid/cd9db0d9-e871-11e7-92a4-50e5495b7944  ONLINE	  0	 0	 0
				logs
				  gptid/58f9ae83-3d39-11e8-912b-50e5495b7944	ONLINE	  0	 0	 0
				  gptid/eb0bf1c6-eba1-11e8-8fb0-c025e91ec7c2	ONLINE	  0	 0	 0

errors: No known data errors
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
I am ready to go back to WHS
I don't think we need to go to that extreme, especially since that is not a supported operating system and is many years out of date.

The first thing I think you need to do is remove those two log drives. They really are not needed and one of them was probably the drive you tried to put in as the replacement for the failed drive.
PS. The command you need should be zpool remove <ZPOOL> <DEVICE>, so for your pool, it would be:

zpool remove SERVER gptid/58f9ae83-3d39-11e8-912b-50e5495b7944 or something very similar and repeat it for the second log drive
zpool remove SERVER gptid/eb0bf1c6-eba1-11e8-8fb0-c025e91ec7c2 .
You can also do this from the GUI:
https://www.ixsystems.com/documentation/freenas/11/storage.html#removing-a-log-or-cache-device

Once you have removed the log drives logically, go ahead and take them out of the system. One of them is probably the drive that was supposed to replace the failed drive that is listed as missing, you have to make that determination, I can't see it. Here is a guide for getting the replacement disk into FreeNAS once you pick it and plug it in where it should be:
https://forums.freenas.org/index.php?resources/replacing-a-failed-failing-disk.75/
 

Bunter2000

Dabbler
Joined
Sep 3, 2018
Messages
12
Thanks Chris,
You were correct about the logs being actual drives, I freed 2 drives and replaced the unavailable drive with one of the drives and extended the volume with the other drive. I do not understand why it did not work the first time I tried to add the drives.

Looks like I won't be downgrading to WHS just yet, thanks for your input
 

Bunter2000

Dabbler
Joined
Sep 3, 2018
Messages
12
One thing I thought was strange after adding the drives is the available storage has not changed? But I have a healthy volume now. Also I have lost login availability to select the new GUI. Has access to the GUI been deleted in the last update or is there a shell command I need to entry to get the link to GUI when logging in?
 

Attachments

  • freenas gui.JPG
    freenas gui.JPG
    16.8 KB · Views: 352

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
The new GUI was disabled in 11.1 because it was broken, due to changes that were missing bits only in 11.2. 11.2 should be out in a few days.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
and extended the volume with the other drive. I do not understand why it did not work the first time I tried to add the drives.
You extended the volume with ONE drive?
Would you please share with us the output of the command zpool status?
 
Status
Not open for further replies.
Top