All of lore.kernel.org
 help / color / mirror / Atom feed
* rebuild-tree working for more then 3 days- what to do?
@ 2005-01-07  8:50 Shoshannah Forbes
  2005-01-07  9:02 ` Shoshannah Forbes
  2005-01-07 10:20 ` Vladimir Saveliev
  0 siblings, 2 replies; 14+ messages in thread
From: Shoshannah Forbes @ 2005-01-07  8:50 UTC (permalink / raw)
  To: reiserfs-list

Hi all. Newbie here :-)
Here is my problem:
I have a Linux gentoo box with a 60GB HD using ReiserFS 3.6. Last 
Sunday, I attempted to do an emerge sync (which is HD intensive), and 
my system froze. After the 2nd time my system froze doing an emerge 
sync, I booted without X and attempted again. This time, just before 
the system froze, I got a panic error about trouble writing to the HD 
(I didn't write it down, so I don't have the exact error message).

So I booted from a DSL CD which I had, and ran reiserfsck, whic 
complained about a few problems. So I ran reiserfsck --fix-fixable, 
which told me that there are problems that it will need to run 
--rebuild-tree in order to fix.

I googled a bit, and as DSL has an old version of the reiserFS tools, I 
went ahead, and using another machine downloaded the latest version of 
knoppix, booted from it, and ran reiserfsck --rebuild-tree. I switched 
to another desktop, but when I attempted to switch back to the original 
one to see the progress, X didn't let me, so I left the reiserfsck 
running, thinking that I would return to it when it will finish.
After 3 days, the HD stopped making noise, but the HD light (and the 
cdrom light, where knoppix is running from) are still on. The Machine 
does answer pings, but still doesn't let me switch to the other 
desktop, and CTRL+ALT+Fx doesn't switch out of X into a virtual 
terminal.

So, I am wondering- what to do now? How to minimize (and hopefully fix) 
any damage to that disk?

Thanks!

---
Shoshannah Forbes
http://www.xslf.com


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

* Re: rebuild-tree working for more then 3 days- what to do?
  2005-01-07  8:50 rebuild-tree working for more then 3 days- what to do? Shoshannah Forbes
@ 2005-01-07  9:02 ` Shoshannah Forbes
  2005-01-07 10:20 ` Vladimir Saveliev
  1 sibling, 0 replies; 14+ messages in thread
From: Shoshannah Forbes @ 2005-01-07  9:02 UTC (permalink / raw)
  To: Shoshannah Forbes; +Cc: reiserfs-list

correction:
CTRL+ALTF2 did respond- after a few minutes. It is scrolling messages 
by way to fast to read.

On 07/01/2005, at 10:50, Shoshannah Forbes wrote:

> Hi all. Newbie here :-)
> Here is my problem:
> I have a Linux gentoo box with a 60GB HD using ReiserFS 3.6. Last 
> Sunday, I attempted to do an emerge sync (which is HD intensive), and 
> my system froze. After the 2nd time my system froze doing an emerge 
> sync, I booted without X and attempted again. This time, just before 
> the system froze, I got a panic error about trouble writing to the HD 
> (I didn't write it down, so I don't have the exact error message).
>
> So I booted from a DSL CD which I had, and ran reiserfsck, whic 
> complained about a few problems. So I ran reiserfsck --fix-fixable, 
> which told me that there are problems that it will need to run 
> --rebuild-tree in order to fix.
>
> I googled a bit, and as DSL has an old version of the reiserFS tools, 
> I went ahead, and using another machine downloaded the latest version 
> of knoppix, booted from it, and ran reiserfsck --rebuild-tree. I 
> switched to another desktop, but when I attempted to switch back to 
> the original one to see the progress, X didn't let me, so I left the 
> reiserfsck running, thinking that I would return to it when it will 
> finish.
> After 3 days, the HD stopped making noise, but the HD light (and the 
> cdrom light, where knoppix is running from) are still on. The Machine 
> does answer pings, but still doesn't let me switch to the other 
> desktop, and CTRL+ALT+Fx doesn't switch out of X into a virtual 
> terminal.
>
> So, I am wondering- what to do now? How to minimize (and hopefully 
> fix) any damage to that disk?
>
> Thanks!
>
> ---
> Shoshannah Forbes
> http://www.xslf.com
>
---
Shoshannah Forbes
http://www.xslf.com


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

