Date: Mon, 15 Feb 2021 08:54:33 +0000 From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 253158] Panic: snapacct_ufs2: bad block - Non-suJ mksnap_ffs(8) crash Message-ID: <bug-253158-3630-rSjF6vguF1@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-253158-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-253158-3630@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253158 --- Comment #43 from Cy Schubert <cy@FreeBSD.org> --- (In reply to Konstantin Belousov from comment #39) Both patches, each by themselves, don't panic. The sys/ufs/ffs/ffs_snapshot.c patch resolves the problem without causing any other problems. However the sys/kern/vfs_vnops.c patch by itself causes other problems which results in the following errors during boot: mountroot: waiting for device /dev/ada0s1a... input in flex scanner failed read: read error: Unknown error: 66047 warning: total configured swap (524276 pages) exceeds maximum recommended amount (457736 pages). [...] Starting dhclient. input in flex scanner failed /etc/rc.d/dhclient: WARNING: failed to start dhclient vtnet2: link state changed to UP pid 417 (sleep), jid 0, uid 0: exited on signal 3 Quit The system hung during boot because the network interface never obtained an IP address through dhclient. beastie# newfs /dev/ada3 /dev/ada3: 16384.0MB (33554432 sectors) block size 32768, fragment size 4096 using 27 cylinder groups of 625.22MB, 20007 blks, 80128 inodes. super-block backups (for fsck_ffs -b #) at: 192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776, 11524224, 12804672, 14085120, 15365568, 16646016, 17926464, 19206912, 20487360, 21767808, 23048256, 24328704, 25609152, 26889600, 28170048, 29450496, 30730944, 32011392, 33291840 beastie# mount /dev/ada3 /mnt beastie# mksnap_ffs /mnt/.snap/test beastie# fstyp /mnt/.snap/test: filesystem not recognized. beastie# It's getting late here. I cannot continue testing sys/kern/vfs_vnops.c by itself tonight. I can continue tomorrow. Repeat: sys/ufs/ffs/ffs_snapshot.c does fix the problem without any negative effects. -- 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-253158-3630-rSjF6vguF1>
