All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: what data resides on a given block
  2002-06-05 13:58 what data resides on a given block Newsmail
@ 2002-06-05 13:06 ` Oleg Drokin
  2002-06-05 15:04   ` Newsmail
  0 siblings, 1 reply; 4+ messages in thread
From: Oleg Drokin @ 2002-06-05 13:06 UTC (permalink / raw)
  To: Newsmail; +Cc: reiserfs-list

Hello!

   If you want to look at the contents, you can extract the content into 
   a file with dd and then view it.
   If you want to know if the block represents some FS metadata,
   you can use debugreiserfs -1 blocknumber 
   and it will print the content of metadata block (if it will recognise
   block contents as metadata)

   This only applies to reiserfs, of course.

Bye,
    Oleg
On Wed, Jun 05, 2002 at 02:58:20PM +0100, Newsmail wrote:
> I would like to know, if I know the blocknumber, is there any way to see 
> what data I have on it?
> greg
> 
> 

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

* what data resides on a given block
@ 2002-06-05 13:58 Newsmail
  2002-06-05 13:06 ` Oleg Drokin
  0 siblings, 1 reply; 4+ messages in thread
From: Newsmail @ 2002-06-05 13:58 UTC (permalink / raw)
  To: reiserfs-list

I would like to know, if I know the blocknumber, is there any way to see 
what data I have on it?
greg



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

* Re: what data resides on a given block
  2002-06-05 15:04   ` Newsmail
@ 2002-06-05 14:18     ` Oleg Drokin
  0 siblings, 0 replies; 4+ messages in thread
From: Oleg Drokin @ 2002-06-05 14:18 UTC (permalink / raw)
  To: Newsmail; +Cc: reiserfs-list

Hello!

On Wed, Jun 05, 2002 at 04:04:35PM +0100, Newsmail wrote:

> actually the exemple tells me to make a new reiserfs filesystem, then make 
> whatever file I want, and 'assign those bad blocks to that file'. Actually 
> I dont have the possibility to reformat my drive, and I have some files 
> residings on the bad blocks. I would like to know what will happen if I use 
> the add-bad-block program on my filesystem where those bad blocks are 
> occupied by an already existing file. actually I'M aware of some files that 
> are on those bad blocks, but I'm sure there are others that I dont know 
> about. so if I use the add-bad-block program, will this work just fine, and 
> will the bad blocks be deactived 'forever' or it will just wont work at 
> all, for exemple when I try to delete afterwards a file that contained 
> those blocks before. sorry if I have a bad english,

No, it does not work if you have a file over the badblocks.
So you need to delete files taht contains badblocks before using add-bad-block
program.

BTW, there is some work is going on to have more mature badblocks supports for
reiserfs.

Bye,
    Oleg

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

* Re: what data resides on a given block
  2002-06-05 13:06 ` Oleg Drokin
@ 2002-06-05 15:04   ` Newsmail
  2002-06-05 14:18     ` Oleg Drokin
  0 siblings, 1 reply; 4+ messages in thread
From: Newsmail @ 2002-06-05 15:04 UTC (permalink / raw)
  To: reiserfs-list

thx Oleg for your fast answer, I have another question too concerning this: 
actually I used badblocks as described on the reiserfs page. so now I know 
which blocks are bad, and I would like to use the utility add-bad-block. 
actually the exemple tells me to make a new reiserfs filesystem, then make 
whatever file I want, and 'assign those bad blocks to that file'. Actually 
I dont have the possibility to reformat my drive, and I have some files 
residings on the bad blocks. I would like to know what will happen if I use 
the add-bad-block program on my filesystem where those bad blocks are 
occupied by an already existing file. actually I'M aware of some files that 
are on those bad blocks, but I'm sure there are others that I dont know 
about. so if I use the add-bad-block program, will this work just fine, and 
will the bad blocks be deactived 'forever' or it will just wont work at 
all, for exemple when I try to delete afterwards a file that contained 
those blocks before. sorry if I have a bad english,
regards,
greg

ps: is there a possibility yet to set a different block size then the 
default, or this will only be implemented in reiser4.
At 14:06 2002. 06. 05.­, you wrote:
>Hello!
>
>    If you want to look at the contents, you can extract the content into
>    a file with dd and then view it.
>    If you want to know if the block represents some FS metadata,
>    you can use debugreiserfs -1 blocknumber
>    and it will print the content of metadata block (if it will recognise
>    block contents as metadata)
>
>    This only applies to reiserfs, of course.
>
>Bye,
>     Oleg
>On Wed, Jun 05, 2002 at 02:58:20PM +0100, Newsmail wrote:
> > I would like to know, if I know the blocknumber, is there any way to see
> > what data I have on it?
> > greg
> >
> >



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

end of thread, other threads:[~2002-06-05 15:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-05 13:58 what data resides on a given block Newsmail
2002-06-05 13:06 ` Oleg Drokin
2002-06-05 15:04   ` Newsmail
2002-06-05 14:18     ` Oleg Drokin

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.