DaemonForums  

Go Back   DaemonForums > Other Operating Systems > Other BSD and UNIX/UNIX-like

Other BSD and UNIX/UNIX-like Any other flavour of BSD or UNIX that does not have a section of its own.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 30th September 2024
Nixota Nixota is offline
Port Guard
 
Join Date: Aug 2022
Posts: 15
Default [CRITICAL] zfs pool in DEGRADED condition: how to solve it?

Hello Savvy Admins/Devs,

using OpenZFS filie system on OSX (from https://openzfsonosx.org)

SYSTEM CONFIGS:
I'm having a very difficult situation with an open-zfs data pool (mirrored in two/two partitions, for a total of 4 discs) on an external NAS, with #4 size 3.5 inch mechanical hard disks (Seagate pro quality), driven by a macOS vs. 10.15 (Catalina), with ZFS vs. zfs-macOS-2.2.3-rc4.

PROBLEM:
After a first crash (with a few data errors) whose zpool output was (read the OpenZFS message at https://openzfs.github.io/openzfs-do...-HC/index.html), resulting in a 'REMOVED' state for the partition from the 2nd mirror (mirror-1, prt 1/2), and an overall 'SUSPENDED' state for the pool,

INITIAL SOLUTION ATTEMPT:
that got temporarily resolved with (CLI commands):

$ sudo zpool online [poolName] mirror-1
(reboot of the OS)
$ sudo zpool clear [poolName]

After another reboot, Initially the pool was 'ONLINE' and accessible, [SEE the attached image] and ZFS started a data resilvering process. But then, all of a sudden it seems that the resilvering process stops and all the I/O commands get hanging with no possibility to proceed further, resulting in a 'mirror-1' partition in 'REMOVED' state, and a final 'DEGRADED' status for the pool.

I tried more than 10 reboots +'online' the 'mirror-1' + 'clear' the pool and wait for the resilvering process to finish, but to no avail: all the times the pool is initially accessible but soon the resilvering process stops and the I/O hangs indefinitely.

The final resulting state of the pool is shown in the attached image.

SOLUTION?
I might (superficially) guess that one of the hard drives (the one tagged as 'mirror-1 media-etc') is a faulty unit and crashes unexpectedly during the resilvering process; probably should substitute that with a new hard disk and resilver it with the $ zpool replace command?

HELP
I kindly ask for your expertise and help, I'm unable to proceed and I'm worrying very much for the data.

Thank you in advance, with Best Regards
Attached Images
File Type: png pool-DEGRADED-status-resilvering-does-NOT-ent.png (103.7 KB, 67 views)
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow rsync backup from zfs pool with 99% of files Septic FreeBSD General 10 29th May 2013 09:45 PM
FreeBSD 8.1/7.3 vm.pmap kernel local race condition bryn1u FreeBSD Security 0 7th September 2010 08:12 PM
update-fetch(how to solve)... vato FreeBSD Installation and Upgrading 4 6th September 2010 08:00 AM
IPv4 Free Pool Drops Below 10%, 1.0.0.0/8 Allocated J65nko News 4 29th January 2010 12:13 PM
Moving ZFS to a other pool? amscotti Solaris 1 28th July 2009 11:49 PM


All times are GMT. The time now is 02:49 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick