Re: reiserfs4

Matthias Schniedermeyer
2003-08-07T14:23:56Z

On Thu, Aug 07, 2003 at 03:21:11PM +0200, Tomas Szepe wrote:
> > [green@namesys.com]
> >
> > > >Why do people ever want a "converter"?
> > > That's been discussed before.
> > > Because people don't have the resources (hard disk space, tape drives,
> > > money) to backup their data, and might still be interested in testing a
> > > new filesystem. They might be willing to take a risk with the new fs
> > > and converter. Amazing as it may sound, people do that. I am such a
> > > tester, and I'd find a converter to be a useful tool. But since the
> > > previous discussion on the subject concluded it'd be really hard to
> > > impossible to write one, I guess I'll have to settle for new hard drive(s).
> >
> > This is no longer true.
> > There is sort of "universal" fs convertor for linux that can convert almost
> > any fs to almost any other fs.
> > The only requirement seems to be that both fs types should have read/write support in Linux.
> > http://tzukanov.narod.ru/convertfs/
>
> I'm afraid I cannot recommend using this tool.
>
> A test conversion from reiserfs to ext3 (inside a vmware machine)
> screwed up the data real horrorshow: directory structure seems
> ok but file contents are apparently shifted.

That answers the question that poped up in my mind.

"How does the tool know where the blocks are, and in which order it can
'move' then without corrupting the data.(*)

Seems it doesn't know it.

But it is possibel(*2) to do what the programm wants to do, you only
have to find out the order in which you have to copy the blocks to
prevent garbage. That's all the magic.

*: I mean the point where it copies the data from the sparse-file to the
block-device.

*2: All you (theoretically) need is 1 free block, or you go over
temp-space(e.g. memory) somewhere else.

Bis denn

--
Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated,
cryptic, powerful, unforgiving, dangerous.