* Re: rebuild-tree working for more then 3 days- what to do?
  2005-01-07  8:50 rebuild-tree working for more then 3 days- what to do? Shoshannah Forbes
  2005-01-07  9:02 ` Shoshannah Forbes
@ 2005-01-07 10:20 ` Vladimir Saveliev
  2005-01-07 12:11   ` Shoshannah Forbes
  1 sibling, 1 reply; 14+ messages in thread
From: Vladimir Saveliev @ 2005-01-07 10:20 UTC (permalink / raw)
  To: Shoshannah Forbes; +Cc: reiserfs-list

Hello

On Fri, 2005-01-07 at 11:50, Shoshannah Forbes wrote:
> Hi all. Newbie here :-)
> Here is my problem:
> I have a Linux gentoo box with a 60GB HD using ReiserFS 3.6. Last 
> Sunday, I attempted to do an emerge sync (which is HD intensive), and 
> my system froze. After the 2nd time my system froze doing an emerge 
> sync, I booted without X and attempted again. This time, just before 
> the system froze, I got a panic error about trouble writing to the HD 
> (I didn't write it down, so I don't have the exact error message).
> 
> So I booted from a DSL CD which I had, and ran reiserfsck, whic 
> complained about a few problems. So I ran reiserfsck --fix-fixable, 
> which told me that there are problems that it will need to run 
> --rebuild-tree in order to fix.
> 
> I googled a bit, and as DSL has an old version of the reiserFS tools, I 
> went ahead, and using another machine downloaded the latest version of 
> knoppix, booted from it, and ran reiserfsck --rebuild-tree. I switched 
> to another desktop, but when I attempted to switch back to the original 
> one to see the progress, X didn't let me, so I left the reiserfsck 
> running, thinking that I would return to it when it will finish.
> After 3 days, the HD stopped making noise, but the HD light (and the 
> cdrom light, where knoppix is running from) are still on. 

Hmm, 3 days for 60gb? I believe something is wrong there.

I would move the problem hard disk to mashine which has (or can
download) latest reiserfsck
(http://thebsh.namesys.com/pub/reiserfsprogs/reiserfsprogs-3.6.19.tar.gz),
make sure that it performs I/O of that disk decently (hdparm -t
/dev/problem-disk) and run reiserfsck --rebuild-tree for broken
filesystem there.

> The Machine 
> does answer pings, but still doesn't let me switch to the other 
> desktop, and CTRL+ALT+Fx doesn't switch out of X into a virtual 
> terminal.
> 
> So, I am wondering- what to do now? How to minimize (and hopefully fix) 
> any damage to that disk?
> 
> Thanks!
> 
> ---
> Shoshannah Forbes
> http://www.xslf.com
> 
> 


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

* Re: rebuild-tree working for more then 3 days- what to do?
  2005-01-07 10:20 ` Vladimir Saveliev
@ 2005-01-07 12:11   ` Shoshannah Forbes
  2005-01-07 12:33     ` Vladimir Saveliev
  0 siblings, 1 reply; 14+ messages in thread
From: Shoshannah Forbes @ 2005-01-07 12:11 UTC (permalink / raw)
  To: Vladimir Saveliev; +Cc: reiserfs-list

On 07/01/2005, at 12:20, Vladimir Saveliev wrote:

> I would move the problem hard disk to mashine which has (or can
> download) latest reiserfsck
> (http://thebsh.namesys.com/pub/reiserfsprogs/reiserfsprogs 
> -3.6.19.tar.gz),
> make sure that it performs I/O of that disk decently (hdparm -t
> /dev/problem-disk) and run reiserfsck --rebuild-tree for broken
> filesystem there.

Thanks for the fast reply.
The only other machine I have here is a Mac running OSX. Would it even  
be possible to do this from a Mac?
If not, can anything be done from a LiveCD?
---
Shoshannah Forbes
http://www.xslf.com


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

* Re: rebuild-tree working for more then 3 days- what to do?
  2005-01-07 12:11   ` Shoshannah Forbes
@ 2005-01-07 12:33     ` Vladimir Saveliev
  2005-01-07 12:43       ` Spam
  2005-01-07 12:44       ` Shoshannah Forbes
  0 siblings, 2 replies; 14+ messages in thread
From: Vladimir Saveliev @ 2005-01-07 12:33 UTC (permalink / raw)
  To: Shoshannah Forbes; +Cc: reiserfs-list

Hello

On Fri, 2005-01-07 at 15:11, Shoshannah Forbes wrote:
> On 07/01/2005, at 12:20, Vladimir Saveliev wrote:
> 
> > I would move the problem hard disk to mashine which has (or can
> > download) latest reiserfsck
> > (http://thebsh.namesys.com/pub/reiserfsprogs/reiserfsprogs
> > -3.6.19.tar.gz),
> > make sure that it performs I/O of that disk decently (hdparm -t
> > /dev/problem-disk) and run reiserfsck --rebuild-tree for broken
> > filesystem there.
> 
> Thanks for the fast reply.
> The only other machine I have here is a Mac running OSX. Would it even  
> be possible to do this from a Mac?
> If not, can anything be done from a LiveCD?

