From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 12:13:15 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B189F16A4CE for ; Fri, 25 Jun 2004 12:13:15 +0000 (GMT) Received: from bigb3.homeftp.net (b9-115.xan.duth.gr [193.92.211.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95A9A43D54 for ; Fri, 25 Jun 2004 12:13:11 +0000 (GMT) (envelope-from bigbrother@bonbon.net) Received: from macedon (macedon.vlsi.gr [192.168.3.226]) i5P7W3iP028065 for ; Fri, 25 Jun 2004 10:32:03 +0300 (EEST) (envelope-from bigbrother@bonbon.net) From: "Bigbrother" To: Date: Fri, 25 Jun 2004 10:32:28 +0300 Organization: Bigbrother Clustered Network Message-ID: <00dc01c45a86$91c99040$e203a8c0@vlsi.gr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Strange Files Created, FSCK problems: how to deal without single user mode (/unmounting disc)? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2004 12:13:15 -0000 Dear all, Today I found out (due to my backup process failure) that some strange files were created on a users dir. Specifically: --wx--s-wx 16217 1062905872 1311669378 1061708166 Jan 1 1970 .irssi b---rwx--x 16240 root wheel 174, 0x3f590067 Jan 1 1970 .mc These entries were supposed to be directories, but somehow they changed to something else. I tried to remove them: rm .irssi override -wx--s-wx 1062905872/1311669378 sappnd,arch,schg,uappnd,opaque for .irssi? y rm: .irssi: Operation not permitted rm .mc override ---rwx--x root/wheel schg,uappnd,nodump for .mc? y rm: .mc: Operation not permitted Without success! I fscked the disc (note that his is an active disc with many users) and the report is located at the end of this email. Because the disc is read-write active changed are not written on the disc. My questions: 1) Have you got any clue how a healthy IDE disc can cause and corrupt files on the file system? 2) How can I fix the problem WITHOUT rebooting or without UNMOUNTING the discs? If I fsck and instruct to actually fix the errors, will they be fixed, or it might crash corrupt the whole file system? 3) How serious is this problem? Should I start worrying, even though nothing else strange exist? Thanks in advance, BB ATTACHED FSCK output: UNKNOWN FILE TYPE I=87227 UNEXPECTED SOFT UPDATE INCONSISTENCY UNKNOWN FILE TYPE I=87231 UNEXPECTED SOFT UPDATE INCONSISTENCY DUP/BAD FILE=/home/fallen/.mc UNEXPECTED SOFT UPDATE INCONSISTENCY BAD TYPE VALUE FILE=/home/fallen/.mc UNEXPECTED SOFT UPDATE INCONSISTENCY DUP/BAD FILE=/home/fallen/.irssi UNEXPECTED SOFT UPDATE INCONSISTENCY BAD TYPE VALUE FILE=/home/fallen/.irssi UNEXPECTED SOFT UPDATE INCONSISTENCY UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE U NREF FILE UNREF FILE LINK COUNT DIRLINK COUNT DIRUNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF F ILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FI LE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FIL E UNREF FILE LINK COUNT FILEUNREF FILE UNREF FILE UNREF FILE LINK COUNT FILELINK COUNT DIRFREE BLK C OUNT(S) WRONG IN SUPERBLKSUMMARY INFORMATION BADBLK(S) MISSING IN BIT MAPS8852 files, 295095 used, 2 20964 free ** /dev/ad0s1h (NO WRITE) ** Last Mounted on /diskless ** Phase 1 - Check Blocks and Sizes CLEAR? no CLEAR? no ** Phase 2 - Check Pathnames I=87227 OWNER=root MODE=60071 SIZE=0 MTIME=Jan 1 02:00 1970 REMOVE? no I=87227 OWNER=root MODE=60071 SIZE=0 MTIME=Jan 1 02:00 1970 FIX? No I=87231 OWNER=1062905872 MODE=102313 SIZE=1061708166 MTIME=Jan 1 02:00 1970 REMOVE? no I=87231 OWNER=1062905872 MODE=102313 SIZE=1061708166 MTIME=Jan 1 02:00 1970 FIX? no I=87202 OWNER=root MODE=0 SIZE=0 MTIME=Oct 18 23:29 2003 REMOVE? no ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts I=21963 OWNER=bigbrother MODE=100644 SIZE=0 MTIME=Jun 10 17:16 2004 RECONNECT? no CLEAR? no I=21965 OWNER=bigbrother MODE=100644 SIZE=5376392 MTIME=Jun 9 01:33 2004 RECONNECT? no CLEAR? no I=21973 OWNER=bigbrother MODE=100644 SIZE=4016799 MTIME=Jun 9 01:37 2004 RECONNECT? no CLEAR? no I=21974 OWNER=bigbrother MODE=100644 SIZE=7213486 MTIME=Jun 9 01:38 2004 RECONNECT? No (snip.....this list continues for 2-3 pages) --- Give a man fire, and he'll be warm for a day; set a man on fire, and he'll be warm for the rest of his life