All of lore.kernel.org
 help / color / mirror / Atom feed
* a hosed reiserfs
@ 2004-06-25 15:52 Bruce Israel
  2004-06-25 16:06 ` Vitaly Fertman
  2004-06-25 16:48 ` Dieter Nützel
  0 siblings, 2 replies; 26+ messages in thread
From: Bruce Israel @ 2004-06-25 15:52 UTC (permalink / raw)
  To: reiserfs-list

OK, I've been hosed.  I had a disk crash, and my ReiserFS /home partition
doesn't mount (/dev/hdf8 on my machine).

When I ran reiserfsck on it, I got an message saying it's a hardware
problem, with an I/O error that it can't read a block (output included
below).

I don't really care about the disk (an 80 GB Western Digital), even though
I bought it within the past year, but I really want to get the data off of
it.

Even though reiserfsck says there's a hardware problem on hdf8, I boot just
fine from that disk (using hdf1 and hdf7, my /boot and / partitions, both
ext3), and I can also successfully mount and read hdf9, another ReiserFS
partion.

I installed a new disk that I'm booting off of until I can figure out how
to deal with this and not screw things further.

I tried to follow the instructions in
http://namesys.com/bad-block-handling.html by copying the partition using
"dd_rescue /dev/hdf8 /home/bad-partition" (where /home is on the new disk).
It ran for a while and created a 4.5 GB file (it's a 20 GB partition, about
15GB used) and then hung my system (completely, couldn't switch VCs, no
other shells responding, etc.).  After powercycling I did it again, and got
the EXACT same behaviour, down to the exact same number of characters
copied into the 4.5GB output file.

It also tried giving dd_rescue that byte count as the starting point, but
that also hung things.

What can I do to recover my files?  Is there something else I can use to
dd_rescue the partition prior to running "reiserfsck --rebuild-tree"?
Maybe incrementing the byte count by 1K and writing in 1K of 0's?  Or
another invocation that would get it to read the data?

Or something else that would get the data back?

Also, if anyone has any advice on *things to avoid* that might potentially
lower the probability of data recovery, I'd appreciate it.  I've been very
cautious in what I do so that I don't exacerbate the problem. Thanks.

Bruce

======== reiserfsck output

reiserfsck 3.6.11 (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/hdf8
Will put log info to 'check.log'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):###########
reiserfsck --check started at Fri Jun 11 00:15:18 2004
###########
Replaying journal..
0 transactions replayed

The problem has occurred looks like a hardware problem.
If you have bad blocks, we advise you to get a new hard
drive, because once you get one bad block that the disk
drive internals cannot hide from your sight, the chances
of getting more are generally said to become much higher
(precise statistics are unknown to us), and this disk drive
is probably not expensive enough for you to risk your time
and data on it. If you don't want to follow that advice,
then if you have just a few bad blocks, try writing to the
bad blocks and see if the drive remaps the bad blocks (that
means it takes a block it has in reserve and allocates it
for use for requests of that block number).  If it cannot
remap the block, this could be quite bad, as it may mean
that so many blocks have gone bad that none remain in 
reserve to allocate.

bread: Cannot read the block (4161536): (Input/output error).


******************************************************
* Warning: The dma on your hard drive is turned off. *
* This may really slow down the fsck process.        *
******************************************************


