Zpool status degraded? Not that old.

Status
Not open for further replies.

jakeandchase

Explorer
Joined
Aug 26, 2014
Messages
53
Hi All,

So i've been running freenas fine with everything set up for about 8 months now. I run a mirror. Today I received an email notification telling my pool is in a degraded state.

Could anyone help?

Code:
[root@freenas] ~# zpool status
  pool: freenas-boot
state: ONLINE
  scan: scrub repaired 0 in 0h0m with 0 errors on Sat May  2 03:45:40 2015
config:

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

errors: No known data errors

  pool: tank
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 1h16m with 0 errors on Sun Apr 12 01:16:22 2015
config:

        NAME                                            STATE     READ WRITE CKS                                                UM
        tank                                            DEGRADED     0     0                                                     0
          mirror-0                                      DEGRADED     0     0                                                     0
            gptid/fd6e02e4-86aa-11e4-835c-38eaa7abfe00  ONLINE       0     0                                                     0
            7741834010562356120                         UNAVAIL      0     0                                                     0  was /dev/gptid/5a82cb03-87d7-11e4-adc0-38eaa7abfe00

errors: No known data errors
[root@freenas] ~#
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
It's just like it says. One or more devices are missing.

You provided no additional info as requested by the forum rules, so that's all the advice that can be given.
 

jakeandchase

Explorer
Joined
Aug 26, 2014
Messages
53
Sorry, I'll try include more info.

Code:
[root@freenas] ~# zpool status
  pool: freenas-boot
state: ONLINE
  scan: scrub repaired 0 in 0h0m with 0 errors on Sat May  2 03:45:40 2015
config:

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

errors: No known data errors

  pool: tank
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 1h16m with 0 errors on Sun Apr 12 01:16:22 2015
config:

    NAME                                            STATE     READ WRITE CKSUM
    tank                                            DEGRADED     0     0     0
      mirror-0                                      DEGRADED     0     0     0
        gptid/fd6e02e4-86aa-11e4-835c-38eaa7abfe00  ONLINE       0     0     0
        7741834010562356120                         UNAVAIL      0     0     0  was /dev/gptid/5a82cb03-87d7-11e4-adc0-38eaa7abfe00

errors: No known data errors


Code:
[root@freenas] ~# camcontrol devlist
<ST3000VN000-1H4167 SC43>          at scbus1 target 0 lun 0 (pass0,ada0)
<Kingston DataTraveler 3.0 PMAP>   at scbus7 target 0 lun 0 (pass1,da0)


Code:
[root@freenas] ~# glabel status
                                      Name  Status  Components
gptid/84fe2f93-8046-11e4-9bca-38eaa7abfe00     N/A  da0p1
gptid/fd6e02e4-86aa-11e4-835c-38eaa7abfe00     N/A  ada0p2


Code:
[root@freenas] ~# gpart show
=>      34  30497597  da0  GPT  (14G)
        34      1024    1  bios-boot  (512k)
      1058         6       - free -  (3.0k)
      1064  30496560    2  freebsd-zfs  (14G)
  30497624         7       - free -  (3.5k)

=>        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)



Could this information tell me that the drive is physically unplugged? I can't check now but I will check as soon as I get home.
 
Last edited:

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Not only not visible to ZFS, but not visible to the system at all. It could be that the drive simply died, it could be that a cable's loose, it could be that the SATA port on your motherboard died, it could be that your power supply connector is defective, any number of things. As far as FreeBSD (and thus FreeNAS) can tell, that drive isn't there any more. Since your pool is mirrored, your data is still safe, unless/until something happens to the other disk.
 

jakeandchase

Explorer
Joined
Aug 26, 2014
Messages
53
So after my physical troubleshooting it seems the first drive in my two drive array is dead.

I even plugged into into my hard drive enclosure into my windows machine and it found nothing. Looks like an warranty case.
 
Status
Not open for further replies.
Top