NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/61001: fssconfig panics if filesystem is not clean
>Number: 61001
>Category: kern
>Synopsis: fssconfig panics if filesystem is not clean
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 13 18:30:01 +0000 2026
>Originator: R.J.
>Release: netbsd-11
>Organization:
>Environment:
NetBSD dess 11.0_STABLE NetBSD 11.0_STABLE (GENERIC) #1: Mon Nov 2 21:04:09 EST 2026 rjc@dess:/usr/src/sys/arch/amd64/compile/obj/GENERIC amd64
>Description:
Attempting to take a fs snapshot resulted in reproducible panics - see below. The filesystem was mounted with wapbl and nothing was showing that it was not clean. Rebooting in single mode and forcing fsck a couple of times found some issues on the filesystem and also fixed the original issue.
Crash version 11.0_STABLE, image version 11.0_STABLE.
crash: _kvm_kvatop(0)
Kernel compiled without options LOCKDEBUG.
System panicked: snapacct: bad block
Backtrace from time of crash is available.
crash> bt
sljit_modcmd() at 0
kern_reboot() at kern_reboot+0x93
vpanic() at vpanic+0x17b
panic() at vprintf
snapacct() at fullacct
indiracct() at indiracct+0x1e2
indiracct() at indiracct+0x314
expunge() at expunge+0x331
ffs_snapshot() at ffs_snapshot+0x12fc
VFS_SNAPSHOT() at VFS_SNAPSHOT+0x25
fss_ioctl() at fss_ioctl+0x9fc
cdev_ioctl() at cdev_ioctl+0x9b
spec_ioctl() at spec_ioctl+0x59
VOP_IOCTL() at VOP_IOCTL+0x47
vn_ioctl() at vn_ioctl+0xaa
sys_ioctl() at sys_ioctl+0x4ca
syscall() at syscall+0x9a
--- syscall (number 54) ---
syscall+0x9a:
>How-To-Repeat:
Run "fssconfig fss0 / /snapshot/1.store" on a dirty fs.
>Fix:
Home |
Main Index |
Thread Index |
Old Index