When you boot off liveCD - do you have a network and place where
reiserfsprogs can be put and compiled besides that 60gb device with
broken reiserfs?
Then boot liveCD, download reiserfsprogs and fsck.
 


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

* Re: rebuild-tree working for more then 3 days- what to do?
  2005-01-07 12:33     ` Vladimir Saveliev
@ 2005-01-07 12:43       ` Spam
  2005-01-07 13:03         ` Shoshannah Forbes
  2005-01-07 12:44       ` Shoshannah Forbes
  1 sibling, 1 reply; 14+ messages in thread
From: Spam @ 2005-01-07 12:43 UTC (permalink / raw)
  To: reiserfs-list


> Hello

> On Fri, 2005-01-07 at 15:11, Shoshannah Forbes wrote:
>> On 07/01/2005, at 12:20, Vladimir Saveliev wrote:
>> 
>> > I would move the problem hard disk to mashine which has (or can
>> > download) latest reiserfsck
>> > (http://thebsh.namesys.com/pub/reiserfsprogs/reiserfsprogs
>> > -3.6.19.tar.gz),
>> > make sure that it performs I/O of that disk decently (hdparm -t
>> > /dev/problem-disk) and run reiserfsck --rebuild-tree for broken
>> > filesystem there.
>> 
>> Thanks for the fast reply.
>> The only other machine I have here is a Mac running OSX. Would it even
>> be possible to do this from a Mac?
>> If not, can anything be done from a LiveCD?

> When you boot off liveCD - do you have a network and place where
> reiserfsprogs can be put and compiled besides that 60gb device with
> broken reiserfs?
> Then boot liveCD, download reiserfsprogs and fsck.

  There are liveCD's with reiser4 and reiser4progs. For example: http://lxnay.dnsalias.org/livecd-iso/index.php

  ~S


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

* Re: rebuild-tree working for more then 3 days- what to do?
  2005-01-07 12:33     ` Vladimir Saveliev
  2005-01-07 12:43       ` Spam
@ 2005-01-07 12:44       ` Shoshannah Forbes
  2005-01-07 13:03         ` Vladimir Saveliev
  1 sibling, 1 reply; 14+ messages in thread
From: Shoshannah Forbes @ 2005-01-07 12:44 UTC (permalink / raw)
  To: Vladimir Saveliev; +Cc: reiserfs-list


On 07/01/2005, at 14:33, Vladimir Saveliev wrote:

> When you boot off liveCD - do you have a network

Yes, I have a Network

>  and place where
> reiserfsprogs can be put and compiled besides that 60gb device with
> broken reiserfs?

Not locally (that machine has only one HD), but I can mount a share on 
the Mac via the network.
I guess I'll try that.

> Then boot liveCD, download reiserfsprogs and fsck.
---
Shoshannah Forbes
http://www.xslf.com


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

* RE: rebuild-tree working for more then 3 days- what to do?
@ 2005-01-07 12:57 Yiannis Mavroukakis
  0 siblings, 0 replies; 14+ messages in thread
From: Yiannis Mavroukakis @ 2005-01-07 12:57 UTC (permalink / raw)
  To: reiserfs-list

 
Alternatively, try the following. Go to slackware.com Grab a reiser3
enabled boot image and make a bootdisk.
If memory serves me right, this is the one you want 
ftp://ftp.mirror.ac.uk/sites/ftp.slackware.com/slackware-10.0/kernels/ba
reacpi.i

Then, go into
ftp://ftp.mirror.ac.uk/sites/ftp.slackware.com/slackware-10.0/rootdisks/
and grab rescue.dsk and make a rootdisk. You could go two ways about it
from now on
If there is space on the rootdisk, mount it and copy the reiserfsprogs
binaries into it.
If not, use a third disk to hold the binaries.

Boot off the bootdisk, slam the rescue rootdisk in when requested, and
best of luck :D

Yiannis.
-----Original Message-----
From: Shoshannah Forbes [mailto:xslf@xslf.com] 
Sent: 07 January 2005 12:44
To: Vladimir Saveliev
Cc: reiserfs-list@namesys.com
Subject: Re: rebuild-tree working for more then 3 days- what to do?


On 07/01/2005, at 14:33, Vladimir Saveliev wrote:

