[Bug 236504] [gmirror][UFS2] "Superblock check-hash failed" messages seen

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Mar 16 07:43:12 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236504

--- Comment #4 from Peter Holm <pho at FreeBSD.org> ---
This patch does not seem to fix the problem seen:

20190316 08:29:28 all: graid1_7.sh
Mar 16 08:35:18 t2 kernel: Superblock check-hash failed: recorded check-hash
0xe4e5b25e != computed check-hash 0x1aaf9179 (Ignored)
FAIL graid1_7.sh exit code 5
20190316 08:35:52 all: graid1_7.sh
^C
$ svn diff -x -p /usr/src/sys
Index: /usr/src/sys/geom/label/g_label_ufs.c
===================================================================
--- /usr/src/sys/geom/label/g_label_ufs.c       (revision 345222)
+++ /usr/src/sys/geom/label/g_label_ufs.c       (working copy)
@@ -76,8 +76,8 @@ g_label_ufs_taste_common(struct g_consumer *cp, ch
        label[0] = '\0';

        fs = NULL;
-       if (SBLOCKSIZE % pp->sectorsize != 0 ||
-           ffs_sbget(cp, &fs, STDSB, M_GEOM, g_use_g_read_data) != 0) {
+       if (SBLOCKSIZE % pp->sectorsize != 0 || ffs_sbget(cp, &fs,
+           STDSB_NOHASHFAIL, M_GEOM, g_use_g_read_data) != 0) {
                KASSERT(fs == NULL,
                    ("g_label_ufs_taste_common: non-NULL fs %p\n", fs));
                return;
$ uname -a
FreeBSD t2.osted.lan 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r345222M: Sat Mar 16
08:26:16 CET 2019     pho at t2.osted.lan:/usr/src/sys/amd64/compile/PHO  amd64
$

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list