From nobody Mon May 31 15:16:56 2021 X-Original-To: fs@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 467F9D7E0F1 for ; Mon, 31 May 2021 15:16:56 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FtzRD1Qd7z3PDp for ; Mon, 31 May 2021 15:16:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 1A72512AB4 for ; Mon, 31 May 2021 15:16:56 +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 14VFGulA010111 for ; Mon, 31 May 2021 15:16:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14VFGuZh010110 for fs@FreeBSD.org; Mon, 31 May 2021 15:16:56 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: fs@FreeBSD.org Subject: [Bug 256205] lseek() with SEEK_HOLE some times wrongly reports holes on ZFS Date: Mon, 31 May 2021 15:16:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: fuz@fuz.su X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256205 --- Comment #8 from Robert Clausecker --- (In reply to Alan Somers from comment #7) Hi Alan, The cache file /etc/zfs/zpool.cache is there and seems fine. Here is what = zdb -C outputs: # zdb -C tau: version: 5000 name: 'tau' state: 0 txg: 439 pool_guid: 2019163837599314243 errata: 0 hostname: 'eta' com.delphix:has_per_vdev_zaps vdev_children: 1 vdev_tree: type: 'root' id: 0 guid: 2019163837599314243 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 12664617697930720246 path: '/dev/da0p3' whole_disk: 1 metaslab_array: 131 metaslab_shift: 34 ashift: 12 asize: 1991530512384 is_log: 0 DTL: 302 create_txg: 4 com.delphix:vdev_zap_leaf: 129 com.delphix:vdev_zap_top: 130 features_for_read: com.delphix:hole_birth com.delphix:embedded_data Though interestingly, this does not match the pool label: # zdb -l da0s2a ------------------------------------ LABEL 0 ------------------------------------ version: 5000 name: 'tau' state: 0 txg: 112629 pool_guid: 12522957766422004777 errata: 0 hostname: 'tau.fuz.su' top_guid: 16278934493555373134 guid: 16278934493555373134 vdev_children: 1 vdev_tree: type: 'disk' id: 0 guid: 16278934493555373134 path: '/dev/da0s2a' whole_disk: 1 metaslab_array: 65 metaslab_shift: 31 ashift: 12 asize: 231409188864 is_log: 0 create_txg: 4 features_for_read: com.delphix:hole_birth com.delphix:embedded_data labels =3D 0 1 2 3=20 Could the cache file perhaps be stale? If yes, how do I fix this? --=20 You are receiving this mail because: You are on the CC list for the bug.=