> When you boot off liveCD - do you have a network

Yes, I have a Network

>  and place where
> reiserfsprogs can be put and compiled besides that 60gb device with 
> broken reiserfs?

Not locally (that machine has only one HD), but I can mount a share on
the Mac via the network.
I guess I'll try that.

> Then boot liveCD, download reiserfsprogs and fsck.
---
Shoshannah Forbes
http://www.xslf.com


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.

Note:__________________________________________________________________
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.

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

* Re: rebuild-tree working for more then 3 days- what to do?
  2005-01-07 12:44       ` Shoshannah Forbes
@ 2005-01-07 13:03         ` Vladimir Saveliev
  0 siblings, 0 replies; 14+ messages in thread
From: Vladimir Saveliev @ 2005-01-07 13:03 UTC (permalink / raw)
  To: Shoshannah Forbes; +Cc: reiserfs-list

On Fri, 2005-01-07 at 15:44, Shoshannah Forbes wrote:
> On 07/01/2005, at 14:33, Vladimir Saveliev wrote:
> 
> > When you boot off liveCD - do you have a network
> 
> Yes, I have a Network
> 
> >  and place where
> > reiserfsprogs can be put and compiled besides that 60gb device with
> > broken reiserfs?
> 
> Not locally (that machine has only one HD), but I can mount a share on 
> the Mac via the network.
> I guess I'll try that.
> 

When you boot of liveCD root filesystem gets created in memory. You
should able to put reiserfsck there

> > Then boot liveCD, download reiserfsprogs and fsck.
> ---
> Shoshannah Forbes
> http://www.xslf.com
> 
> 


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

* Re: rebuild-tree working for more then 3 days- what to do?
  2005-01-07 12:43       ` Spam
@ 2005-01-07 13:03         ` Shoshannah Forbes
  2005-01-07 13:13           ` Vladimir Saveliev
  0 siblings, 1 reply; 14+ messages in thread
From: Shoshannah Forbes @ 2005-01-07 13:03 UTC (permalink / raw)
  To: Spam; +Cc: reiserfs-list


On 07/01/2005, at 14:43, Spam wrote:

>   There are liveCD's with reiser4 and reiser4progs. For example: 
> http://lxnay.dnsalias.org/livecd-iso/index.php

As the system there is Gentoo, and this LiveCD is gentoo, this looks 
like my best bet.
Well, heading for the download now. See you in a few days (hopefully 
after rebuild-tree is finished)...
---
Shoshannah Forbes
http://www.xslf.com


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

* Re: rebuild-tree working for more then 3 days- what to do?
  2005-01-07 13:03         ` Shoshannah Forbes
@ 2005-01-07 13:13           ` Vladimir Saveliev
  2005-01-07 22:29             ` Shoshannah Forbes
  0 siblings, 1 reply; 14+ messages in thread
From: Vladimir Saveliev @ 2005-01-07 13:13 UTC (permalink / raw)
  To: Shoshannah Forbes; +Cc: Spam, reiserfs-list

Hello

On Fri, 2005-01-07 at 16:03, Shoshannah Forbes wrote:
> On 07/01/2005, at 14:43, Spam wrote:
> 
> >   There are liveCD's with reiser4 and reiser4progs. For example: 
> > http://lxnay.dnsalias.org/livecd-iso/index.php
> 
Spam is about reiser4!! progs. Whereas you need reiserfsprogs.

> As the system there is Gentoo, and this LiveCD is gentoo, this looks 
> like my best bet.
> Well, heading for the download now. See you in a few days (hopefully 
> after rebuild-tree is finished)...
> ---

reiserfsck --rebuild-tree 's speed depends of file set substantially.
The worst case - a lots (millons) of small files.
But even in that case on average today hardware it should not take more
than 4-5 hours for 60gb filesystem.
Please inform us how does it progress. Pass 0 is the longest usually.

> Shoshannah Forbes
> http://www.xslf.com
> 
> 


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

