From nobody Tue Nov 12 00:03:36 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XnRTN1kRNz5cpRN for ; Tue, 12 Nov 2024 00:03:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XnRTM6lFSz4vj6 for ; Tue, 12 Nov 2024 00:03:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731369815; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MHSmWsjv9fQeUZN7Bq+tfgUK+jsoJp1uTECdHiYsqM8=; b=u84svuc1fJRtXaBr3OWuHTpFPRy5zWhytypcpfNvFw3PaJmrAk83Uz0odT+UmA/7wzTWFG VivLZbBxIRDHeud4cULNUGRQGQr8IfhZI8aN/AYQ6l8mdZ+Y2wM7WUsy678OAZa19hacbS BrlMSdhIXO9A/1MgCOQQ8qpfQr9W3Gpa7aN8Zghx5KZLvifxCtXWoXoMJYhT0YMtKhHibQ rKlAJXU6XGxleKi/Vkq7VudgxOOjETsMoBy4yUuVjtbsr6G5keRB5oAYH4lnAms4KQALRH 9QbzkeMfV21gr6p+hbaPJvArenpTPZ+0XGtpIdy0gkXMI5DRrPMTJT3kK4pUGg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731369815; a=rsa-sha256; cv=none; b=C3rutKqiufLTkghlHVSIScgHzj368NxrAMc+6DK0lkZcsdcDMDHpz5K+n9ooaQSJY4Kjci lrlGUDV6aWEb0c2Si3ajHqWzySECTLbru33uieBAyrZIVsuJSPjAn6P5ZX47SfW+IV95og +DRriAdEfD0Y6+Q97cBnn8HNOYH/SpKBwH+j2gX6IYWnXuNrRmBTo3hTGXh3MM0SO//Yb5 JJEwvjjzTnEk3d1+CiLDY28GiHZIt2rnKLny8UzWEVy1C97r0yuCY/3v9WE2obFC/aVIz9 eas61ffcoO+q+fCSueim23NSMRyjmi+Y3tCAKHLtE2H8t69c6BiclO7C5JFQ5g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XnRTM6M48znC6 for ; Tue, 12 Nov 2024 00:03:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4AC03Zkm099882 for ; Tue, 12 Nov 2024 00:03:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AC03Zhu099881 for bugs@FreeBSD.org; Tue, 12 Nov 2024 00:03:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282702] Single disk ZFS pool hangs if drive goes away Date: Tue, 12 Nov 2024 00:03:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: darius@dons.net.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282702 Bug ID: 282702 Summary: Single disk ZFS pool hangs if drive goes away Product: Base System Version: 14.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: darius@dons.net.au I have a ZFS system where I backup the main pool to a rotating set of disks using zfs send/recv (via zrepl). Normally the backup runs OK and my script does a 'zpool offline' on the bac= kup pool and I swap disks and it is fine. However if I manually do it and forge= t to offline the pull when I pop the disk the zpool fails: [cain 10:21] ~ >zpool status cain-backup-2 pool: cain-backup-2 state: SUSPENDED status: One or more devices are faulted in response to IO failures. action: Make sure the affected devices are connected, then run 'zpool clear= '. see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-HC scan: scrub repaired 0B in 04:57:56 with 0 errors on Tue Nov 12 08:36:25 = 2024 config: NAME STATE READ WRITE CKSUM cain-backup-2 UNAVAIL 0 0 0 insufficient repli= cas gpt/cain-backup-2 REMOVED 0 0 0 errors: 4 data errors, use '-v' for a list Which is fair enough, however if I put the disk back in no combination of z= pool clear, online or export will get it back into an operating condition, or ma= ke it forget about the suspended pool. eg "sudo zpool clear cain-backup-2" will complain "cannot clear errors for cain-backup-2: I/O error". Adding -FnX results in no output but the pool is still hung. The disk is available at the same name (/dev/gpt/cain-backup-2) so I am not sure why it can't just reopen the device and continue. I have also tried 'sudo zpool online cain-backup-2 /dev/gpt/cain-backup-2' = but that doesn't work either. --=20 You are receiving this mail because: You are the assignee for the bug.=