BUG: reiserfsck --check fails exit status=6

2006-06-19 Thread Masthan, Dudekula (STSD)


Hi,

I am using SUSE 10 beta version. I ran reiserfsck command with the
following options


   reiserfsck --check -q -y -n /dev/sdb1  21
   
O/p of the command look like this.

 reiserfsck 3.6.19 (2003 www.namesys.com)
   
* If you are using the latest reiserfsprogs and  it
fails **
* please  email bug reports to
reiserfs-list@namesys.com, **
* providing  as  much  information  as  possible --
your **
* hardware,  kernel,  patches,  settings,  all
reiserfsck **
* messages  (including version),  the reiserfsck
logfile, **
* check  the  syslog file  for  any  related
information. **
* If you would like advice on using this program,
support **
* is available  for $25 at
www.namesys.com/support.html. **
 
*
Will read-only check consistency of the filesystem on
/dev/sdb1
Will put log info to 'stdout'
reiserfsck --check started at Mon May 29 13:16:40 2006
Relaying journal..
Reiserfs journal '/dev/sdb1' in blocks [18..8211]: 0
transactions replayed
checking internal tree..finished
Comparing bitmaps..Checking Semantic tree:
finished
26 found corruptions can be fixed when running with
--fix-fixable
reiserfsck finished at Mon May 29 13:16:44 2006
 
   reiserfsck exit status = 6


Can any one Explain this ..Why it happened ?

Your help is appreciated
Regards,
Masthan 


Try to fix a broken ReiserFS / Data Recovering?

2006-06-19 Thread Lars Wolff

Hi there,

i am very new to this list, i just signed up today, because i got some 
problems with a broken ReiserFS since yesterday.


_The problem_
Yesterday my Router/Server (Suse Linux 8.1, 40GB IDE HDD with ReiserFS) 
hang up. After a reboot it only starts to load stage2 of Grub, which 
fails and ends up in the grub minimal bash.


_What i do to resolve the problem_
I downloaded the Suse Live-CD 9.1 and did a clean boot from it. I Try to 
mount the volume, what end up with Falscher Dateisystemtyp, ungültige 
Optionen, der »Superblock« von /dev/hdb2 ist beschädigt oder es sind

zu viele Dateisysteme eingehängt (=corrupt superblock)

Then I tried reiserFs Check wich ends up in: Bad root block 0. 
(--rebuild-tree did not complete).


Ok, i followed the instructions in the following bad block info text 
and did a reiserFs -B badblocksfile --rebuild-tree. Wich aborts and said 
badblock in .


