From owner-freebsd-stable Tue Feb 17 19:42:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA05728 for freebsd-stable-outgoing; Tue, 17 Feb 1998 19:42:35 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from gaia.coppe.ufrj.br (cisigw.coppe.ufrj.br [146.164.5.200]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA05509; Tue, 17 Feb 1998 19:39:37 -0800 (PST) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.8/8.8.8) id BAA00623; Wed, 18 Feb 1998 01:39:17 -0200 (EDT) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199802180339.BAA00623@gaia.coppe.ufrj.br> Subject: Re: blkfree: freeing free block In-Reply-To: <199802180308.BAA18436@gaia.coppe.ufrj.br> from Joao Carlos Mendes Luis at "Feb 18, 98 01:08:54 am" To: jonny@coppe.ufrj.br (Joao Carlos Mendes Luis) Date: Wed, 18 Feb 1998 01:39:17 -0200 (EDT) Cc: asami@FreeBSD.ORG, jonny@coppe.ufrj.br, stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk #define quoting(Joao Carlos Mendes Luis) // This is also new. Although it's possible to be a hardware problem, // it's too much coincidence to happen just after the upgrade. // // Feb 18 00:51:25 gaia /kernel: bad block 262144, ino 38502 // Feb 18 00:51:25 gaia /kernel: pid 18182 (rm), uid 0 on /var: bad block // // Consequences: I have a stuck file at /var/spool/mqueue/.hoststat, // purgestat wastes lots of CPU, and never stops, except ^C. ... // Will try a reboot right now, hoping fsck solves this problem. Rebooted, single user. fsck found no problem. Mounted /var, and tried to rm again. No luck. Fortunately, there's always clri around. umount /var, clri stuck file inode, clri stuck dir inode, fsck find an error. mount again. dd if=/dev/zero of=/var/tmp/foo, no error dd if=/var/tmp/foo of=/dev/null, no error umount /var, dd if=/dev/rsd0e of=/dev/null, no error (No, no, no. I'll not dd if=/dev/zero of=/dev/rsd0e !!! :) ) So, what was the problem ? (Is it time to go -hackers, or is this the right forum ?) Jonny PS: Please, somebody remove the "Clri is obsoleted for normal file system repair work by fsck(8)." from clri(8) manpage. :) -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message