From nobody Thu Nov 4 23:09:29 2021 X-Original-To: freebsd-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 545D21806D4E for ; Thu, 4 Nov 2021 23:09:42 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HlfVF0G0qz4dPN for ; Thu, 4 Nov 2021 23:09:41 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id D26ED8D4A215 for ; Thu, 4 Nov 2021 23:09:32 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 30079E708BA for ; Thu, 4 Nov 2021 23:09:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id G0-vuqo4S4Wg for ; Thu, 4 Nov 2021 23:09:30 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 4B0D6E707AC for ; Thu, 4 Nov 2021 23:09:30 +0000 (UTC) Date: Thu, 4 Nov 2021 23:09:29 +0000 (UTC) From: "Bjoern A. Zeeb" To: freebsd-fs@freebsd.org Subject: panic: ufs_dirbad: /: bad dir ino 160292 at offset 512: mangled entry Message-ID: X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 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 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 4HlfVF0G0qz4dPN X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2a01:4f8:13b:39f::9f:25 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:39f::9f:25]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_NA(0.00)[zabbadoz.net]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; MIME_TRACE(0.00)[0:+] X-ThisMailContainsUnwantedMimeParts: N Just got this on a VM disk image. I couldn't dump as I needed the crashdump which was waiting for me already (means the system had previously paniced). A full fsck w/o journal seems to have fixed it on the next round. Just posting in case this is seen more often so people can find it. Lots of health (or more than that fs that moment) to all of you, /bz 2021-11-04T22:59:47.564904+00:00 - init 1 - - /bin/sh on /etc/rc terminated abnormally, going to single user mode Enter full pathname of shell or RETURN for /bin/sh: root@:/ # fsck / ** /dev/ada0p4 ** SU+J Recovering /dev/ada0p4 USE JOURNAL? [yn] y ** Reading 33554432 byte journal from inode 4. RECOVER? [yn] y ** Building recovery table. ** Resolving unreferenced inode list. ** Processing journal entries. WRITE CHANGES? [yn] y ***** FILE SYSTEM IS CLEAN ***** ** 13 journal records in 2048 bytes for 20.31% utilization ** Freed 2 inodes (0 dirs) 1 blocks, and 3 frags. ***** FILE SYSTEM MARKED CLEAN ***** root@:/ # ^D Setting hostuuid: e0738d77-da8d-11eb-8339-000db9559b74. Setting hostid: 0x789c8996. Fast boot: skipping disk checks. panic: ufs_dirbad: /: bad dir ino 160292 at offset 512: mangled entry cpuid = 0 time = 1636066794 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0051f1e6a0 vpanic() at vpanic+0x187/frame 0xfffffe0051f1e700 panic() at panic+0x43/frame 0xfffffe0051f1e760 ufs_lookup_ino() at ufs_lookup_ino+0xd9a/frame 0xfffffe0051f1e860 vfs_cache_lookup() at vfs_cache_lookup+0xa6/frame 0xfffffe0051f1e8b0 cache_fplookup_final_modifying() at cache_fplookup_final_modifying+0x2f4/frame 0xfffffe0051f1e930 cache_fplookup_noentry() at cache_fplookup_noentry+0xb2/frame 0xfffffe0051f1e9a0 cache_fplookup() at cache_fplookup+0x5f5/frame 0xfffffe0051f1ea90 namei() at namei+0x1e6/frame 0xfffffe0051f1eb50 vn_open_cred() at vn_open_cred+0x12c/frame 0xfffffe0051f1ecb0 kern_openat() at kern_openat+0x285/frame 0xfffffe0051f1ee00 amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe0051f1ef30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0051f1ef30 --- syscall (499, FreeBSD ELF64, sys_openat), rip = 0x8011e3c2a, rsp = 0x7fffffffe248, rbp = 0x7fffffffe330 --- KDB: enter: panic [ thread pid 89 tid 100099 ] Stopped at kdb_enter+0x37: movq $0,0x127094e(%rip) -- Bjoern A. Zeeb r15:7