From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IUuQl-0007fD-Cq for garchives@archives.gentoo.org; Tue, 11 Sep 2007 01:20:44 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l8B1CLEP030157; Tue, 11 Sep 2007 01:12:21 GMT Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l8B17mTT025212 for ; Tue, 11 Sep 2007 01:07:48 GMT Received: by fk-out-0910.google.com with SMTP id 19so2480674fkr for ; Mon, 10 Sep 2007 18:07:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=NYjDpELWFogmmj9y+sMJX/Znhe0C+zo5fhWl5aqKbzM=; b=gCSDFx9eBSLtaYvYnhe/Sj/4f2qKUe6vzTXqvlZja48MkOhjVcRv6k05c1JaQAksf5T9e2zn3oxvTZxaS95wNtJF27mT2m7kl7C4iIuPpCVTz0xT5zy1jAiyEaW91RF2xi9ex6zjSYDfLJHr2689yxXHJo5jkv9vMovmXpn/gIU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=IYkPtQlKlkIC2UIIslxf68tcQuXHqQXlg6lOyq/hzCgEp4VeJrafy+O/dodl4WUWWiBx4uKIRrgoWSB/uRF4S8O/tO69ZiqzFRw8Lu3BcY6vymhXKKbpI1ALtLvimmLxuH3tCzdXJSeVOmGD3syh6rDLY/3Xh2cxIbyEOsXMMF0= Received: by 10.82.172.10 with SMTP id u10mr5596651bue.1189472867459; Mon, 10 Sep 2007 18:07:47 -0700 (PDT) Received: by 10.82.105.4 with HTTP; Mon, 10 Sep 2007 18:07:47 -0700 (PDT) Message-ID: Date: Mon, 10 Sep 2007 22:07:47 -0300 From: "Jorge Peixoto de Morais Neto" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Corruption in reiserfs partition In-Reply-To: <200709090346.44085.volker.armin.hemmann@tu-clausthal.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_123_19484752.1189472867459" References: <200709082214.17041.volker.armin.hemmann@tu-clausthal.de> <200709090346.44085.volker.armin.hemmann@tu-clausthal.de> X-Archives-Salt: 25c27b02-25aa-4ebc-b123-566e54ba6abe X-Archives-Hash: ea80e81b08e515ab1d35f27ddda5ac5b ------=_Part_123_19484752.1189472867459 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline > Do you think that there is any plausible chance that using the partition > > might cause further damage? > > if there isn't a hardware problem - very probably not. I have had very > good > experiences with reiserfsck (for 3.6) and fsck.reiser4 (with reiser4). If > the > fs got fixed, it is fixed. > If the disk is damaged, than reinstalling from scratch won't help you > anyway. I realized that the damaged files were filled with nulls, so I made a script that detected null-filled files across my filesystem. There are some 250 files like this. Here are some: /media/hda2/bin/du: 59084 /media/hda2/bin/rm: 34100 /media/hda2/bin/tr: 27492 /media/hda2/bin/wc: 23108 /media/hda2/bin/dir: 79420 /media/hda2/bin/cut: 27048 /media/hda2/bin/env: 13436 /media/hda2/bin/seq: 17740 /media/hda2/bin/tty: 12800 /media/hda2/bin/yes: 12876 /media/hda2/bin/expr: 23336 /media/hda2/bin/head: 24516 /media/hda2/bin/sort: 65168 /media/hda2/bin/stty: 37380 /media/hda2/bin/sync: 12584 /media/hda2/bin/true: 12200 /media/hda2/bin/vdir: 79420 /media/hda2/bin/dirname: 13836 /media/hda2/bin/rmdir: 14684 /media/hda2/bin/sleep: 14772 /media/hda2/bin/touch: 34328 /media/hda2/bin/uname: 15316 /media/hda2/bin/chroot: 13500 /media/hda2/bin/mkfifo: 14644 /media/hda2/bin/readlink: 18988 /media/hda2/bin/basename: 13772 /media/hda2/etc/enlightenment/sysactions.conf: 2964 /media/hda2/etc/laptop-mode/laptop-mode.conf: 15916 /media/hda2/etc/laptop-mode/lm-profiler.conf: 1561 /media/hda2/etc/portage/package.keywords/wanted~: 796 /media/hda2/var/lib/scrollkeeper/scrollkeeper_docs: 1812 /media/hda2/usr/lib/aspell-0.60/nroff-filter.info: 232 /media/hda2/usr/lib/aspell-0.60/iso-8859-1.cset: 13848 /media/hda2/usr/lib/aspell-0.60/iso-8859-2.cset: 14133 /media/hda2/usr/lib/aspell-0.60/cp1250.cmap: 31404 /media/hda2/usr/lib/aspell-0.60/cp1252.cset: 14039 /media/hda2/usr/lib/aspell-0.60/cp1253.cset: 13682 /media/hda2/usr/lib/aspell-0.60/iso-8859-8.cmap: 27758 /media/hda2/usr/lib/aspell-0.60/iso-8859-8.cset: 12557 /media/hda2/usr/lib/aspell-0.60/cp1255.cmap: 35133 /media/hda2/usr/lib/aspell-0.60/cp1256.cset: 13307 /media/hda2/usr/lib/aspell-0.60/cp1257.cmap: 31235 /media/hda2/usr/lib/aspell-0.60/cp1258.cset: 13920 /media/hda2/usr/lib/aspell-0.60/context-filter.so: 26976 /media/hda2/usr/lib/aspell-0.60/iso-8859-10.cmap: 31046 /media/hda2/usr/lib/aspell-0.60/iso-8859-10.cset: 14259 /media/hda2/usr/lib/aspell-0.60/texinfo-filter.info: 914 Most of these things are not essential; the big exception is the things in /bin. So it does seem that the system is fixable. Something else that I wanted to ask: this backup that I made after the screwup but before rebuild-tree, do you think it is reliable? -- Software is like sex: it is better when it is free. ------=_Part_123_19484752.1189472867459 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline > Do you think that there is any plausible chance that using the partition
> might cause further damage?

