Hello

On Mon, 2005-04-18 at 17:11, Mahmoud Al Gammal wrote:
> This actually helped..thanks a ot.
> But wouldn't it be useful to keep replicas of the superblock?
> IIRC, ext3 does that.
> 

reiserfs is frozen more or less. It gets bug fixes only.
reiser4 has something like copies of super block.

> Vladimir Saveliev writes:
> 
> > Hello
> > 
> > On Mon, 2005-04-18 at 13:08, Vladimir Saveliev wrote:
> >> Hello
> >> 
> >> On Sat, 2005-04-16 at 23:13, Mahmoud Al Gammal wrote:
> >> > Hello,
> >> > I'm using ReiserFS 3.6.19 on a partition whose superblock has
> >> > been swept away due to a sudden attack of bad sectors. I'm
> >> > wondering if ReiserFS keeps backup copies of the superblock...If
> >> > yes, then where?
> >> 
> >> no, it does not
> >> 
> >> >  Or is there some other means to retrieve the
> >> > data?
> >> > 
> >> 
> >> copy partition with bad blocks to a good one with dd_rescue
> >> 
> >> reiserfsck --build-sb /dev/good-partition (use default answers if you
> >> did not do anything specific with that filesystem like converting 3.5 to
> >> 3.6, journal relocation, etc)
> > 
> > There can be a problem with number of blocks. reiserfsck --build-sb will
> > ask for that, I think.
> > You should be able to calculate number of blocks in broken filesystem
> > with mkreiserfs /dev/bad-partition. It will report you something like
> > Count of blocks on the device: 4096560 
> > among other lines and ask to continue.
> > DO NOT LET IT TO CONTINUE. Use this block number in answers to
> > reiserfsck --build-sb.
> > 
> >> reiserfsck --rebuild-tree /dev/good-partition
> >> 
> >> If this helps you - you may take a look at namesys.com/support.html
> >> 
> >> 
> > 
> 
> 

Reply via email to