* help recover filesystem corrupted by failing ide controller @ 2003-03-15 0:42 Pierre Abbat 2003-03-15 2:29 ` Manuel Krause 0 siblings, 1 reply; 10+ messages in thread From: Pierre Abbat @ 2003-03-15 0:42 UTC (permalink / raw) To: reiserfs-list Wednesday evening, my computer started giving weird errors. ls in a busy directory showed lots of garbled filenames. Within an hour it was unbootable. I called a friend and we went and swapped drives around; the computer wouldn't recognize either drive, and he suspected a motherboard problem. Today I got a loaner and put the drives in it; it recognized them both and booted right up. reiserfsck -x, however, showed lots of crosslinked files and other errors I don't understand. Attempting to cat .procmailrc hung cat. So I ran reiserfsck --rebuild-tree, which has worked for me before, and it made the filesystem unbootable. -x claims that lots of bitmaps are wrong. I haven't yet gotten the latest reiserfsck. The one I have is 3.x.0i from Mandrake 8.0 or 8.1. The reiserfs version in the kernel is 3.6.25; the filesystem is 3.5.x. Can I use debugreiserfs -p to dump the tree and recreate the filesystem on another disk? phma -- .i toljundi do .ibabo mi'afra tu'a do .ibabo damba do .ibabo do jinga ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: help recover filesystem corrupted by failing ide controller 2003-03-15 0:42 help recover filesystem corrupted by failing ide controller Pierre Abbat @ 2003-03-15 2:29 ` Manuel Krause 2003-03-15 2:43 ` Pierre Abbat 2003-03-16 0:17 ` Pierre Abbat 0 siblings, 2 replies; 10+ messages in thread From: Manuel Krause @ 2003-03-15 2:29 UTC (permalink / raw) To: Pierre Abbat; +Cc: reiserfs-list On 03/15/2003 01:42 AM, Pierre Abbat wrote: > Wednesday evening, my computer started giving weird errors. ls in a busy > directory showed lots of garbled filenames. Within an hour it was unbootable. > I called a friend and we went and swapped drives around; the computer > wouldn't recognize either drive, and he suspected a motherboard problem. > Today I got a loaner and put the drives in it; it recognized them both and > booted right up. reiserfsck -x, however, showed lots of crosslinked files and > other errors I don't understand. Attempting to cat .procmailrc hung cat. So I > ran reiserfsck --rebuild-tree, which has worked for me before, and it made > the filesystem unbootable. -x claims that lots of bitmaps are wrong. I > haven't yet gotten the latest reiserfsck. The one I have is 3.x.0i from > Mandrake 8.0 or 8.1. The reiserfs version in the kernel is 3.6.25; the > filesystem is 3.5.x. Can I use debugreiserfs -p to dump the tree and recreate > the filesystem on another disk? > > phma If you already did a --rebuild-tree with that _old_ (~2years!!!) reiserfsck I pray you have a backup somewhere. Try the latest -pre-release ftp://ftp.namesys.com/pub/reiserfsprogs/pre/reiserfsprogs-3.6.5-pre2.tar.gz that is said to have some bug fixes against the latest reiserfsprogs release ftp://ftp.namesys.com/pub/reiserfsprogs/reiserfsprogs-3.6.4.tar.gz and a plus of performance and this release link is only given in case you believe in release numbering itself. If you have problems with internet downloads I can send the package by mail to you. Try the prerelease reiserfsck /dev/disk/you/have and follow the instuctions. And, please, report back if errors remain. Best wishes, Manuel ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: help recover filesystem corrupted by failing ide controller 2003-03-15 2:29 ` Manuel Krause @ 2003-03-15 2:43 ` Pierre Abbat 2003-03-15 3:08 ` Manuel Krause 2003-03-15 8:21 ` Oleg Drokin 2003-03-16 0:17 ` Pierre Abbat 1 sibling, 2 replies; 10+ messages in thread From: Pierre Abbat @ 2003-03-15 2:43 UTC (permalink / raw) To: reiserfs-list On Friday 14 March 2003 21:29, Manuel Krause wrote: > If you already did a --rebuild-tree with that _old_ (~2years!!!) > reiserfsck I pray you have a backup somewhere. If I couldn't cat a single file without the cat hanging, how could I make a backup? > Try the latest -pre-release > ftp://ftp.namesys.com/pub/reiserfsprogs/pre/reiserfsprogs-3.6.5-pre2.tar.gz > > that is said to have some bug fixes against the latest reiserfsprogs > release > ftp://ftp.namesys.com/pub/reiserfsprogs/reiserfsprogs-3.6.4.tar.gz > > and a plus of performance and this release link is only given in case > you believe in release numbering itself. I have 3.6.4 on this laptop. I can modify the spell and recast it. Is it OK to copy the binary to the other box (they're both AMD processors) and run it? (The laptop is running Source Mage, the box with the trashed filesystem is running Mandrake.) ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: help recover filesystem corrupted by failing ide controller 2003-03-15 2:43 ` Pierre Abbat @ 2003-03-15 3:08 ` Manuel Krause 2003-03-15 8:21 ` Oleg Drokin 1 sibling, 0 replies; 10+ messages in thread From: Manuel Krause @ 2003-03-15 3:08 UTC (permalink / raw) To: Pierre Abbat; +Cc: reiserfs-list On 03/15/2003 03:43 AM, Pierre Abbat wrote: > On Friday 14 March 2003 21:29, Manuel Krause wrote: > >>If you already did a --rebuild-tree with that _old_ (~2years!!!) >>reiserfsck I pray you have a backup somewhere. > > > If I couldn't cat a single file without the cat hanging, how could I make a > backup? Sorry, Pierre, you should have done it 1 min. before this happened, err, regularily. I feel with you. Try upgrading the kernel when this is fixed and check your hardware is o.k., before. >>Try the latest -pre-release >>ftp://ftp.namesys.com/pub/reiserfsprogs/pre/reiserfsprogs-3.6.5-pre2.tar.gz >> >>that is said to have some bug fixes against the latest reiserfsprogs >>release >>ftp://ftp.namesys.com/pub/reiserfsprogs/reiserfsprogs-3.6.4.tar.gz >> >>and a plus of performance and this release link is only given in case >>you believe in release numbering itself. > > > I have 3.6.4 on this laptop. I can modify the spell and recast it. Is it OK to > copy the binary to the other box (they're both AMD processors) and run it? > (The laptop is running Source Mage, the box with the trashed filesystem is > running Mandrake.) > Modify spell? Recast? Source Mage? Mmh. You can try running the old binary. Depending on the corresponding libs it will work. If not - try a new thing. And don't use it on the old system before you are sure to have the failures' reason: old old kernel, old old FS etc. I refer to the following mail on this list I'll cite below mostly for the compiler-flag you'll need for a possibly needed independent binary -- so, choose your poison! Manuel ----> On Tuesday 28 January 2003 05:41, Francois-Rene Rideau wrote: > Dear all, > > to determine whether my DMA problem was due to the disk or the motherboard, > I moved the disk to another machine, where I could successfully > hdparm -Tt /dev/hdc without crashing linux while in udma2. > However, when I put the disk back into its rightful place, > linux died horribly with lots of error messages from reiserfs. > I booted on /boot where I had kept a minimal runtime, and used reiserfsck. > Reiserfsck reported an inconsistency that required using --rebuild-tree. > And after approximately two hours, reiserfsck --rebuild-tree entered > an endless loop, printing > do_pass_2: The block (27179935) is in the tree already. Should not happen. looks like progs were compiled with other libs. Could you rebuild progs where you booted again or link them statically: make LDFLAGS='-static' and try agan. > Is there anything I can do about that, to put it in working order, > or should I reformat and restore what I can from backup? > > I've got a distinct feeling this disk will soon go back to MAXTOR, > just like its twin brother. > > [ Fran?ois-Ren? ?VB Rideau | Reflection&Cybernethics | > http://fare.tunes.org ] [ TUNES project for a Free Reflective Computing > System | http://tunes.org ] http://Bastiat.org/ - debunking economic > sophisms since 1845. -- Thanks, Vitaly Fertman <---- ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: help recover filesystem corrupted by failing ide controller 2003-03-15 2:43 ` Pierre Abbat 2003-03-15 3:08 ` Manuel Krause @ 2003-03-15 8:21 ` Oleg Drokin 1 sibling, 0 replies; 10+ messages in thread From: Oleg Drokin @ 2003-03-15 8:21 UTC (permalink / raw) To: Pierre Abbat; +Cc: reiserfs-list Hello! On Fri, Mar 14, 2003 at 09:43:58PM -0500, Pierre Abbat wrote: > > If you already did a --rebuild-tree with that _old_ (~2years!!!) > > reiserfsck I pray you have a backup somewhere. > If I couldn't cat a single file without the cat hanging, how could I make a > backup? You could have made a copy of whole partition with dd. > I have 3.6.4 on this laptop. I can modify the spell and recast it. Is it OK to > copy the binary to the other box (they're both AMD processors) and run it? We saw some reports about problems arising if glibc is notably different. So you should either gave statically linked reiserfsck or run in on the system close to one where reiserfsck was built. Bye, Oleg ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: help recover filesystem corrupted by failing ide controller 2003-03-15 2:29 ` Manuel Krause 2003-03-15 2:43 ` Pierre Abbat @ 2003-03-16 0:17 ` Pierre Abbat 2003-03-16 0:34 ` Manuel Krause 1 sibling, 1 reply; 10+ messages in thread From: Pierre Abbat @ 2003-03-16 0:17 UTC (permalink / raw) To: reiserfs-list On Friday 14 March 2003 21:29, Manuel Krause wrote: > Try the latest -pre-release > ftp://ftp.namesys.com/pub/reiserfsprogs/pre/reiserfsprogs-3.6.5-pre2.tar.gz > > that is said to have some bug fixes against the latest reiserfsprogs > release > ftp://ftp.namesys.com/pub/reiserfsprogs/reiserfsprogs-3.6.4.tar.gz > > and a plus of performance and this release link is only given in case > you believe in release numbering itself. I just compiled the prerelease and will try it first on /var, which is equally corrupted (the computer was getting a lot of mail and I use Maildir). The glibc versions differ, so I'd like to build it statically. How do I do this? ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: help recover filesystem corrupted by failing ide controller 2003-03-16 0:17 ` Pierre Abbat @ 2003-03-16 0:34 ` Manuel Krause 2003-03-16 1:13 ` Pierre Abbat 0 siblings, 1 reply; 10+ messages in thread From: Manuel Krause @ 2003-03-16 0:34 UTC (permalink / raw) To: Pierre Abbat; +Cc: reiserfs-list On 03/16/2003 01:17 AM, Pierre Abbat wrote: > On Friday 14 March 2003 21:29, Manuel Krause wrote: > >>Try the latest -pre-release >>ftp://ftp.namesys.com/pub/reiserfsprogs/pre/reiserfsprogs-3.6.5-pre2.tar.gz >> >>that is said to have some bug fixes against the latest reiserfsprogs >>release >>ftp://ftp.namesys.com/pub/reiserfsprogs/reiserfsprogs-3.6.4.tar.gz >> >>and a plus of performance and this release link is only given in case >>you believe in release numbering itself. > > I just compiled the prerelease and will try it first on /var, which is equally > corrupted (the computer was getting a lot of mail and I use Maildir). The > glibc versions differ, so I'd like to build it statically. How do I do this? I wanted to have written this in my mails yesterday night. You'll need to process make LDFLAGS='-static' or have this LDFLAGS set somewhere in the Makefile what I can't tell anything more about. Maybe Oleg & Company can if that command doesn't work. Best wishes, Manuel ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: help recover filesystem corrupted by failing ide controller 2003-03-16 0:34 ` Manuel Krause @ 2003-03-16 1:13 ` Pierre Abbat 2003-03-16 15:33 ` Vitaly Fertman 0 siblings, 1 reply; 10+ messages in thread From: Pierre Abbat @ 2003-03-16 1:13 UTC (permalink / raw) To: reiserfs-list On Saturday 15 March 2003 19:34, Manuel Krause wrote: > You'll need to process > > make LDFLAGS='-static' > > or have this LDFLAGS set somewhere in the Makefile what I can't tell > anything more about. Maybe Oleg & Company can if that command doesn't work. Did that and had to scp it because the programs were too big for a floppy. It said: reiserfs_open_journal: journal parameters from super block does not match to journal parameters from journal. As I can mount /var, what's wrong? Does reiserfsck 3.6 not work on a 3.5 filesystem? phma -- .i toljundi do .ibabo mi'afra tu'a do .ibabo damba do .ibabo do jinga ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: help recover filesystem corrupted by failing ide controller 2003-03-16 1:13 ` Pierre Abbat @ 2003-03-16 15:33 ` Vitaly Fertman 2003-03-16 23:48 ` Pierre Abbat 0 siblings, 1 reply; 10+ messages in thread From: Vitaly Fertman @ 2003-03-16 15:33 UTC (permalink / raw) To: Pierre Abbat; +Cc: reiserfs-list Hi, > reiserfs_open_journal: journal parameters from super block does not match > to journal parameters from journal. There is a new check for journal parameters were added which helps to recover fs with relocated journal and in a few other cases. These parameters were not stored correctly in old kernels before relocated journal appeared. This is nothing to worry about, and you can fix with fsck --rebuild-sb help - say there to fix parameters in the jouranl by ones from the super block. -- Thanks, Vitaly Fertman ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: help recover filesystem corrupted by failing ide controller 2003-03-16 15:33 ` Vitaly Fertman @ 2003-03-16 23:48 ` Pierre Abbat 0 siblings, 0 replies; 10+ messages in thread From: Pierre Abbat @ 2003-03-16 23:48 UTC (permalink / raw) To: reiserfs-list On Sunday 16 March 2003 10:33, Vitaly Fertman wrote: > Hi, > > > reiserfs_open_journal: journal parameters from super block does not match > > to journal parameters from journal. > > There is a new check for journal parameters were added which helps to > recover fs with relocated journal and in a few other cases. These > parameters were not stored correctly in old kernels before relocated > journal appeared. This is nothing to worry about, and you can fix with fsck > --rebuild-sb help - say there to fix parameters in the jouranl by ones from > the super block. Thanks. I successfully refscked /var and /home and the computer is up and running. phma -- .i toljundi do .ibabo mi'afra tu'a do .ibabo damba do .ibabo do jinga ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-03-16 23:48 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-03-15 0:42 help recover filesystem corrupted by failing ide controller Pierre Abbat 2003-03-15 2:29 ` Manuel Krause 2003-03-15 2:43 ` Pierre Abbat 2003-03-15 3:08 ` Manuel Krause 2003-03-15 8:21 ` Oleg Drokin 2003-03-16 0:17 ` Pierre Abbat 2003-03-16 0:34 ` Manuel Krause 2003-03-16 1:13 ` Pierre Abbat 2003-03-16 15:33 ` Vitaly Fertman 2003-03-16 23:48 ` Pierre Abbat
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.