* Re: rebuild-tree working for more then 3 days- what to do?
  2005-01-07 13:13           ` Vladimir Saveliev
@ 2005-01-07 22:29             ` Shoshannah Forbes
  2005-01-07 23:35               ` Chris Cox
  0 siblings, 1 reply; 14+ messages in thread
From: Shoshannah Forbes @ 2005-01-07 22:29 UTC (permalink / raw)
  To: Vladimir Saveliev; +Cc: spam, reiserfs-list

On Fri, 07 Jan 2005 16:13:27 +0300
"Vladimir Saveliev" <vs@namesys.com> wrote:

> reiserfsck --rebuild-tree 's speed depends of file set substantially.
> The worst case - a lots (millons) of small files.
> But even in that case on average today hardware it should not take more
> than 4-5 hours for 60gb filesystem.
> Please inform us how does it progress. Pass 0 is the longest usually.

It ran, fixed some errors, and now I have my system back (plus a bunch of portage files in lost+found). Yippy!
Now I should go a buy that DVD-R I was thinking of getting, and make sure I have proper backups :-)

Thanks all!
--
Shoshannah Forbes
http://www.xslf.com

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

* Re: rebuild-tree working for more then 3 days- what to do?
  2005-01-07 22:29             ` Shoshannah Forbes
@ 2005-01-07 23:35               ` Chris Cox
  2005-01-08  4:46                 ` Shoshannah Forbes
  0 siblings, 1 reply; 14+ messages in thread
From: Chris Cox @ 2005-01-07 23:35 UTC (permalink / raw)
  To: reiserfs-list

Shoshannah Forbes wrote:
> On Fri, 07 Jan 2005 16:13:27 +0300
> "Vladimir Saveliev" <vs@namesys.com> wrote:
> 
> 
>>reiserfsck --rebuild-tree 's speed depends of file set substantially.
>>The worst case - a lots (millons) of small files.
>>But even in that case on average today hardware it should not take more
>>than 4-5 hours for 60gb filesystem.
>>Please inform us how does it progress. Pass 0 is the longest usually.
> 
> 
> It ran, fixed some errors, and now I have my system back (plus a bunch of portage files in lost+found). Yippy!
> Now I should go a buy that DVD-R I was thinking of getting, and make sure I have proper backups :-)
> 

Not sure about this.. but I have observed that some systems trash resierfs3
pretty badly, while others do not.  The problem seems a bit worse with LVM.
For example a Compaq n610c laptop will trash reiserfs3 on hard shutdown or crash
about 1 out of every 3 times (with entire directory trees going to lost+found
even though no writes involved the files there).  Likewise for my dual
AMD using the Tyan S2468UGN mb.  But my laptop, Toshiba 3000-s504 is fine.
And my dual Opteron (Sun w2100z) is fine.  These can be crashed, powered off
without everything going into lost+found.  I suspect something is up.. and
it may be chipset related (??).

Can't explain it.... just what I've observed.



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

* Re: rebuild-tree working for more then 3 days- what to do?
  2005-01-07 23:35               ` Chris Cox
@ 2005-01-08  4:46                 ` Shoshannah Forbes
  0 siblings, 0 replies; 14+ messages in thread
From: Shoshannah Forbes @ 2005-01-08  4:46 UTC (permalink / raw)
  To: Chris Cox; +Cc: reiserfs-list


On 08/01/2005, at 01:35, Chris Cox wrote:
> Not sure about this.. but I have observed that some systems trash 
> resierfs3
> pretty badly, while others do not.  The problem seems a bit worse with 
> LVM.
> For example a Compaq n610c laptop will trash reiserfs3 on hard 
> shutdown or crash
> about 1 out of every 3 times (with entire directory trees going to 
> lost+found
> even though no writes involved the files there).  Likewise for my dual
> AMD using the Tyan S2468UGN mb.  But my laptop, Toshiba 3000-s504 is 
> fine.
> And my dual Opteron (Sun w2100z) is fine.  These can be crashed, 
> powered off
> without everything going into lost+found.  I suspect something is up.. 
> and
> it may be chipset related (??).

FWIW, my machine is a cheap AMD duron with a SiS 740 chipset.
---
Shoshannah Forbes
http://www.xslf.com


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

end of thread, other threads:[~2005-01-08  4:46 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-07  8:50 rebuild-tree working for more then 3 days- what to do? Shoshannah Forbes
2005-01-07  9:02 ` Shoshannah Forbes
2005-01-07 10:20 ` Vladimir Saveliev
2005-01-07 12:11   ` Shoshannah Forbes
2005-01-07 12:33     ` Vladimir Saveliev
2005-01-07 12:43       ` Spam
2005-01-07 13:03         ` Shoshannah Forbes
2005-01-07 13:13           ` Vladimir Saveliev
2005-01-07 22:29             ` Shoshannah Forbes
2005-01-07 23:35               ` Chris Cox
2005-01-08  4:46                 ` Shoshannah Forbes
2005-01-07 12:44       ` Shoshannah Forbes
2005-01-07 13:03         ` Vladimir Saveliev
  -- strict thread matches above, loose matches on Subject: below --
2005-01-07 12:57 Yiannis Mavroukakis

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.