Did I just lose a drive?

Status
Not open for further replies.

mav3rek

Dabbler
Joined
Feb 12, 2015
Messages
29
So, I got a message this morning:

Code:
Checking status of zfs pools:

NAME  SIZE  ALLOC  FREE  EXPANDSZ  FRAG  CAP  DEDUP  HEALTH  ALTROOT
freenas-boot  7.25G  3.57G  3.68G  -  -  49%  1.00x  ONLINE  -
vol1  5.44T  3.02T  2.42T  -  22%  55%  1.00x  DEGRADED  /mnt

pool: vol1
state: DEGRADED

status: One or more devices has been removed 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 3h51m with 0 errors on Sun Jan  8 03:51:58 2017
config:

NAME  STATE  READ WRITE CKSUM
vol1  DEGRADED  0  0  0
raidz1-0  DEGRADED  0  0  0

gptid/7c8a4797-b3eb-11e4-809b-3cd92b73d258  ONLINE  0  0  0

gptid/7d0a8488-b3eb-11e4-809b-3cd92b73d258  ONLINE  0  0  0

5508139886121649376   REMOVED  0  0  0  was /dev/gptid/7d80e55e-b3eb-11e4-809b-3cd92b73d258

errors: No known data errors

-- End of daily output --



Am I correct in assuming that one of my hard drives in my FreeNAS box has died?
 
Last edited by a moderator:

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
Am I correct in assuming that one of my hard drives in my freeNAS box has died?
It has been removed from the pool for some reason. You'll have to do some basic troubleshooting.
  • Does the drive have power?
  • Have you tried replacing the SATA cable?
  • Have you scheduled regular long/short SMART tests?
 

mav3rek

Dabbler
Joined
Feb 12, 2015
Messages
29
It has been removed from the pool for some reason. You'll have to do some basic troubleshooting.
  • Does the drive have power?
  • Have you tried replacing the SATA cable?
  • Have you scheduled regular long/short SMART tests?

This morning when I went downstairs I did hear the machine beeping (It's an HP Z400), so I knew something wasn't right. Then I checked my email and had the message above.

Also on a side note, I can no longer log in to FreeNAS. When I try to pull it up by the static IP, I get an "connection refused" browser error. I can ping the static IP Address and get a reply, and I can still access all my data over a network share. Even if the drive had died, I should be able to still login to FreeNAS though, right? FreeNAS is installed on a thumb drive in the back of the machine.
 

Evi Vanoost

Explorer
Joined
Aug 4, 2016
Messages
91
You *should* be able to login, however my experience with these things, once a piece of hardware fails, both software and other hardware tends to "freak out". Whether it's a power supply or a kernel bug, I assume you're just using SATA so the entire system could've just locked itself up or the drive could be polluting the entire bus with garbage, crashing the OS etc.

I'd use a terminal to see what's going on and restart if necessary.
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419

mav3rek

Dabbler
Joined
Feb 12, 2015
Messages
29
So I rebooted the system last night, and I am able to login now without any problems. Also the beeping that the FreeNAS box was doing, has stopped. However, I still get an immediate email on boot that says :
Code:
The volume vol1 (ZFS) state is DEGRADED: One or more devices could not be opened. Sufficient replicas exist for the pool to continue functioning in a degraded state.


Followed by;
Code:
Checking status of zfs pools:

NAME  SIZE  ALLOC  FREE  EXPANDSZ  FRAG  CAP  DEDUP  HEALTH  ALTROOT

freenas-boot  7.25G  3.57G  3.68G  -  -  49%  1.00x  ONLINE  -

vol1  5.44T  3.02T  2.42T  -  22%  55%  1.00x  DEGRADED  /mnt


  pool: vol1

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 3h51m with 0 errors on Sun Jan  8 03:51:58 2017

config:


  NAME  STATE  READ WRITE CKSUM

  vol1  DEGRADED  0  0  0

	raidz1-0  DEGRADED  0  0  0

	gptid/7c8a4797-b3eb-11e4-809b-3cd92b73d258  ONLINE  0  0  0

	gptid/7d0a8488-b3eb-11e4-809b-3cd92b73d258  ONLINE  0  0  0

	5508139886121649376   UNAVAIL  0  0  0  was /dev/gptid/7d80e55e-b3eb-11e4-809b-3cd92b73d258


errors: No known data errors


So I'm not really sure how to check and see what exactly is happening. In FreeNAS the disks look like this:
2myxitv.jpg
 

wblock

Documentation Engineer
Joined
Nov 14, 2014
Messages
1,506
Beeping is probably a hardware problem. It might be logged in the BIOS.
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
Status
Not open for further replies.
Top