Date: Wed, 05 Jan 2022 20:39:38 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260962] fsck.zfs(8) does not detect OpenZFS pool degradation Message-ID: <bug-260962-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260962 Bug ID: 260962 Summary: fsck.zfs(8) does not detect OpenZFS pool degradation Product: Base System Version: CURRENT Hardware: Any URL: https://cgit.freebsd.org/src/commit/sys/contrib/openzf s/cmd/fsck_zfs?id=3D1603881667360c015f6685131f2f25474fa6 7a72 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: grahamperrin@gmail.com <https://cgit.freebsd.org/src/tree/sys/contrib/openzfs/cmd/fsck_zfs> Maybe not a bug, but what's below is not consistent with the installed manu= al page.=20 ---- root@mowa219-gjp4-8570p-freebsd:~ # zfs --version zfs-2.1.99-FreeBSD_gf291fa658 zfs-kmod-2.1.99-FreeBSD_gf291fa658 root@mowa219-gjp4-8570p-freebsd:~ # /usr/local/sbin/fsck.zfs Transcend/VirtualBox root@mowa219-gjp4-8570p-freebsd:~ # zpool status -x pool: Transcend state: ONLINE 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: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-2Q scan: scrub repaired 0B in 01:32:30 with 0 errors on Sun Dec 12 16:25:35 = 2021 config: NAME STATE READ WRITE CKSUM Transcend ONLINE 0 0 0 gpt/Transcend ONLINE 0 0 0 cache gpt/cache-transcend UNAVAIL 0 0 0 cannot open errors: No known data errors root@mowa219-gjp4-8570p-freebsd:~ # date ; uname -aKU Wed Jan 5 20:36:28 GMT 2022 FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #118 main-n251923-4bae154fe8c: Sat Dec 25 08:03:37 GMT 2021=20=20=20=20 root@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NO= DEBUG amd64 1400045 1400045 root@mowa219-gjp4-8570p-freebsd:~ #=20 ---- >From man 8 fsck.zfs > =E2=80=A6 checks the status of a dataset's container pool. It is install= ed=20 > by OpenZFS because some Linux distributions expect a fsck helper for=20 > all filesystems. =E2=80=A6 > =E2=80=A6 if the dataset is in a degraded pool, then fsck.zfs will return= =20 > exit code 4 to indicate an uncorrected filesystem error. =E2=80=A6 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260962-227>