^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: a hosed reiserfs
@ 2004-07-06 16:25 Burnes, James
  2004-07-06 19:05 ` Hans Reiser
  0 siblings, 1 reply; 26+ messages in thread
From: Burnes, James @ 2004-07-06 16:25 UTC (permalink / raw)
  To: Hans Reiser, Bruce Israel
  Cc: reiserfs-list, Vitaly Fertman, Alexander Lyamin aka FLX

Speaking of which.  Does ReiserFS receive funding from the Linux Fund?
(The MasterCard which sends a percentage of all of your MC transactions
to open source projects?)



jim burnes
security engineer
great-west, denver
 

> -----Original Message-----
> From: Hans Reiser [mailto:reiser@namesys.com]
> Sent: Sunday, July 04, 2004 4:57 PM
> To: Bruce Israel
> Cc: reiserfs-list@namesys.com; Vitaly Fertman; Alexander Lyamin aka
FLX
> Subject: Re: a hosed reiserfs
> 
> Bruce Israel wrote:
> 
> >On Mon, Jun 28, 2004 at 10:46:05AM -0700, Hans Reiser wrote:
> >
> >
> >>www.namesys.com/support.html takes credit cards.  Thanks for being
our
> >>customer.
> >>


^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: a hosed reiserfs
@ 2004-07-06 22:40 Burnes, James
  2004-07-07  5:54 ` mjt
  2004-07-07  6:57 ` Hans Reiser
  0 siblings, 2 replies; 26+ messages in thread
From: Burnes, James @ 2004-07-06 22:40 UTC (permalink / raw)
  To: redeeman, Reiserfs Mailinglist

For some reason I haven't received this reply, except through the
forward.

I would assume there is some money in there.  They do seem to fund
various opensource activities.

Maybe filling out an app for grant would be good.  Is there an available
non-profit wrapper around Reiser4?  There must be some sort of shell for
the DARPA funding to have happened.

Thx,

jim burnes
security engineer
great-west, denver
 

> -----Original Message-----
> From: Redeeman [mailto:redeeman@metanurb.dk]
> Sent: Tuesday, July 06, 2004 4:23 PM
> To: Reiserfs Mailinglist
> Subject: Re: a hosed reiserfs
> 
> /me smells a repacker/resizer coming along
> On Tue, 2004-07-06 at 12:05 -0700, Hans Reiser wrote:
> > Burnes, James wrote:
> >
> > >Speaking of which.  Does ReiserFS receive funding from the Linux
Fund?
> > >(The MasterCard which sends a percentage of all of your MC
transactions
> > >to open source projects?)
> > >
> > >
> > No we don't, is there real money in the Linux Fund?
> >
> > >
> > >
> > >jim burnes
> > >security engineer
> > >great-west, denver
> > >
> > >
> > >
> > >
> > >>-----Original Message-----
> > >>From: Hans Reiser [mailto:reiser@namesys.com]
> > >>Sent: Sunday, July 04, 2004 4:57 PM
> > >>To: Bruce Israel
> > >>Cc: reiserfs-list@namesys.com; Vitaly Fertman; Alexander Lyamin
aka
> > >>
> > >>
> > >FLX
> > >
> > >
> > >>Subject: Re: a hosed reiserfs
> > >>
> > >>Bruce Israel wrote:
> > >>
> > >>
> > >>
> > >>>On Mon, Jun 28, 2004 at 10:46:05AM -0700, Hans Reiser wrote:
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>>www.namesys.com/support.html takes credit cards.  Thanks for
being
> > >>>>
> > >>>>
> > >our
> > >
> > >
> > >>>>customer.
> > >>>>
> > >>>>
> > >>>>
> > >
> > >
> > >
> > >
> > >
> >
> >
> --
> Redeeman <redeeman@metanurb.dk>


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2004-07-08 19:56 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-25 15:52 a hosed reiserfs Bruce Israel
2004-06-25 16:06 ` Vitaly Fertman
2004-06-25 16:54   ` Hans Reiser
2004-06-25 18:45     ` Bruce Israel
2004-06-28 17:46       ` Hans Reiser
2004-07-04 16:20         ` Bruce Israel
2004-07-04 22:56           ` Hans Reiser
2004-07-06 23:17           ` Philip Miller
2004-06-25 19:13   ` Bruce Israel
2004-06-25 16:48 ` Dieter Nützel
  -- strict thread matches above, loose matches on Subject: below --
2004-07-06 16:25 Burnes, James
2004-07-06 19:05 ` Hans Reiser
2004-07-06 22:23   ` Redeeman
2004-07-06 22:40 Burnes, James
2004-07-07  5:54 ` mjt
2004-07-07  7:08   ` Hans Reiser
2004-07-07  7:54     ` mjt
2004-07-08  8:13       ` Hans Reiser
2004-07-08 17:13         ` Philip Miller
2004-07-08 17:29           ` mjt
2004-07-08 19:56             ` Hans Reiser
2004-07-08 19:54           ` Hans Reiser
2004-07-07  9:55   ` Philippe Gramoullé
2004-07-07 19:18     ` Hans Reiser
2004-07-07 19:34       ` mjt
2004-07-07  6:57 ` Hans Reiser

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.