Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 2 Apr 2001 12:42:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 2 Apr 2001 12:42:27 -0400 Received: from carlsberg.amagerkollegiet.dk ([194.182.238.3]:53511 "EHLO carlsberg.amagerkollegiet.dk") by vger.kernel.org with ESMTP id ; Mon, 2 Apr 2001 12:42:12 -0400 Date: Mon, 2 Apr 2001 18:41:20 +0200 (CEST) From: =?iso-8859-1?Q?Rasmus_B=F8g_Hansen?= To: cc: ReiserFS Mailing List , Robert NEDBAL Subject: Re: ReiserFS - corrupted files (2.4.3) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hello I am getting musch the same types of corruption. I am on a K6-2 with a 30Gb IBM HD and 256Mb RAM running vanilla 2.4.3 with iptables and squid caching proxy. The problems arise on the cache part of the FS (i.e. with many file operations). I am considering using reiserfsck (3.x.0j) to fix it, but it has to wait until the morning - so in the meantime perhaps somebody can use the info about the corruptions? I have nowhere to back up my rather large (in comparison to other space on the box) cache, but if it goes lost in the process of rebuilding it, it does not matter so much. What should I do to help? I will try to debug the problem if necessary - should I turb on internal checks? On Mon, 2 Apr 2001, Robert NEDBAL wrote: > Hello, > I'm using ReiserFS on my primary filesystem and yesterday, I have found > that some files are corrupted. Yesterday I had to reset computer becase > X Window freezed. Maybe it caused this problem. > > This comes from log: [SNIP] My log goes much the same (although I have fewer errors - it seems to affect only few files): Mar 30 10:32:09 wiibroe kernel: reiserfs: checking transaction log (device 16:01) ... Mar 30 10:32:09 wiibroe kernel: Using r5 hash to sort names Mar 30 10:32:09 wiibroe kernel: ReiserFS version 3.6.25 [...] Apr 2 14:36:10 wiibroe kernel: is_leaf: item location seems wrong: *OLD*[1214 319934 0x8f1 DIRECT], item_len 0, item_location 0, free_space(entry_count) 2289 Apr 2 14:36:10 wiibroe kernel: vs-5150: search_by_key: invalid format found in block 132193. Fsck? Apr 2 14:36:10 wiibroe kernel: is_leaf: item location seems wrong: *OLD*[1214 319934 0x8f1 DIRECT], item_len 0, item_location 0, free_space(entry_count) 2289 Apr 2 14:36:10 wiibroe kernel: vs-5150: search_by_key: invalid format found in block 132193. Fsck? Apr 2 14:36:10 wiibroe kernel: vs-13050: reiserfs_update_sd: i/o failure occurred trying to update [1214 319936 0x0 SD] stat datais_leaf: item location seems wrong: *OLD*[1214 319934 0x8f1 DIRECT], item_len 0, item_location 0, free_space(entry_count) 2289 Apr 2 14:36:10 wiibroe kernel: vs-5150: search_by_key: invalid format found in block 132193. Fsck? Apr 2 14:36:10 wiibroe kernel: vs-: reiserfs_delete_solid_item: i/o failure occurred trying to delete [1214 319936 0x0 SD] [...] Apr 2 18:36:25 wiibroe kernel: vs-13042: reiserfs_read_inode2: [1020 271248 0x0 SD] not found Apr 2 18:36:25 wiibroe kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (1020 271248) not found Apr 2 18:36:50 wiibroe kernel: is_leaf: item location seems wrong: *OLD*[1214 319934 0x8f1 DIRECT], item_len 0, item_location 0, free_space(entry_count) 2289 Apr 2 18:36:50 wiibroe kernel: vs-5150: search_by_key: invalid format found in block 132193. Fsck? Apr 2 18:36:50 wiibroe kernel: vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [1214 319935 0x0 SD] Apr 2 18:36:50 wiibroe kernel: vs-13048: reiserfs_iget: bad_inode. Stat data of (1214 319935) not found > When I want to list corrupted directory, I get this: What I get is: root@wiibroe:/var/spool/squid# find /var/spool/squid/ -type f | xargs ls > /dev/null find: /var/spool/squid/01/C5/0001C5DA: Ingen s?dan fil eller filkatalog find: /var/spool/squid/01/C5/0001C5E6: Ingen s?dan fil eller filkatalog find: /var/spool/squid/03/F5/0003F5E9: Adgang n?gtet find: /var/spool/squid/04/B6/0004B6E0: Adgang n?gtet (Ingen s?dan fil eller filkatalog = No such file or directory Adgang n?gtet = Access denied) Rasmus B?g Hansen -- -- [ Rasmus 'M?ffe' B?g Hansen ] -------------------------------------- if (getenv(EDITOR) == "vim") {karma++}; --------------------------------- [ moffe at amagerkollegiet dot dk ] - - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/