if there isn't a hardware problem - very probably not. I have had very good
experiences with reiserfsck (for 3.6) and fsck.reiser4 (with reiser4). If the
fs got fixed, it is fixed.
If the disk is damaged, than reinstalling from scratch won't help you anyway.

I realized that the damaged files were filled with nulls, so  I made a script that detected  null-filled files across my filesystem.  There are some 250 files like this. Here are some:

/media/hda2/bin/du: 59084
/media/hda2/bin/rm: 34100
/media/hda2/bin/tr: 27492
/media/hda2/bin/wc: 23108
/media/hda2/bin/dir: 79420
/media/hda2/bin/cut: 27048
/media/hda2/bin/env: 13436
/media/hda2/bin/seq: 17740
/media/hda2/bin/tty: 12800
/media/hda2/bin/yes: 12876
/media/hda2/bin/expr: 23336
/media/hda2/bin/head: 24516
/media/hda2/bin/sort: 65168
/media/hda2/bin/stty: 37380
/media/hda2/bin/sync: 12584
/media/hda2/bin/true: 12200
/media/hda2/bin/vdir: 79420
/media/hda2/bin/dirname: 13836
/media/hda2/bin/rmdir: 14684
/media/hda2/bin/sleep: 14772
/media/hda2/bin/touch: 34328
/media/hda2/bin/uname: 15316
/media/hda2/bin/chroot: 13500
/media/hda2/bin/mkfifo: 14644
/media/hda2/bin/readlink: 18988
/media/hda2/bin/basename: 13772
/media/hda2/etc/enlightenment/sysactions.conf: 2964
/media/hda2/etc/laptop-mode/laptop-mode.conf: 15916
/media/hda2/etc/laptop-mode/lm-profiler.conf : 1561
/media/hda2/etc/portage/package.keywords/wanted~: 796
/media/hda2/var/lib/scrollkeeper/scrollkeeper_docs: 1812
/media/hda2/usr/lib/aspell-0.60/nroff-filter.info: 232
/media/hda2/usr/lib/aspell- 0.60/iso-8859-1.cset: 13848
/media/hda2/usr/lib/aspell-0.60/iso-8859-2.cset: 14133
/media/hda2/usr/lib/aspell-0.60/cp1250.cmap: 31404
/media/hda2/usr/lib/aspell-0.60/cp1252.cset: 14039
/media/hda2/usr/lib/aspell- 0.60/cp1253.cset: 13682
/media/hda2/usr/lib/aspell-0.60/iso-8859-8.cmap: 27758
/media/hda2/usr/lib/aspell-0.60/iso-8859-8.cset: 12557
/media/hda2/usr/lib/aspell-0.60/cp1255.cmap: 35133
/media/hda2/usr/lib/aspell- 0.60/cp1256.cset: 13307
/media/hda2/usr/lib/aspell-0.60/cp1257.cmap: 31235
/media/hda2/usr/lib/aspell-0.60/cp1258.cset: 13920
/media/hda2/usr/lib/aspell-0.60/context-filter.so: 26976
/media/hda2/usr/lib/aspell- 0.60/iso-8859-10.cmap: 31046
/media/hda2/usr/lib/aspell-0.60/iso-8859-10.cset: 14259
/media/hda2/usr/lib/aspell-0.60/texinfo-filter.info: 914


Most of these things are not essential; the big exception is the things in /bin. So it does seem that the system is fixable.
Something else that I wanted to ask: this backup that I made after the screwup but before rebuild-tree, do you think it is reliable?

--
Software is like sex: it is better when it is free. ------=_Part_123_19484752.1189472867459-- -- gentoo-user@gentoo.org mailing list