Right now i am doing a complete Backup image with dd_rescue, after this 
i would like to run /sbin/badblocks, as explained in the Faq 
(http://www.namesys.com/bad-block-handling.html) and run then reiserfs 
-B again.


_My Questions_
- Am i right in doing these actions to try to resolve the problem of my 
harddisk, and HOPEFULLY to recover the Data?


- Is there anything i should try/do else?

- Do you now somebody/any company, wich do a real data-recovering von 
ReiserFS Disk? Its only 40GB but there are some data on it wich are very 
important. (don't ask after the backups, they broke last week on the 
extern hdd! :(( )


Hopefully you guys can help me,
thanks a lot :)

Lars


Re: Try to fix a broken ReiserFS / Data Recovering?

2006-06-19 Thread Vladimir V. Saveliev
Hello

On Mon, 2006-06-19 at 11:28 +0200, Lars Wolff wrote:
 Hi there,
 
 i am very new to this list, i just signed up today, because i got some 
 problems with a broken ReiserFS since yesterday.
 
 _The problem_
 Yesterday my Router/Server (Suse Linux 8.1, 40GB IDE HDD with ReiserFS) 
 hang up. After a reboot it only starts to load stage2 of Grub, which 
 fails and ends up in the grub minimal bash.
 
 _What i do to resolve the problem_
 I downloaded the Suse Live-CD 9.1 and did a clean boot from it. I Try to 
 mount the volume, what end up with Falscher Dateisystemtyp, ungültige 
 Optionen, der »Superblock« von /dev/hdb2 ist beschädigt oder es sind
 zu viele Dateisysteme eingehängt (=corrupt superblock)
 
 Then I tried reiserFs Check wich ends up in: Bad root block 0. 
 (--rebuild-tree did not complete).
 
 Ok, i followed the instructions in the following bad block info text 
 and did a reiserFs -B badblocksfile --rebuild-tree. Wich aborts and said 
 badblock in .
 
 Right now i am doing a complete Backup image with dd_rescue, after this 
 i would like to run /sbin/badblocks, as explained in the Faq 
 (http://www.namesys.com/bad-block-handling.html) and run then reiserfs 
 -B again.
 
 _My Questions_
 - Am i right in doing these actions to try to resolve the problem of my 
 harddisk, and HOPEFULLY to recover the Data?
 

after dd_rescue completes - please run reiserfsck (3.6.19, without any
options but filename) on backup image and let us know what it says.

 - Is there anything i should try/do else?
 
 - Do you now somebody/any company, wich do a real data-recovering von 
 ReiserFS Disk? Its only 40GB but there are some data on it wich are very 
 important. (don't ask after the backups, they broke last week on the 
 extern hdd! :(( )
 
 Hopefully you guys can help me,
 thanks a lot :)
 
 Lars
 



RE: Try to fix a broken ReiserFS / Data Recovering?

2006-06-19 Thread Masthan, Dudekula (STSD)


Hi,

The following paragraph is snippet of reiserfsck man page.

AN EXAMPLE OF USING reiserfsck
 
1. You think something may be wrong with a reiserfs partition on 
/dev/hda1 or you would just like to perform a periodic disk check.  
  
2. Run reiserfsck --check --logfile check.log /dev/hda1. If reiserfsck 
--check exits with status 0 it means no errors were discovered.   
  
3. If reiserfsck --check exits with status 1 (and reports about fixable 
corruptions) it means that you should run reiserfsck --fix-fixable --logfile 
fixable.log /dev/hda1.  
  
4. If reiserfsck --check exits with status 2 (and reports about fatal 
corruptions) it means that you need to run reiserfsck --rebuild-tree. If 
reiserfsck --check fails in some way you should also run reiserfsck 
--rebuild-tree, but we also encourage you to submit this as a bug report. 
  
5. Before running reiserfsck --rebuild-tree, please make a backup of 
the whole partition before proceeding. Then run reiserfsck --rebuild-tree 
--logfile rebuild.log /dev/hda1.  
  
6. If the reiserfsck --rebuild-tree step fails or does not recover what 
you expected, please submit this as a bug report. Try to provide as much 
information as possible including your platform and Linux kernel version. We 
will try to help solve the problem.

EXIT CODES
 
reiserfsck uses the following exit codes:
0 - No errors.
1 - File system errors corrected.
2 - Reboot is needed.
4 - File system fatal errors left uncorrected,
reiserfsck --rebuild-tree needs to be launched.
6 - File system fixable errors left uncorrected,
reiserfsck --fix-fixable needs to be launched.
8 - Operational error.
16 - Usage or syntax error.  

AUTHOR
 
This version of reiserfsck has been written by Vitaly Fertman [EMAIL 
PROTECTED].   

BUGS
 
Please report bugs to the ReiserFS developers [EMAIL PROTECTED], 
providing as much information as possible--your hardware, kernel, patches, 
settings, all printed messages, the logfile; check the syslog file for any 
related information.

TODO
 
Faster recovering, signal handling.  

From the fourth point What I understood is, failure of   reiserfsck --check  
 with error code other than 1 and 2 is a bug. Is it correct ?

And the last table tells that reiserfsck still not hadling signals. Is it 
correct ?





Regards,
Masthan
 

-Original Message-
From: Vladimir V. Saveliev [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 19, 2006 5:58 PM
To: Lars Wolff
Cc: reiserfs-list@namesys.com
Subject: Re: Try to fix a broken ReiserFS / Data Recovering?

Hello

On Mon, 2006-06-19 at 11:28 +0200, Lars Wolff wrote:
 Hi there,
 
 i am very new to this list, i just signed up today, because i got some 
 problems with a broken ReiserFS since yesterday.
 
 _The problem_
 Yesterday my Router/Server (Suse Linux 8.1, 40GB IDE HDD with 
 ReiserFS) hang up. After a reboot it only starts to load stage2 of 
 Grub, which fails and ends up in the grub minimal bash.
 
 _What i do to resolve the problem_
 I downloaded the Suse Live-CD 9.1 and did a clean boot from it. I Try 
 to mount the volume, what end up with Falscher Dateisystemtyp, 
 ungültige Optionen, der »Superblock« von /dev/hdb2 ist beschädigt oder 
 es sind zu viele Dateisysteme eingehängt (=corrupt superblock)
 
 Then I tried reiserFs Check wich ends up in: Bad root block 0. 
 (--rebuild-tree did not complete).
 
 Ok, i followed the instructions in the following bad block info text 
 and did a reiserFs -B badblocksfile --rebuild-tree. Wich aborts and 
 said badblock in .
 
 Right now i am doing a complete Backup image with dd_rescue, after 
 this i would like to run /sbin/badblocks, as explained in the Faq
 (http://www.namesys.com/bad-block-handling.html) and run then reiserfs 
 -B again.
 
 _My Questions_
 - Am i right in doing these actions to try to resolve the problem of 
 my harddisk, and HOPEFULLY to recover the Data?
 

after dd_rescue completes - please run reiserfsck (3.6.19, without any options 
but filename) on backup image and let us know what it says.

 - Is there anything i should try/do else?
 
 - Do you now somebody/any company, wich do a real data-recovering von 
 ReiserFS Disk? Its only 40GB but there are some data on it wich are 
 very important. (don't ask after the backups, they broke last week on 
 the extern hdd! :(( )
 
 Hopefully you guys can help me,
 thanks a lot :)
 
 Lars
 



Re: BUG: reiserfsck --check fails exit status=6

2006-06-19 Thread Vladimir V. Saveliev
Hello

On Mon, 2006-06-19 at 14:50 +0530, Masthan, Dudekula (STSD) wrote:
 
 Hi,
 
 I am using SUSE 10 beta version. I ran reiserfsck command with the
 following options
 
 
reiserfsck --check -q -y -n /dev/sdb1  21

 O/p of the command look like this.
 
  reiserfsck 3.6.19 (2003 www.namesys.com)

 * If you are using the latest reiserfsprogs and  it
 fails **
 * please  email bug reports to
 reiserfs-list@namesys.com, **
 * providing  as  much  information  as  possible --
 your **
 * hardware,  kernel,  patches,  settings,  all
 reiserfsck **
 * messages  (including version),  the reiserfsck
 logfile, **
 * check  the  syslog file  for  any  related
 information. **
 * If you would like advice on using this program,
 support **
 * is available  for $25 at
 www.namesys.com/support.html. **
  
 *
 Will read-only check consistency of the filesystem on
 /dev/sdb1
 Will put log info to 'stdout'
 reiserfsck --check started at Mon May 29 13:16:40 2006
 Relaying journal..
 Reiserfs journal '/dev/sdb1' in blocks [18..8211]: 0
 transactions replayed
 checking internal tree..finished
 Comparing bitmaps..Checking Semantic tree:
 finished
 26 found corruptions can be fixed when running with
 --fix-fixable
 reiserfsck finished at Mon May 29 13:16:44 2006
  
reiserfsck exit status = 6
 
 
 Can any one Explain this ..

reiserfsck has 3 major modes.
By default (or with --check) it checks filesystem and either says that
everything is ok, or reiserfsck has to be run with --fix-fixable (when
filesystem can be fixed without tree rebuiling) or with --rebuild-tree
when corruptions can be recovered only via complete tree rebuild.

 Why it happened ?
 

Can you re-run reiserfsck --check without -n and with -l logfile and let
us see what you get in logfile?

 Your help is appreciated
 Regards,
 Masthan 
 



RE: BUG: reiserfsck --check fails exit status=6

2006-06-19 Thread Masthan, Dudekula (STSD)
Hi Vladimir,

Thanks for your help . Now it is running fine..

Regards,
Masthan 

-Original Message-
From: Vladimir V. Saveliev [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 19, 2006 6:13 PM
To: Masthan, Dudekula (STSD)
Cc: reiserfs-list@namesys.com
Subject: Re: BUG: reiserfsck --check fails exit status=6

Hello

On Mon, 2006-06-19 at 14:50 +0530, Masthan, Dudekula (STSD) wrote:
 
 Hi,
 
 I am using SUSE 10 beta version. I ran reiserfsck command with the 
 following options
 
 
reiserfsck --check -q -y -n /dev/sdb1  21

 O/p of the command look like this.
 
  reiserfsck 3.6.19 (2003 www.namesys.com)

 * If you are using the latest reiserfsprogs and  it 
 fails **
 * please  email bug reports to 
 reiserfs-list@namesys.com, **
 * providing  as  much  information  as  possible -- 
 your **
 * hardware,  kernel,  patches,  settings,  all 
 reiserfsck **
 * messages  (including version),  the reiserfsck 
 logfile, **
 * check  the  syslog file  for  any  related 
 information. **
 * If you would like advice on using this program, 
 support **
 * is available  for $25 at 
 www.namesys.com/support.html. **
  
 *
 Will read-only check consistency of the filesystem on
 /dev/sdb1
 Will put log info to 'stdout'
 reiserfsck --check started at Mon May 29 13:16:40 2006
 Relaying journal..
 Reiserfs journal '/dev/sdb1' in blocks [18..8211]: 0 
 transactions replayed
 checking internal tree..finished
 Comparing bitmaps..Checking Semantic tree:
 finished
 26 found corruptions can be fixed when running with 
 --fix-fixable
 reiserfsck finished at Mon May 29 13:16:44 2006
  
reiserfsck exit status = 6
 
 
 Can any one Explain this ..

reiserfsck has 3 major modes.
By default (or with --check) it checks filesystem and either says that
everything is ok, or reiserfsck has to be run with --fix-fixable (when
filesystem can be fixed without tree rebuiling) or with --rebuild-tree
when corruptions can be recovered only via complete tree rebuild.

 Why it happened ?
 

Can you re-run reiserfsck --check without -n and with -l logfile and let
us see what you get in logfile?

 Your help is appreciated
 Regards,
 Masthan
 



You can earn an extra money

2006-06-19 Thread Francesco Carusi

Dear Sir/Madam, place high emphasis to our exclusive business proposal!
Company AntiVirus Soft Inc. looking for home managers from Spain. Weekly 
salary about 1500-2500 EUR.
More information you can get if you write to us. E-mails with CV are 
preferred!

Best Regards,
Francesco Carusi, director AntiVirus Soft Inc.

e-mail: [EMAIL PROTECTED]
Tel\fax: +390680380036 





Re: Backup solution

2006-06-19 Thread Tom Vier
On Sun, Jun 18, 2006 at 10:12:14PM +0200, Gert wrote:
 Dunno if this is the right place to ask but does anyone know of any Open
 Source solutions that can back up Reiser/Ext3 on OES Linux and NSS on OES
 NW?

I use the standard gnu tar -g (incremental mode). Works well for me. Search
freshmeat.net for backup.

-- 
Tom Vier [EMAIL PROTECTED]
DSA Key ID 0x15741ECE


Re: Try to fix a broken ReiserFS / Data Recovering?

2006-06-19 Thread Clemens Eisserer

I had this problem too with older SuSE versions (7.? - 8.?), its a
shame that nobody found this bug for such a long time.

I too saw the same behaviour you described, but for me it has always
helped to just re-install grub. Boot up with a rescue-cd and simply
re-install grub or use yast to do so.

But maybe your problem is different and its quite unlikly to work now
that reiserfschk boild out :-/

lg Clemens

2006/6/19, Lars Wolff [EMAIL PROTECTED]:

Hi Vladimir!

Thanks for your Reply!!!

 _My Questions_
 - Am i right in doing these actions to try to resolve the problem of my
 harddisk, and HOPEFULLY to recover the Data?

 after dd_rescue completes - please run reiserfsck (3.6.19, without any
 options but filename) on backup image and let us know what it says.

i did i as explained here:
http://martian.org/marty/2003/09/05/reiserfs-filesystem-recovery

- dd_rescue finished
- i set up a loop device with the image
- then i start reiserfsck --check, it breaks up with rebuild-tree not
finished
- then i start reiserfsck with --rebuild-tree
- and now its at pass 3 (and in pass 2 i saw the most importatn
directory's and files i need)

i am still wating and have always a look on the screen ;)

further infos in a few minutes

thanks  take care!
Lars